Files
co-lite/docs/superpowers/specs/2026-12-01-sidebar-categories-design.md
T

1.6 KiB

Sidebar categories

Date: 2026-12-01. Owner approved the grouping below on 2026-12-01.

Intent

The sidebar is a flat list of work pages with one "Administration" section. The owner wants the modules grouped into clear categories and the menu cleaned up before go-live, and the WhatsApp inbox will need a home in it next.

Decisions (owner-approved)

  • Always-open labelled sections, not collapsible groups: 12 items do not need extra clicks.
  • Categories and order:
    • Dashboard (no label, first)
    • Events: Events, Event leads
    • Leads: Leads, Interests (the WhatsApp inbox joins here later)
    • Access: Users, Roles, Login security
    • System: Companies, Emails, Audit log
  • Each section has the existing thin divider and small muted label. The collapsed rail shows dividers only.
  • A section with nothing the user may open does not show.
  • Within a section, items follow the order above, not the server's order. A module missing from the map goes into a final unlabelled section at the end, so nothing disappears.
  • Every item has a distinct icon: Login security moves from Shield (too close to Roles' ShieldCheck) to LockKeyhole.

Approach (my call)

The server's menu tree is flat, so the grouping stays in the portal as one fixed category map. It replaces the single admin list. The icon override for Login security lives in the same map, so no database change is needed. The portal icon map, which still carries babyboo icons for inventory, POS and catalogue modules Co-Lite does not have, is trimmed to the icons Co-Lite seeds plus the fallback.

Non-goals

  • Renaming modules, changing permissions or the server menu.
  • Collapsible groups.