Repository navigation
Open
Labels
agent-readyMaintainer-approved for the Tale agent fleetimprovementImprovementservice: platformPlatform service
Description
Summary
At the top of Home, the switcher that picks which kind of work the list shows (All, Chats, Tasks, Inbox) is a row of text labels in one pill track, beside the New chat button. The names are too long for the space, and the code already carries a special case for it. Redesign the control so it is modern and slick, looks right with three views and with four, and stays within the Tale design guide.
You have the freedom to change whatever it takes: the form of the control, the labels, the layout of the header row around it, the place of New chat.
Current behavior
services/platform/app/features/home/components/home-view-switcher.tsx: arole="radiogroup"pill track (h-8,bg-muted/70) with oneradioper view, a pill that glides under the selection (useSlidingIndicator), labels intext-xs font-mediumwithtruncate, and a small dot when something waits on the caller. Buttons are sized to their label because equal widths cut the long ones; the comment at lines 85-88 names "Aufgaben, Réception".- Three or four views today.
home-panel.tsx:631-638always offers All, Chats and Tasks, and offers Inbox only when the organization has one (data.hasInbox). A further kind of work would need yet another slot. - Little room. The panel resizes between 280 and 480 px (
home-panel.tsx:177-178). The same row holds the 32 px New chat icon button (HomeNewChatButton,home-panel.tsx:931), a 10 px padding each side and a 6 px gap, so at the narrowest panel the track has roughly 220 px for every label. On a phone the same navigator is the Home screen. - Labels (
services/platform/messages/{en,de,fr}/home.yml,views.*): EN All / Chats / Tasks / Inbox, DE Alle / Chats / Aufgaben / Inbox, FR Tout / Chats / Tâches / Réception. - A hand-built control beside shared ones.
@tale/uialready shipsSegmentedControl(packages/ui/src/components/forms/segmented-control.tsx),Tabs,SectionNavandBottomTabBar, which shareuseSlidingIndicator. Read them first; the result should live in@tale/uior reuse a primitive there, not add another bespoke tab pattern.
Directions to weigh
Not a prescription; pick what looks best and say why.
- Icon-led segments where only the selected view shows its label (an expanding pill), the others icon-only with a tooltip and an accessible name.
- Icons with quiet attention badges (a count or a dot), labels reserved for the active view and the tooltip.
- A compact tab row that overflows into a menu past a set number of views.
- Treating All as the cleared state of the filter chips instead of a segment of its own.
Constraints
- Design guide first. Learn
design/and@tale/ui(ui.tale.dev;services/ui-docs/content/components/tabs-and-navigation.md) before drawing anything; use the existing tokens. - Count-independent. Good with three views, with four, and with a fifth added later without a redesign: options come from a list, and Inbox stays conditional.
- No truncated label in EN, DE or FR at the 280 px panel and at a 360 px phone width. If a label becomes an icon, its accessible name is still the full localized label.
- Accessibility (WCAG 2.1 AA). Keep today's contract: one tab stop, arrow keys move between views, visible focus, the attention state announced (
home.aria.attention) and kept equally quiet visually,prefers-reduced-motionrespected. - Behavior unchanged. The persisted view (
usePersistedState), Inbox hidden when absent, narrowing by project, the per-view search placeholder and the empty states stay as they are. - Both hosts. The resizable desktop panel and the phone Home screen.
Blast radius
Update in the same change:
- Tests:
home-view-switcher.browser.test.tsx,home-panel.browser.test.tsx, and the e2e specsnavigation.spec.ts,responsive.spec.tsandautomations.spec.ts. - Manual boxes that name the switcher:
services/platform/tests/manual/suites/navigation.md(around lines 293 and 643),responsive.md(64, 121),chat.md(79),conversations.md(12, 146). Append, never renumber; runcheck-guide.ts. - Locales:
home.views.*in en, de and fr per thewrite-translationsskill, if any label changes. - Docs in EN, DE and FR that describe the switcher:
docs/en/platform/index.md:39anddocs/en/platform/chat/basics.md:101. - Screenshots that show the panel (at least
home-inbox; checkservices/docs/public/images/manifest.json) and the README gallery: retake throughbun run docs:screenshots. @tale/uistories and the ui-docs guide if a primitive changes.
Acceptance criteria
- Before/after screenshots at 280 px, 480 px and a phone width, in EN, DE and FR, with three and with four views, observed in a real browser and attached to the PR.
- No ellipsis at those sizes; a mock fifth view does not break the layout.
- Keyboard and screen-reader pass, including the attention announcement.
- Tests, manual boxes, locales, docs and screenshots updated as listed above.
Metadata
Metadata
Assignees
Labels
agent-readyMaintainer-approved for the Tale agent fleetimprovementImprovementservice: platformPlatform service
Activity
feat(platform): redesign the Home view switcher so its labels fit
tale-review-bot commentedon Oct 30, 2026
The icon-led Home view switcher has landed on the feature line's merge train:
feature-traincommit 9fc9830 (task TALE-114). It reachesrelease/0.6with the next feature-train pull request.That commit says
Refs #4688, notCloses, because one item on this issue's acceptance list is still open:home-inboxshots in en, de and fr (services/docs/public/images/manifest.json) and the README gallery still show the old labelled switcher. Retaking them needsbun run docs:screenshotswith the running platform stack, which neither agent worker has (no Docker).Before/after screenshots of the switcher at 280 px, 480 px and a 360 px phone, in EN, DE and FR with 3, 4 and a mock 5th view, are attached to TALE-114. The e2e specs (
navigation,responsive,automations) run with the feature train's pull request.(Reviewer, review-merge slice 3 of 4, run 4f05aaeb)
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
1 remaining item
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit
feat(platform): redesign the Home view switcher so its labels fit