From bbcb041ef351ff3503b8dcc0316a80641797e327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Fri, 7 Aug 2026 12:50:59 +0000 Subject: [PATCH] make open dashboard an anchor, and close the preview-navigate verify MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Four navigates were flagged; one was real. The two ProjectPreview lines are void — Projects was deleted in July. Of the two in DashboardPreview, the create path writes the dashboard and then goes there, which a link cannot express, so it stays. The Open Dashboard button in the edit form was pure navigation and is now a link. Co-Authored-By: Claude Opus 5 --- docs/navigation-audit.md | 26 ++++++++++++------- .../src/apps/Dashboards/DashboardPreview.tsx | 10 ++++--- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/docs/navigation-audit.md b/docs/navigation-audit.md index 0cffdeaf..c34d8647 100644 --- a/docs/navigation-audit.md +++ b/docs/navigation-audit.md @@ -68,10 +68,10 @@ are good building blocks. The **Workspace/Panel framework** contains **zero** ro | H4 | `workspaces/…/apps/ChatHistory/ChatDetailPanel.tsx:136` | which chat to render | reads `usePanelChannel('chat:selected-session')`, **not** `useParams` | make the route the source of truth: read `sessionId` from `useParams`, fetch by id, retire `chat:selected-session` (or make it a derived cache). **Finishes the /chat fix.** | | ~~H5~~ | ~~`Screens/Dashboard/Email/EmailList.tsx:336`~~ | ~~an email~~ | ~~` + {/* Pure navigation, so it is an anchor. The create button above stays a button on purpose: it + writes a dashboard and *then* goes there, and a link cannot express the "and then". */} {isEditing && ( - )}