SurfSense/surfsense_web/components/layout
CREDO23 7bc52dcdc0 feat(web): surface Automations in the sidebar under Inbox
Adds an "Automations" nav entry rendered explicitly between Inbox and
(on mobile) Documents, mirroring how those two are pulled out of the
nav list and rendered above the chat sections. The icon is Workflow
to match settings/RBAC labelling.

LayoutDataProvider:
- Adds the entry to navItems pointing at /dashboard/[id]/automations.
- Marks isActive via pathname so the row highlights on the route.
- Tags /automations as a workspace-panel page so it renders in the
  centered settings-style viewport (same chrome as Team / settings).

Sidebar:
- Pulls out automationsItem alongside inboxItem and documentsItem.
- Renders it between them.
- Excludes its URL from footerNavItems so it doesn't double-render.

Page-level RBAC still gates the actual view; the sidebar entry is
always visible (consistent with Inbox/Documents which are also not
gated at the nav layer).

Anonymous (FreeLayoutDataProvider) intentionally not touched —
automations is an authenticated feature.
2026-05-28 01:11:20 +02:00
..
hooks chore: ran linting 2026-05-19 21:02:07 +05:30
providers feat(web): surface Automations in the sidebar under Inbox 2026-05-28 01:11:20 +02:00
types refactor: update LayoutDataProvider and NavSection components to use DocumentsProcessingStatus for improved document processing status handling 2026-03-08 21:16:52 +05:30
ui feat(web): surface Automations in the sidebar under Inbox 2026-05-28 01:11:20 +02:00
index.ts Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00