[PR #4942] [MERGED] feat: Agent registration UX flow updates #4993

Closed
opened 2026-03-17 02:28:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4942
Author: @nivedin
Created: 3/27/2025
Status: Merged
Merged: 3/27/2025
Merged by: @jamesgeorge007

Base: nextHead: fix/agent-register-ux-update


📝 Commits (10+)

  • b0c4a30 fix: update agent registration flow
  • 6c1ed45 chore: remove unused variable
  • 983a4ff chore: update i18n text
  • c2af283 fix(agent): prevent registration resurrection
  • 2a8999c chore: remove tippy on register button
  • 36b538d chore: unified state across all components
  • 03283f6 feat(agent): clearer hide/cancel flow
  • 931595d fix(agent): default to registrations on maximize
  • 6bebd7b fix(agent): update registration instructions
  • 1ec461f fix(agent): lingering wip refactor

📊 Changes

7 files changed (+163 additions, -100 deletions)

View changed files

📝 packages/hoppscotch-agent/src-tauri/src/lib.rs (+14 -0)
📝 packages/hoppscotch-agent/src-tauri/src/tray.rs (+20 -1)
📝 packages/hoppscotch-agent/src/App.vue (+45 -15)
📝 packages/hoppscotch-agent/src/pages/otp.vue (+7 -1)
📝 packages/hoppscotch-common/locales/en.json (+5 -3)
📝 packages/hoppscotch-common/src/components/settings/AgentSubtitle.vue (+57 -79)
📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/store.ts (+15 -1)

📄 Description

This PR updates the UX flow for agent registration in the interceptor selection component.

Before

https://github.com/user-attachments/assets/d0821457-de36-4a78-872b-9f52ca9d2fc2

After

https://github.com/user-attachments/assets/ca71c0f4-addc-491f-bb92-27e7df1266d3

  • The checkAgentStatus and initiateRegistration step have been incorporated in a single step.
  • Also added a error toast if a registration is started without completing an existing one

https://github.com/user-attachments/assets/ab0367a6-5b46-40ab-844d-ffec4b1f7445


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4942 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 3/27/2025 **Status:** ✅ Merged **Merged:** 3/27/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `fix/agent-register-ux-update` --- ### 📝 Commits (10+) - [`b0c4a30`](https://github.com/hoppscotch/hoppscotch/commit/b0c4a30c1ce0e67f53a4779a896a3b014e0d2ebb) fix: update agent registration flow - [`6c1ed45`](https://github.com/hoppscotch/hoppscotch/commit/6c1ed453a8bca1022daf427a498e53225eef06c2) chore: remove unused variable - [`983a4ff`](https://github.com/hoppscotch/hoppscotch/commit/983a4ff1123402ef2ec5736629233d409b1cad6a) chore: update i18n text - [`c2af283`](https://github.com/hoppscotch/hoppscotch/commit/c2af2830afef58d3d6cc27e0cbd0e7ade8384411) fix(agent): prevent registration resurrection - [`2a8999c`](https://github.com/hoppscotch/hoppscotch/commit/2a8999ca8a3bf5f04f78b98b5a9db430daaef69c) chore: remove tippy on register button - [`36b538d`](https://github.com/hoppscotch/hoppscotch/commit/36b538d0b1a49de9eb4cf456f5630b50aa4a1e61) chore: unified state across all components - [`03283f6`](https://github.com/hoppscotch/hoppscotch/commit/03283f623ee9c123e19694af32e7b61123cffae4) feat(agent): clearer hide/cancel flow - [`931595d`](https://github.com/hoppscotch/hoppscotch/commit/931595dec0c00ee5f092ad3b8313b256b29ed59b) fix(agent): default to registrations on maximize - [`6bebd7b`](https://github.com/hoppscotch/hoppscotch/commit/6bebd7b2956d7d03dae991749172a2e16c7e2aae) fix(agent): update registration instructions - [`1ec461f`](https://github.com/hoppscotch/hoppscotch/commit/1ec461f443555d5faf4bba23ffc6fb0057785da7) fix(agent): lingering wip refactor ### 📊 Changes **7 files changed** (+163 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-agent/src-tauri/src/lib.rs` (+14 -0) 📝 `packages/hoppscotch-agent/src-tauri/src/tray.rs` (+20 -1) 📝 `packages/hoppscotch-agent/src/App.vue` (+45 -15) 📝 `packages/hoppscotch-agent/src/pages/otp.vue` (+7 -1) 📝 `packages/hoppscotch-common/locales/en.json` (+5 -3) 📝 `packages/hoppscotch-common/src/components/settings/AgentSubtitle.vue` (+57 -79) 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/store.ts` (+15 -1) </details> ### 📄 Description This PR updates the UX flow for agent registration in the interceptor selection component. ### Before https://github.com/user-attachments/assets/d0821457-de36-4a78-872b-9f52ca9d2fc2 ### After https://github.com/user-attachments/assets/ca71c0f4-addc-491f-bb92-27e7df1266d3 - The `checkAgentStatus` and `initiateRegistration` step have been incorporated in a single step. - Also added a error toast if a registration is started without completing an existing one https://github.com/user-attachments/assets/ab0367a6-5b46-40ab-844d-ffec4b1f7445 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:28:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4993
No description provided.