Skip to content

[Frontend UX] Reorder sidebar navigation around primary workflows#527

Merged
floxxih merged 1 commit into
floxxih:masterfrom
libby-coder:feat/409-reorder-sidebar-navigation
May 31, 2026
Merged

[Frontend UX] Reorder sidebar navigation around primary workflows#527
floxxih merged 1 commit into
floxxih:masterfrom
libby-coder:feat/409-reorder-sidebar-navigation

Conversation

@libby-coder
Copy link
Copy Markdown
Contributor

Summary

  • Reorders NAV_LINKS to place primary workflow actions first: Dashboard → Swap → Marketplace → Orders → Explorer (Activity)
  • Adds a horizontal divider between primary and secondary groups in both desktop Sidebar and mobile Drawer
  • Secondary/admin/info routes follow the divider: HTLCs → Protocol → Settings → About → Admin
  • Exports PRIMARY_NAV_LINKS and SECONDARY_NAV_LINKS from navigation.ts for grouped render; flat NAV_LINKS kept for other consumers
  • Mobile drawer mirrors the exact same order and grouping as the desktop sidebar

Test plan

  • Desktop sidebar shows Dashboard, Swap, Market, Orders, Explorer at the top, then a divider, then HTLCs, Protocol, Settings, About (Admin only for admins)
  • Mobile drawer reflects the same order and grouping
  • Active-state indicator and aria-current="page" still work on all links in both groups
  • Admin link still hidden for non-admin users

Closes #407
Closes #408
Closes #409
Closes #417

Reorders NAV_LINKS so primary actions (dashboard, swap, marketplace,
orders, explorer/activity) appear first, followed by a horizontal
divider and secondary/admin/info routes (htlcs, protocol, settings,
about, admin). Both the desktop Sidebar and the mobile MobileNavDrawer
reflect the same order and grouping.

Closes floxxih#407, floxxih#408, floxxih#409, floxxih#417
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@libby-coder Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@floxxih floxxih merged commit 98f6cc7 into floxxih:master May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants