nav: one breadcrumb path in both apps' headers #37
Loading…
Reference in a new issue
No description provided.
Delete branch "nav-crumbs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The header said where you were but not how you got there. dope had two unrelated bars —
publictopbarwith a lone←,gametopbarwith a fest/game trail that started nowhere — and xy a third with 🏠 plus a title.All three become one
crumbsprimitive in the kit. The trail mirrors the URL: every crumb is a real navigable prefix, labelled with the title of the page it links to, and the last one is the page you are on.dope's ~15 server-rendered pages build theirs from per-tree helpers in crumbs.go, so no page restates its ancestry, and the
←links are deleted. In xy an open card stays crumbless: it is a modal, not a place. On a phone the ancestors truncate first and the current page keeps its name.Closes #31