fix: improve condensed workflow hover interaction (#3746)

This commit is contained in:
Carlos Florêncio
2026-09-17 10:43:42 +01:00
committed by GitHub
parent b1b8857146
commit 580665318a
10 changed files with 300 additions and 53 deletions
@@ -192,3 +192,14 @@ Final post-remediation verification passed on 2026-09-15:
`pnpm run i18n:check`, and `pnpm run i18n:ratchet`.
- Desktop workflow move-preview E2E: 2 tests passed.
- Mobile workflow move-preview E2E: 1 test passed.
## Pull request follow-up verification
The condensed disclosure review follow-up preserves the visual step-label hierarchy,
keeps keyboard focus order aligned with the visible actions, and narrows the compact
preview props so unsupported styling props cannot be silently ignored.
Verification passed:
- Focused Vitest: `workflow-move-preview.test.tsx` and `workflow-stepper.test.tsx`.
- Changed-file ESLint and `git diff --check`.
+7 -2
View File
@@ -55,8 +55,13 @@ the task idle without a recipient when the destination has no launch turn. The
second line shows the current model or an expected model change and counts
additional settings changes. Use the info button for the session, profile, model,
context reset, source-session disposition, and prompt dispatch information.
The preview sits in a centered footer below the move controls. The next-step
button above chat shows the same footer in its options popover or touch drawer.
In the condensed topbar workflow, each eligible step has a **Move here** button
beside its name. A single line below summarizes the session and model. Expand
the row's chevron for full transition details and one-time move options. Moving
does not require expanding the row. The current step has a highlighted background.
On touch devices, the same controls appear in the bottom drawer.
The full stepper and the next-step button above chat retain the centered preview
footer in their options popover or touch drawer.
Changing the options refreshes that preview.
The preview is advisory. **Move here** checks routing, permissions, WIP, and
current session state again when the move runs. A preview can therefore change