Skip to content

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
vybe merged 1 commit into
devfrom
feature/2900-agent-detail-tab-url
Oct 9, 2026
Merged

vybe merged 1 commit into
devfrom
feature/2900-agent-detail-tab-url

Conversation

@trinity-ability

Copy link
Copy Markdown
Contributor

Description

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

  • Bug fix (non-breaking change that fixes an issue)

Testing

  • I have tested this locally
  • New tests added (if applicable)
  • All existing tests pass
  • Every new test executes the changed path

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

  • My code follows the project's style guidelines
  • I have updated the documentation (if applicable)
  • I have not committed any sensitive data (API keys, credentials, etc.)

🤖 Generated with Claude Code

…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]>

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge-train: batch validated on train/20261009-2301-a (#3500)

@vybe
vybe merged commit c411014 into dev Oct 9, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants