Repository navigation
feat(dashboard): List every nav page and Send feedback in the command palette - #3807
Merged
Merged
Conversation
… palette Nav pages now come from one registry, src/client/navPages.ts. The pane, area lists, secondary nav, and profile menu read it, and the command palette lists every page in it. A new lint rule, nav-pages/listed-page-path, rejects a literal page path in a link outside the registry. The palette also offers Send feedback, which opens the same dialog as the profile menu. Refs JUNIOR-147 Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BYK
approved these changes
Nov 19, 2026
BYK
enabled auto-merge (squash)
November 19, 2026 17:50
22 tasks done
This branch was successfully deployed
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.
The new UI's ⌘K palette had no Send feedback (JUNIOR-147), and it listed only the primary and profile nav items. Most pages that a menu links to could not be found by name.
What changes
Send feedback is a palette action. It opens the same
FeedbackDialogas the profile menu. It shows under the same rule: a signed-in viewer and a Sentry DSN.Every nav page is in the palette. Pages that were in a menu but not in ⌘K:
With no typed text, the palette shows the same short list as before. The other pages show once you type. Each area page shows its area (such as "Settings") on the right. It uses the area root's icon.
Shape: one registry, one lint rule
src/client/navPages.tsownsNAV_PAGES: every page that a link names, with its label, path, access (accountoradmin), and the area that lists it. The nav reads it: the pane area lists (areas.ts), System, Automations, and Memories secondary nav, the profile menu, andprimaryNav.paletteNavPages()turns the same record into palette rows. An area's pages show only when its root shows, so the Memories pages need the memory plugin. A page added to the registry is in the palette, with no second list to keep in step.nav-pages/listed-page-path(inpackages/junior-dashboard/oxlint/) makes the registry the only way to link to a page. It flags atowith a literal dashboard path ("/…"or`/…${x}`). It checks thetoJSX attribute and thetoproperty of an object literal. It does not flag:navPages.tsitself<Navigate>redirects, which no menu showsconversationPath(id)or`${workspacePath(id)}/edit`The rule is on for
src/client/**. It is off for the classic UI (classic/**and the modules that onlyClassicShellimports). The classic UI has its own nav and palette, and no feedback dialog.Known gap: a path stored in a constant first (
const P = "/x"; <Link to={P}>) passes the rule.Screenshots (mock data)
Send feedback, dark and light, desktop:
Send feedback, dark and light, mobile:
A Settings section by name, with its area:
via @BYK.
--
View Session [Sentry]