Repository navigation
Show the full folder path in dashboard breadcrumbs - #124
Conversation
The header trail now includes every ancestor folder between Workspace and the open node, including Base views and records. A long trail keeps the first crumb and the last two on a narrow screen and lists the hidden folders in a menu. Fixes #94 Co-authored-by: Kelly Peilin Chan <[email protected]>
|
Verification level: 🟡 Partial verification — I independently re-ran the package tests and typecheck, and reviewed the diff, but I could not click through a real dashboard to see the folder trail in the header. ProblemThe dashboard header only showed Workspace and the current node (or Base > view). Folders on the path were missing, so a deep node looked like it sat at the workspace root. Root cause
FixThe trail is now This PR targets Validation
No screenshots: verification did not go through a browser. |
Record, edit, and new-record links opened from a view carry fromView. The Base crumb uses that slug when it still names an active view, and edit, save, cancel, and delete keep it too. Co-authored-by: Kelly Peilin Chan <[email protected]>
Opening a record from the grid now keeps fromView, and the Base crumb follows that view. The history and relation tests were asserting the old bare paths. Co-authored-by: Kelly Peilin Chan <[email protected]>
The 250-row timeline loads three pages of 100. The coverage run reached the length check at 200, inside the default one-second wait. Co-authored-by: Kelly Peilin Chan <[email protected]>
Record, edit, and new-record links opened from a view carry fromView. The Base crumb uses that slug when it still names an active view, and edit, save, cancel, and delete keep it too. Co-authored-by: Kelly Peilin Chan <[email protected]>
Opening a record from the grid now keeps fromView, and the Base crumb follows that view. The history and relation tests were asserting the old bare paths. Co-authored-by: Kelly Peilin Chan <[email protected]>
Record, edit, and new-record links opened from a view carry fromView. The Base crumb uses that slug when it still names an active view, and edit, save, cancel, and delete keep it too. Co-authored-by: Kelly Peilin Chan <[email protected]>
Opening a record from the grid now keeps fromView, and the Base crumb follows that view. The history and relation tests were asserting the old bare paths. Co-authored-by: Kelly Peilin Chan <[email protected]>
A short run_function budget was spent loading QuickJS. On a busy CI runner that load took longer than the budget, so an SSRF block and a fetch cap came back as timeouts before the function ran. Co-authored-by: Kelly Peilin Chan <[email protected]>
…ady" This reverts commit e5ef106. Keep the existing sandbox deadline contract in this navigation change. CI headroom for behavior checks remains in their test fixtures, while dedicated timeout checks retain their original deadlines.
Problem and fix
Nested nodes now show their visible ancestor folders in the dashboard breadcrumb, including on a cold bookmark. Each folder links to its real destination; the node Info action stays attached to the node before any view, record, or design suffix. The ancestors API adds visible name/slug/type summaries while keeping its existing ID list.
Acceptance found and fixed two additional defects. Ancestor trails with an infinite cache lifetime were not invalidated after parent renames/moves; the node invalidation prefix now refreshes both active and previously visited descendants. On a 360px phone, header actions squeezed breadcrumb text to zero width. The compact header now keeps the node name inline, exposes every hidden path step through More, and uses labelled icons/compact spacing for actions. Desktop keeps the full path and full-name titles.
The shared SPA/admin breadcrumb renderer also accepts an ordered trail and preserves its existing parent/intermediate fallback and demo query parameters.
Validation
A rendered-component regression failed before correction. The real browser then verified Board → record → edit/cancel/save/activity/back, a generated cross-Base reference without
fromView, the other Base opening its own Grid default despite also having Board, and successful record creation retaining its real Board source. Root independently replayed this proof, the complete five-view local story, and the final real Cloud story with no browser errors.The changed feature paths were exercised in Chromium with genuine Inter/Fraunces fonts, backed by real local databases and HTTP/RPC calls. Busabase Cloud checks used real Better Auth sessions and an isolated migrated PGLite database. Screenshot/video links were fetched successfully after upload.
Verified the public implementation at 360px and 390px with genuine fonts: the node text and More button remain visible, every hidden step is reachable, and clicking a folder navigates correctly. The360px node label now has 51px of visible width, versus zero before correction. Verified desktop paths, Base/record suffixes, ancestor rename before revisiting a cached descendant, and cold document bookmarks. A separate real-component browser harness exercises shared SPA/admin ordered trails, fallback navigation, demo parameters, and mobile rendering.
Real Cloud browser stories pass too. Real Cloud permission checks omit an inaccessible private parent's name, return 404 for hidden/foreign node lookups, and reject read-only settings writes with 403 and no mutation. Focused navigation/database/cache tests, shared renderer tests, and scoped typechecks pass. No browser errors.
Known risk: none identified within the changed paths. The verified default/source-view changes are supplied by #121 and #122.
Two existing sandbox behavior tests now allow worker-startup headroom in their explicit test budgets. Their SSRF/fetch-cap assertions and the dedicated 200/300ms timeout cases remain unchanged. Production sandbox deadline behavior is unchanged.
Story: find a nested node and keep its location
Enter the nested Base from the workspace and see every ancestor folder.
At360px the node stays readable and More exposes the complete hidden path.
Rename a parent and revisit the descendant without retaining its old path.
A cold document bookmark still resolves the complete folder chain.
The authenticated Cloud reader sees the granted child without its private parent name.
Before the phone correction · Shared renderer proof · Public browser recording · Cloud browser recording
Fixes #94