Repository navigation
fix(agent-detail): tabs live in the URL, the help button no longer covers Send, and the channel dialog resolves (#2900, #3446, #3447) - #3473
Merged
Conversation
…r, channel dialog import (#2900, #3446, #3447) #2900 — `?tab=` was read on arrival and never written, so Back left the agent page, a reload fell back to Overview, and a tab could not be linked. The tab ref is now bound to the query by `composables/useTabRoute.js`: a tab change pushes `?tab=` (Back steps through tabs), a Back/Forward step on the page writes the ref, and the normalising writes replace — the fallback off a tab the viewer cannot see, the agent-switch reset, and a bare URL catching up with the tab a KeepAlive-cached view remembered. The two handlers that selected Tasks and then wrote `?execution=` separately now do it in one navigation; two would cancel each other. The #2130 guard is untouched and still decides the late reconcile. The binding adds one writer to the tab — a history step on the same page — and compares a new selection against the write still in flight rather than the stale URL, so a navigation that lands late cannot bounce the user to a tab they left. #3446 — the floating help launcher sat on the Chat composer's Send button. `/agents/:name` names the tab in `meta.hideHelpLauncherOnTabs`; App.vue passes it to the widget as `hide-launcher`. Only the closed launcher stands down, and only on that tab: an open help conversation holds unsent state and survives a click on Chat. #3447 — `ChannelConfigRow` rendered `<ChannelConfigDialog>` without importing it, so Vue warned per row and the channel form rendered inline in the row. The component exists; it is imported. Tests (all mounted; each went red with its fix reverted, then restored byte-identical): - agentDetailTabUrl.mount.spec.js — AgentDetail.vue at HEAD: 7 of 8 red (AC1-AC4, the Overview handlers, both #2130 reconcile cases); fallback as a plain assignment: "replaces the dead link" red; handleOpenTask as two writes: "ONE navigation carrying tab and execution" red. - agentTabRoute.mount.spec.js — in-flight comparison removed: "click A then straight back to the original tab" red (+2); push forced to replace: 4 red. - helpWidgetChatTab.mount.spec.js — route meta removed: 3 of 5 red; widget ignoring `hideLauncher`: 3 of 5 red. - channelConfigRowDialog.mount.spec.js — import removed: 3 of 4 red. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
useTabRoutecomposable binds the agent detail tab to?tab=. A tab selection pushes, normalising writes replace, and the Agent Detail: ?tab= deep-link applies ~10s late on running agents and overrides the user's tab click #2130 restore guard is unchanged.handleOpenTasknow makes one navigation carrying bothtabandexecution./agents/:nameroute declareshideHelpLauncherOnTabs: ['chat']; only the closed launcher hides, so an open help conversation is not dropped.ChannelConfigRow.vueimportsChannelConfigDialog.Part of the UI sweep epic #3471.
Related Issue
Fixes #2900
Fixes #3446
Fixes #3447
Journey Impact
Journey Impact: none: bug fix to existing behaviour found by the UI sweep; no journey promise is added or changed
Type of Change
Testing
Mutation: each fix reverted from a scratch copy and restored byte-identical.
agentDetailTabUrl.mount.spec.js(7 red with AgentDetail.vue at HEAD),agentTabRoute.mount.spec.js(3 red with the in-flight comparison removed, 4 red with push forced to replace),helpWidgetChatTab.mount.spec.js(3 red with the route meta removed),channelConfigRowDialog.mount.spec.js(3 red with the import removed).UI verification: clicked through on a preview frontend over a live local backend at 1440 and 768: tab clicks write
?tab=, Back steps through tabs and stays on the page, reload keeps the tab, a rapid second click does not bounce (#2130 guard), a recent-execution click needs one Back; the help launcher is absent on Chat and present elsewhere, an open help panel survives the switch; the Sharing tab logs zero unresolved-component warnings and Configure opens the modal.Checklist
🤖 Generated with Claude Code