Issue 706
Slide the folder-tab join between tabs when switching (follow-up to #704)
Back to our planNot planned
enhancementfrontendstylinguxpriority: mediumshared-component
What and why
The folder-tab outline (#704, PR #705) joins the selected tab to its panel, but switching tabs jumps: the join point appears at the new tab at once. The owner wants the highlight to travel from the old tab to the new one, so the outline never looks disconnected while it moves. This is the animation follow-up promised in #704.
Acceptance criteria
- Switching tabs slides the connection point (the tab's opening into the panel) from the old tab to the new one, over 200–300 ms, with the outline staying joined throughout.
- With reduced motion, the switch is instant (no sliding).
- With scripting off, nothing changes: every panel shows stacked under its heading.
- Keyboard and screen-reader behaviour is unchanged (Radix Tabs state and ARIA stay the source of truth).
- Tests first (component test for the reduced-motion and no-animation paths); screenshots at the six widths in light and dark; axe passes.
Files likely touched
src/platform/ui/Tabs.client.tsxand its testsdocs/ui/component-set.md(Tabs row)
Must not touch
src/platform/richtext/editorial/FactCard.tsxand the Fact tabs content modelsrc/payload-types.ts, migrations, anything undersrc/modules/
Notes
Shared-component change (src/platform/ui). Native first: check CSS anchor positioning and view-transition support in the browsers we target before writing JavaScript, and record what was found here. Depends on #705 being merged.
Generated by Claude Code, opens in a new tab