Navbar: move the API link out of the primary nav to the far right of the header #238
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#238
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What's requested
The API link currently sits in the primary site nav amid the functional links (explore / import / API / keys / setup). Move it to the far right side of the navbar — grouped with the utility chrome (notification tray, theme toggle) rather than the functionality. This is an interim placement: a fuller footer will absorb these links later.
Current code
web/src/App.jsx:51-57— the nav is one flat list:The far-right cluster is the existing
ml-autodiv atApp.jsx:58-70(NotificationTray + theme toggle). The API link should move there, ahead of (left of) the tray and toggle, keeping theml-autogroup as the right edge.Acceptance criteria
APIis removed from thesite-navlist; remaining order explore → import → keys → setup is unchanged.APIrenders in the right-aligned cluster (ml-autodiv), left of the NotificationTray and theme toggle, visually consistent with the nav links (same link styling/active-state treatment as the others)./api(Apidocs.jsx).Out of scope (noted for later)
Footer work — user plans to add more detail to a footer eventually; this issue only covers the interim navbar placement.
Fixed by #249 (branch fix/issue-238): API link moved to the ml-auto cluster left of tray + toggle; nav keeps explore → import → keys → setup; /api route unchanged. Browser check (wide + narrow, both themes) is open — no runnable browser in this environment; headless pins + vite build + compiled-CSS parity are green.
Review of PR #249 (fix/issue-238, commit
61dcb0f) — verified in scratch worktree, main untouched.PASS, no changes needed:
.site-nav a, .nav-link; compiled dist CSS confirms one shared rule (base + :hover + dark variants identical). Styling parity by construction.Verification:
MERGE RECOMMENDATION: ready to merge (no fixes pushed — nothing to fix).
Fixed by PR #249 (review clean; 463/463 node tests), merged. Closing.