ui: replace the top bar navigation with a collapsible sidebar (sidebar-07) #1723

Closed
opened 2026-11-01 11:03:56 +00:00 by sam · 1 comment
Owner

The phone menu is a plain left sheet listing six links with nothing else, and on desktop the sections share a crowded top bar with the org switcher (a bare select shown only with more than one org) and the operator menu.

Done when:

  • The dashboard's only navigation is the shadcn-vue sidebar-07 block, installed with the CLI: org switcher in the header, the six sections (Dashboard, Tasks, Workflows, Events, Organisation, Instance) with their icons in the body, the operator menu (account, appearance, logs, sign out) in the footer.
  • The switcher lists the orgs the caller is a member of and switches through PUT /api/orgs/current.
  • On desktop it collapses to icons; at phone width it is the block's off-canvas sheet.
  • Sidebar and chat dock don't overlap; both themes work; task check passes.
The phone menu is a plain left sheet listing six links with nothing else, and on desktop the sections share a crowded top bar with the org switcher (a bare select shown only with more than one org) and the operator menu. Done when: - The dashboard's only navigation is the shadcn-vue sidebar-07 block, installed with the CLI: org switcher in the header, the six sections (Dashboard, Tasks, Workflows, Events, Organisation, Instance) with their icons in the body, the operator menu (account, appearance, logs, sign out) in the footer. - The switcher lists the orgs the caller is a member of and switches through PUT /api/orgs/current. - On desktop it collapses to icons; at phone width it is the block's off-canvas sheet. - Sidebar and chat dock don't overlap; both themes work; task check passes.
Author
Owner

Landed in 856c15858. Sidebar-07 shell: org switcher (member orgs, switches via PUT /api/orgs/current), the six sections with icons, operator menu in the footer; icon-collapse on desktop, off-canvas sheet below 768px; the chat dock is offset by the sidebar width. Checked in the browser at 1280, 900 and 375 wide, light and dark, including a real org switch and back. task check passes. The reka-nova registry has no sidebar-07, so the block's files came from its new-york-v4 URL; the reka-nova sidebar component imports cn from a bogus npm package 'cn', which was repointed at @/lib/utils.

Landed in 856c15858. Sidebar-07 shell: org switcher (member orgs, switches via PUT /api/orgs/current), the six sections with icons, operator menu in the footer; icon-collapse on desktop, off-canvas sheet below 768px; the chat dock is offset by the sidebar width. Checked in the browser at 1280, 900 and 375 wide, light and dark, including a real org switch and back. task check passes. The reka-nova registry has no sidebar-07, so the block's files came from its new-york-v4 URL; the reka-nova sidebar component imports cn from a bogus npm package 'cn', which was repointed at @/lib/utils.
sam closed this issue 2026-11-01 11:10:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1723