Repository navigation
fix(platform): open every rail section on its overview - #4514
Merged
Merged
Conversation
A rail or tab-bar tile now always lands on its section's first page, from another section and from inside it: Home a fresh chat, Knowledge Documents, Automations the list, Settings its landing. The remembered automation, project and Knowledge tab are gone with their modules, history state and self-heal redirects; the rail's logo and a desktop visit to /home open a fresh chat too. Each rail tile sets aria-current from the rule that places the pill, so a screen reader hears the current section on every Knowledge tab and Home page, not only where the URL starts with the tile's link.
An automation opened from a project's Automations tab now starts its trail at the project: <project> / Automations / <name>. The project's name returns to the project and Automations to the project's own Automations tab, which the phone's back arrow follows too; a project that cannot be read leaves a Projects crumb, and a long name truncates. The page belongs to the Automations section, so the rail and the tab bar light Automations there instead of Home (isProjectAutomationPage, which also replaces showsHomePanel), and switching organization from it lands on the other organization's Automations list. The project automation URLs are unchanged.
An automation opened under a project whose read answers without it (deleted, or out of the reader's reach) now gets the organization's trail: Automations and the phone's back arrow lead to the org list instead of a project page that only says it was not found. A failed read keeps the project trail, whose tab offers a retry. Long project and automation names in the trail are capped, so the Run title on a run page keeps its room, and a cut name shows whole in a tooltip on hover or keyboard focus.
The workflow editor page said the rail marks Automations "either way" right after naming two crumbs that both lead to Home pages; it now says the rail marks Automations whether the automation was opened from a project or from the list. The chat basics page told phone users to choose Home again for a new chat, which opens the Home list there; it now names New chat first and Home only on a computer. EN, DE and FR.
The comment on the rail's Settings entry said the index route lands admins on organization settings and everyone else on Account, leaving out Developers, who land on Connectors.
The rail's Settings tile now lands on Account, the Settings panel's first row, for owners, admins, developers and members alike, instead of a role-dependent page. The role-based landing helper and its test are removed.
This was referenced Oct 8, 2026
The breadcrumb read the project through a query hook on every automation page, so an automation opened from the organization's list needed a query client for a read it skips. The project read now mounts only on a page opened inside a project.
yannickmonney
added a commit
that referenced
this pull request
Oct 8, 2026
Main gained the navigation fix (#4514); both changes append boxes to the automations manual suite, kept in ID order (AUTO-F57 then AUTO-F58+).
Contributor
Author
FINDINGS
Criterion review
Unrun/limits: no checkout or local execution (API-only as required); Playwright E2E navigation was not run locally and is represented by the PR-head CI evidence. Main-CI failure/cancellation remains unresolved. |
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.
What changes
Every section tile opens its overview. A rail tile (and its phone tab) always lands on the section's first page — never the record or tab you last had open, also when you click the section you are already in:
/chat?new=true; on a phone, the Home list)This removes the per-section memory from #3959 (
detail-memory.ts,project-memory.ts,knowledge-tab-memory.ts, thenavRestorehistory flag and their redirects) and the role-based Settings landing (getDefaultSettingsRoute). The rail's logo and a desktop/homealso open a new chat; the organization's own address still resumes the last chat.An automation opened from a project shows its project. From a project's Automations tab the trail reads
<Project> / Automations / <automation>(plus/ Runon a run page); the project links to the project, Automations to its Automations tab (also the phone's back arrow). The rail marks Automations, not Home. Long names truncate with a tooltip; when the project can't be read the trail falls back to the organization list. Switching organization from such a page lands on the other organization's Automations list. The project automation URLs are unchanged.Screen readers: each rail tile carries
aria-current="page"by the same rule as the highlight pill (Knowledge's other tabs, Home pages and project automation pages announced no current section before).Docs (EN/DE/FR), the design doc (
design/docs/app.md) and the manual boxes (NAV-F1/F16/F18/F41, NAV-A9, NAV-B19, SET-F1, RESP-F1, AUTO-F53/F56, AUTO-F57, AUTO-B12) are updated.Why
Owner call (2026-10-08): "All side navigation items should show the first / overview page of its kind — automations → list, knowledge → first tab, home → new chat, settings → first menu item" and "when clicking an automation in a project's automations tab it does not show it's from that project, and the side navigation stays on Home". This reverses #3959's section memory and the earlier "project automations stay under Home" layout.
Verification
sidebar-nav.browser.test.tsx(the owner's click path, exactly one current tile) andautomation-breadcrumbs.browser.test.tsx(trail, exact-match ancestors, tooltip, long names) — both shown to fail against the unfixed code.lint:manual,lint:links,check-guideclean.Getting started / Automations / Triage GitHub issueswith the Automations tile lit; automation → Knowledge → Automations lands on the list; Settings lands on Account; Home opens/chat?new=true; Websites → Knowledge lands on Documents.navigation.spec.tschange (CI).Behaviour users will notice: desktop Home no longer resumes the last chat; owners/admins/developers now land on Account in Settings.