ui(nav): admin escape links, exercise back link, stats tab scroll-into-view (revertable)#57
Merged
Conversation
…tab scroll-into-view (revertable) - /admin/ header now links to today / wall / health / stats / settings (was a dead-end with only wall + today). Deliberately NOT adopting the shared Bootstrap navbar there: the admin panel is a dependency-free dark diagnostic UI and pulling in Bootstrap CSS would restyle all of it for zero functional gain. - /exercise/ gets a 'Back to workout' link above the edit card. - Stats: the selected tab scrolls itself into view (smooth, centered) — with 12 tabs the bar overflows on phones and the active tab could sit off-screen. Revert this commit alone to undo all three. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
/admin/header links to all five main pages (was a dead-end)/exercise/gets a "Back to workout" linkDeviation from plan
Skipped converting
/admin/to the shared Bootstrap navbar + tabs: the admin panel is deliberately dependency-free (no Bootstrap loaded), and importing it would restyle the whole diagnostic UI with real regression risk for cosmetic gain. The dead-end complaint is fixed by the links.Test plan
/admin/; back link on/exercise/; scroll handler shipped in stats.js🤖 Generated with Claude Code