From 2961089d6be1332bf40a2fb7be6a783ca9dd97e9 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Sun, 27 Sep 2026 03:43:21 -0500 Subject: [PATCH] feat(dashboard): breadcrumbs that follow how you reached a page Detail pages carry a breadcrumb bar built from a per-tab trail in sessionStorage: following a link from a page on the trail extends it, going back to one cuts it there, and opening a page directly shows its natural parents. The property 3D view's back button goes to the previous crumb, and the property page renames its crumb once its name loads. Co-Authored-By: Claude Opus 5.5 --- dDashboardServer/static/js/common.js | 77 +++++++++++++++++++ .../templates/account-view.jinja2 | 4 +- .../templates/bug_report-view.jinja2 | 2 +- .../templates/character-view.jinja2 | 6 +- .../templates/play_key-view.jinja2 | 2 +- dDashboardServer/templates/property-3d.jinja2 | 3 +- .../templates/property-view.jinja2 | 5 +- docs/Dashboard.md | 4 + 8 files changed, 89 insertions(+), 14 deletions(-) diff --git a/dDashboardServer/static/js/common.js b/dDashboardServer/static/js/common.js index 90d11dffc..8ab20bb66 100644 --- a/dDashboardServer/static/js/common.js +++ b/dDashboardServer/static/js/common.js @@ -353,6 +353,83 @@ document.addEventListener('shown.bs.collapse', function (e) { if (e.target.dataset.prefOpen) Prefs.set(e.target.dataset.prefOpen, true); }); document.addEventListener('hidden.bs.collapse', function (e) { if (e.target.dataset.prefOpen) Prefs.set(e.target.dataset.prefOpen, false); }); + /** + * Breadcrumbs that follow how you actually got to a page, kept per browser tab (sessionStorage). + * A detail page has