SurfSense/surfsense_web/components/layout/ui/sidebar
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
..
AllPrivateChatsSidebar.tsx Merge remote-tracking branch 'upstream/dev' into feat/ui-revamp 2026-05-16 19:26:36 +05:30
AllSharedChatsSidebar.tsx Merge remote-tracking branch 'upstream/dev' into feat/ui-revamp 2026-05-16 19:26:36 +05:30
AuthenticatedPageUsageDisplay.tsx feat(sidebar): live pages meter via Zero for authenticated users 2026-05-02 03:32:19 +05:30
ChatListItem.tsx refactor: replace button elements with Button component for improved consistency and styling across multiple UI components 2026-05-14 14:17:44 +05:30
DesktopLocalTabContent.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
DocumentsSidebar.tsx Merge pull request #1417 from VarunShukla07/fix/env-config-editor-chat-dashboard 2026-05-20 12:14:01 -07:00
InboxSidebar.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
index.ts feat(announcements): rename "Announcements" to "What's New" across the application; add AnnouncementsDialog component for displaying updates; update empty state messaging; remove unused AnnouncementsSidebar component. 2026-05-03 18:42:29 +05:30
LocalFilesystemBrowser.tsx refactor: replace button elements with Button component for improved consistency and styling across additional UI components 2026-05-14 14:40:08 +05:30
MobileSidebar.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
NavSection.tsx refactor(sidebar): update sidebar resizing logic to use pointer events; enhance drag cursor handling and improve sidebar width persistence 2026-05-04 01:47:17 +05:30
PageUsageDisplay.tsx feat: no login experience and prem tokens 2026-04-15 17:02:00 -07:00
PremiumTokenUsageDisplay.tsx feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
Sidebar.tsx feat(web): surface Automations in the sidebar under Inbox 2026-05-28 01:11:20 +02:00
SidebarButton.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
SidebarCollapseButton.tsx feat: implement macOS-specific title bar adjustments and enhance RightPanel with toggle functionality 2026-05-19 18:57:06 +05:30
SidebarHeader.tsx refactor(sidebar): standardize padding, font sizes, and icon dimensions across sidebar components for improved consistency 2026-04-28 20:21:18 +05:30
SidebarSection.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
SidebarSlideOutPanel.tsx refactor(web): replace slideout panel window event with jotai atom (fixes #1358) 2026-05-24 16:41:47 +07:00
SidebarUserProfile.tsx chore: ran linting 2026-05-19 21:02:07 +05:30