Repository navigation
feat(platform): put chats, tasks and the inbox in one Home panel - #3492
Merged
Merged
Conversation
A section's navigation now has one frame everywhere: SubPanel gains a 280px `list` width for two-line rows and a SubPanelHeader that names the section in the same h-13 row as the page header beside it. SectionNavPanel assembles a fixed-pages panel (Settings, Knowledge) with icon rows and a highlight that glides to the open page, driven by the new useSlidingIndicator hook (measured, moved by a CSS transform, reduced motion respected). ThreadHeader is the shared title row of every conversation-shaped page: controls, a 32px identity mark, the title, one line of context and the actions, in the page header's height and rule (or floating over content). The adaptive header's phone slot now lays its content out as a row, like the desktop title row, instead of stacking a back button above the title.
The rail now holds the sections — Home, Knowledge, Automations, with Settings pinned beside notifications and the account — on one pill that glides between tiles. Projects and the Inbox fold into Home. Home is one list beside every Home route (chat, tasks, projects, the inbox): chats, the open tasks assigned to you or waiting on your review, and the inbox's customer conversations, banded by time, with one row anatomy for all three and a switcher (All, Chats, Tasks, Inbox). Projects sit above the list as doors and drop targets. The Inbox view carries the status switch, search, facets and multi-select with the bulk verbs, on the same list model as the phone inbox (useInboxList). A phone shows the list as its Home screen; the tab bar lists the rail's sections. A chat, a task and a conversation open in one frame: the shared thread header, a centred column, one composer frame. A task opens on its own page as a structured chat — its brief first, comments and history oldest first under day pills, the composer at the foot, the details in a panel — and the board keeps its dialog. Settings and Knowledge take the same section panel as Home. The task list read gains a reviewer filter (with its real-Postgres check). The old chat list, the unreachable mobile drawer, the expandable-sidebar leftovers and their strings are removed.
The demo frame depicts the app 1:1: its rail now shows Home, Knowledge and Automations, with Settings at the foot beside notifications and the account. Chat, project and agent demos light Home, where those live now; the stale Agents tile is gone.
A task found in the palette opens on its own page, the way Home opens it, unless its board is the page you are on (the dialog opens in place); the routing is a pure, tested function now. The Home panel mounts on desktop only (a phone's Home list is a screen of its own), a fresh chat's draft row scrolls into view, and the unread and attention dots speak through the row's text instead of stray live regions.
useThreadDndState, HomePanelHeader and formatCents are only called inside the files that define them now that the chat panel's list and folder rows are gone, so knip flags their exports as unused.
The stream carried no drop zone, so a drag released over it fell through to the rect-intersection fallback and went to whichever zone the lifted card grazed: a short drag near the top filed the chat into the last visible project, one near the bottom archived it. The stream now registers as a zone where a drop changes nothing; filing a chat still means dropping it on a project. A Chromium spec replaces the retired chat list's layout spec: it pins the project list under half of the panel with its own scroll, the stream taking the rest, the open row brought into view, a drop on a project, and the put-back cases above.
The navigation guide now walks the rail (Home, Knowledge, Automations, with Settings at its foot), the phone tab bar, and a new Home section: the view switcher, projects, the time-banded list and its rows, the Inbox view with its bulk bar, and hiding the panel. The task guide gains the task page that Home opens; every page that sent readers to Chat or Projects in the old sidebar now points into Home. EN, DE and FR move together, and the glossary records Home as Start and Accueil.
The board read's cache key gained a reviewer entry when Home started listing the tasks that wait on your review, so the by-project case now expects it, and a new case pins the across-projects read carrying reviewerId into both the URL and the key.
The stream read its conversations with the status the Inbox view was left on, then kept only the open ones — so leaving that view on Closed emptied All of every conversation, and the Inbox dot counted the wrong tab. The stream now always reads the open conversations (and skips the read for an organization without an inbox; passing an empty org id only fell back to the active one); the Inbox view keeps its own pages. In the Inbox view the remembered status is checked like the view, Send waits while another bulk verb runs, a bulk verb lets go of the open conversation as the inbox page does, and the status menu's name leads with the status it shows. The open row is now revealed once it arrives, since the inbox can answer after the first render.
A chat or project row's menu, and the checkbox that stands in for a conversation's initials, showed on hover only — invisible to a keyboard user who had tabbed onto them, and out of reach on a phone, where nothing hovers, so a selection could never start there. They now show while the row holds keyboard focus (focus-visible, so a click does not pin them open), a phone shows every inbox row's checkbox from the start, and only a row that carries actions hides its age to make room for them.
The desktop header drew only for a chat in your own active list, so an archived chat, or a teammate's chat shared into a project, opened with no title and no Share or Export. The header now falls back to the thread's own read; the owner's row actions still key off the list.
The rail's search trigger is hidden below md and the chat drawer that carried the phone's trigger is gone, so a phone could only search with a keyboard shortcut. The Home screen's header now opens the same palette.
The page fade keyed the content on the full path, so a drawer route inside a page — a data-subject request over its list — remounted the page, resetting its filters and scroll. The key is now the rail entry the path sits in, the same match that names the page in its header.
Yesterday and the week band were counted back in 24-hour steps, so on the day after a 23-hour day a late chat from two days ago read as Yesterday. The edges are now counted in calendar days.
A task page whose read answered nothing — deleted, never there, or out of reach — rendered a blank column with no header and no way back. It now shows the platform's not-found state beside the Home panel.
A project's automation workbench wears the Automations chrome, yet the Home panel stood beside it and took 280px from its canvas; it now keeps the full width like an automation outside a project, while the rail still marks Home. The pre-hydration script mirrors that and no longer reads /dashboard/changelog as an organization, and the phone tab bar's stand-in draws the four tabs the live bar shows.
The chat seam, its types and the rows still spoke of the chat sub-panel, its thread list and project folders, and of a mobile overflow sheet that no longer exist; they now name what holds those reads today. One moved comment also sheds a ticket reference.
The leaf check looked for the project's name anywhere on the page, and the Home panel beside it lists the same project, so the row satisfied it even without a breadcrumb. Both crumbs are now looked up inside the breadcrumb landmark.
The platform suites now judge the rail and the phone tab bar, the Home panel (views, bands, rows, the open item, hiding it), the Inbox view, the shared thread header and the task page, with rewritten boxes where the old sidebar, chat panel and More sheet were described and struck ones where they are gone. The automation register and pins follow, and the suite counts are refreshed.
The compact age takes its narrow units from Intl, and that locale data moves between ICU builds — German reads "3 Std." under one and "3h" under the one CI runs. The test now pins that the locale reaches Intl (and that "now" reads "jetzt") instead of a CLDR literal.
The abbreviation comes from the browser's locale data, so the box says German reads "3 Std." in Chrome instead of promising it everywhere.
The settings page header now names the open page, so "Notifications" is both the page's h1 and the section's h2; the spec looks for the section's own heading.
A highlight whose item went away collapsed to its container's corner, so the next active item was glided to from a place nobody saw. It now fades out where it stood and lands on its next item with a fade, and glides only between two places it is seen at. The rail, the view switcher and the section panels share one glide timing, and panels draw the highlight through one SlidingHighlight element; measuring from the padding box keeps a bordered container from shifting it.
useSwapFade plays a short opacity fade through the Web Animations API when a view shows another item where the last one stood, so the swap reads as new content rather than a flicker. The node stays mounted and nothing moves, so a view that measures itself or keeps state across items keeps doing so; the first render and a change to nothing open never fade, and reduced motion skips it.
The Home panel's lists — the stream, the projects and the Inbox view — now draw their open row's fill as one highlight that glides from row to row, like the rail and the Settings and Knowledge panels; it steps away while a chat is dragged. A row that joins a list while it is open (a chat you started, a task handed to you, a conversation that came in) drops into place; the first paint and a swapped view only fade.
Opening another chat, task or conversation where the last one stood now fades the view in, and moving between those kinds of page fades the page beside the Home panel. A chat created by its first message is the same conversation continuing, so it does not fade.
Every palette hit sat behind the same file glyph. A task now shows its status glyph, a chat its bubble, a project its folder and a contact a person, as they read in Home; documents keep the file. The line under a task without a description showed its title a second time and now reads its status instead, and a project's line drops the key its title already leads with. Task hits carry their status for this.
A plain-text message — an API source's reply, a text-only email — is stored as one <pre> to keep its line breaks, so the preview showed it in the monospace code font, without wrapping. That <pre> now reads in the message's own font and wraps, keeping its breaks; a code block inside an HTML email stays monospace.
In the Home panel's Inbox view the icon-only filter button stood 36px tall beside a 32px search box. FilterPanel and FilterButton take a compact size for a panel's toolbar, and the Inbox view uses it, so the two controls share one edge.
Since the page header names the open settings page, a page whose first section carried the same title read "Teams" and then "Teams" again. That first section now keeps its heading for assistive tech and lets its description lead; a later section with the page's name keeps its title, where it tells the sections apart.
⌘\ (Ctrl+\) folds and unfolds the Home panel wherever its header toggle could, and the toggle's tooltip says so. ⌥↑ and ⌥↓ open the previous or next chat, task or conversation of the list on screen from anywhere but a text field — through your work one item at a time, even with the panel folded. Inside a list, ↑ and ↓ move between rows (Home and End to its ends) instead of tabbing through every row's menu, and a title the narrow panel truncates shows whole on hover.
The task page's header copies the page's link from a button beside Board, and its key (WEB-2) from the key itself — what people paste into a message or a commit — each with a toast saying what was copied.
A chat and an inbox reply kept their unsent text, but a task's comment box lost it the moment you left the task. It now keeps its draft per task, the way a chat does, in the board dialog and on the task page. With every composer keeping its draft, a Home row whose chat, task or conversation holds something unsent says "Draft" — except the one you have open, whose composer is in view.
Like a task's page, a customer conversation's header now leads its actions with Copy link: the page with the conversation selected, so a teammate who opens it lands on the same thread.
An empty All or Chats view now offers New chat, and an empty Tasks view the project list, where tasks are handed out — instead of only saying there is nothing yet. The empty state rises in as it fades.
The project's Chats tab showed a different glyph, linked only the title text and named an untitled chat by its id. Its rows now read like Home's: the chat bubble, the title or "Untitled chat", when it last moved and — for a chat shared by someone else — its author, with the whole row opening the chat and the share switch still its own control. New chat carries the pencil Home uses for it.
On a phone a chat, a task or an open conversation stacked the shell's bar — holding only the account button — above its own header with the back arrow, title and actions. Those pages now keep just their own header (with the notch clearance the bar gave them), in the boot shell too. Their context lines keep what fits beside the actions: a task's key and status, a conversation's contact and time.
The app's design contract now names one motion for every selection highlight — faded out in place when nothing is open, landed with a fade, glided on one timing — rows dropping into an open list, and the fade of an item opening in place. It records Home's Draft marker and keyboard moves, the Copy link and key actions of a task and a conversation, and the phone's single header row on those pages.
The app-shell guide shows how a panel list of its own draws the shared gliding highlight, and how a page that opens items in one place fades the swap without remounting its view.
"⌘ Enter to send" under a task's comment box means nothing on a touch keyboard, and the chat's composer already leaves its hint out there. The shortcut now steps aside below the desktop breakpoint, keeping the send button in place; a hint passed in for the reader stays.
A chat, a task and an inbox conversation now name the tab after themselves — "Review the launch checklist - Acme Studio" rather than "Task - Acme Studio" — so several open items stay apart in the tab strip and the history menu. One shared useDocumentTitle serves them, the not-found page and the offline notice. The route head keeps owning the <title> element and swaps it whenever the page's own title changes, so the hook puts its title back over each swap and, on unmount, only hands back a title it wrote itself: a navigation away leaves the next page's title standing. The latest mounted title shows, and the offline notice outranks the page names beneath it.
Home's platform guide gains a Keyboard shortcuts table (new chat, search, fold the panel, the previous or next item, moving between rows), the empty views' next steps, the Draft marker, the phone's single thread header and a conversation's Copy link. The task guide covers the kept comment draft, Copy link beside Board and the click-to-copy key. English, German and French ship together.
Sixteen boxes for the polish round: the gliding highlight, rows dropping into place, the swap fade, folding the panel with ⌘\, stepping through work with ⌥↓/⌥↑, the Draft marker, palette glyphs, reduced motion, arrow keys between rows, a task's copy link and key, a comment draft per task, a conversation's copy link, the project Chats rows, the settings page title printed once, the phone's single thread header and the tab named after the open item. Boxes whose behaviour moved are rewritten; NAV-B5 now says the offline gate answers a failed request. The automation ledger and pins follow.
Brings in #3490 and #3491. chat-surface.tsx takes main's new branch-selection import path and fork comment; chatDraftKey stays in lib/draft-key.ts, unchanged. Main's round added CHAT-F44, NAV-F25, PROJ-F25, SET-F46, TASK-F19 and TASK-B6 while this branch's unmerged boxes held the same IDs. Main's boxes keep theirs; this branch's move to CHAT-F46, NAV-F41, PROJ-F28, SET-F48, TASK-F28 and TASK-B7, and their references follow. The conflicted suites' counts are recounted.
Main's latest round added boxes to auth, automations, data-residency, governance, knowledge and skills without moving their counts. Each suite's Cost line and the readme's table now match the boxes they hold, 752 in all.
This was referenced Oct 1, 2026
This was referenced Oct 8, 2026
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.
Summary
Chats, project tasks and inbox conversations used to live in three sections with three shapes — a chat list with project folders, a project board, and a mail client — each with its own sub-panel. This folds them into one Home section: one panel, one row anatomy, one frame for every conversation-shaped page.
/homeis that list as a screen.ThreadHeader(@tale/ui/thread-header); the Home panel toggle lives in it, so the panel only folds where it can be brought back./tasks/$taskIdopens from Home and search — brief card, comments and task events as one oldest-first conversation under day pills, a pinned composer (⌘/Ctrl+Enter), and a details side panel (a sheet on phones); a task that is gone shows the not-found page. The board dialog is unchanged.SectionNavPanel(@tale/ui/section-nav) with a gliding selection (useSlidingIndicator— CSS transforms, since the app runsLazyMotionstrict without layout animations). Automations stays panel-less, and so does a project's automation workbench: its canvas keeps the full width.--sidebar-width, and the i18n keys only they used.reviewerId, so Home can list what waits on your review; covered by a new integration-check record.A review pass over the branch also fixed: the All view losing its conversations after the Inbox view was left on another status; the chat header vanishing for archived and shared chats; row menus invisible to keyboard focus and the status menu's label not naming its status (WCAG 2.4.7, 2.5.3); a released drag filing a chat into a grazed project or archiving it (the stream now puts it back); day bands off by an hour across DST; a settings drawer route remounting its page.
Details, motion and conveniences (follow-up round)
SlidingHighlight); with nothing open it fades out where it stood and lands on the next row with a fade instead of sliding in from a corner. Rows that join an open list (a new chat, a task handed to you, an arriving conversation) drop into place; opening another chat, task or conversation fades the view in (useSwapFade, opacity only), and moving between those kinds fades the page. Reduced motion stills all of it.useDocumentTitleserves them, the not-found page and the offline notice, which still wins the tab. TanStack swaps its<title>element whenever a page's title changes, so the hook reasserts itself over each swap and never restores a stale title after a navigation.Checklist
bun run checkpasses (format, lint, typecheck, all tests). — Format ✓. Typecheck ✓ (platform, ui, marketing-ui, ui-docs). Lint ✓ on every changed file (type-aware oxlint over the whole platform workspace runs out of memory on this machine, so CI's run is the full one). Tests: see the test plan.bun run lint:sastpasses (Opengrep) — 467 rules, 0 findings.messages/{en,de,fr}.yml— newhomenamespace, task-page and navigation keys; de-CH needs no override (no ß).docs/{en,de,fr}/— navigation guide, a new Home section, the task page, and every page that sent readers to Chat or Projects in the old sidebar.README.md/README.de.md/README.fr.md— N/A: they don't describe the navigation. Their hero images come from docs screenshots (follow-up below).Test plan
Automated (run locally):
main: 434 files, 3,503 tests — green, including new specs for the Home panel, its data, rows, grouping (with a DST case), view switcher, compact ages, task page and conversation, search targets, the chat header and the boot shell, and this round's keyboard navigation, drafts, copy links, entering rows, swap fade and tab titles.message-thread › stops the glide where an upward wheel takes over, which fails the same way on a cleanorigin/maincheckout on this machine (expected 29 to be greater than 40) and passes in CI on main. The newhome-panel.browser.test.tsxpins the project list under half of the panel with its own scroll, the stream taking the rest, the open row scrolled into view, a drop on a project, and a release over the stream putting the chat back — the last two fail against the code before the fix.lib/config-watcher.test.ts, a load-dependent chokidar timing test this branch does not touch, has flaked on cleanmaintoo.@tale/uiunit (2,375), marketing-ui (36), ui-docs (82) and docs (166) — green.@tale/uibrowser: green apart fromentity-view-dialog › keeps long names and identifiers within a phone viewport, which fails the same way on a cleanmaincheckout on this machine. Typecheck 16/16 workspaces,knipclean,bun run lint:manualgreen (1,087 boxes).backend:integration(first round), A/B against a cleanorigin/mainworktree on fresh databases: both truncate at the same lane (40,checkKnowledgeEntries— needs an embedder key locally) with the same 18 environmental failures; main 153/171, this branch 154/172 — the extra check is the new reviewer filter (mine=1, others=0).By hand (desktop 1440 px and phone 390 px, light and dark):
Merging
main:maingained #3490 and #3491 meanwhile; they are merged in (no force-push). Both rounds had added manual boxes under the same six IDs, so this branch's unmerged ones moved toCHAT-F46,NAV-F41,PROJ-F28,SET-F48,TASK-F28andTASK-B7; a separate commit recounts suites whose countsmainleft behind.Follow-ups (not in this PR): re-capture the docs screenshots and README hero images through the capture pipeline, and re-record the tutorial videos — they still show the old sidebar. Notification links to tasks still open the board dialog, because the same target feeds the public REST notifications
path. On desktop the Inbox view keeps its filters per device rather than in the URL (nothing in the app links with them).