Commit graph

60 commits

Author SHA1 Message Date
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
Anish Sarkar
f1b3c88354 feat: add collapsed header content support in LayoutShell and Sidebar components 2026-05-19 20:58:19 +05:30
Anish Sarkar
cd4e5ae7f2 feat: implement macOS-specific title bar adjustments and enhance RightPanel with toggle functionality 2026-05-19 18:57:06 +05:30
Anish Sarkar
88a43cdd65 refactor: enhance ConnectToolsBanner functionality and update sidebar navigation handling 2026-05-17 16:46:34 +05:30
Anish Sarkar
3846056bc7 refactor: update icons and improve sidebar styling for enhanced user experience 2026-05-15 00:25:58 +05:30
Anish Sarkar
c180417329 refactor: enhance loading and sidebar components with improved skeleton loading states and styling 2026-05-14 23:28:41 +05:30
Anish Sarkar
3d42712b3f refactor: replace button elements with Button component for improved consistency and styling across multiple UI components 2026-05-14 14:17:44 +05:30
Anish Sarkar
bd5f1b3cdf feat: add CollapsedInboxIcon component to enhance sidebar functionality 2026-05-14 00:13:53 +05:30
Anish Sarkar
147be71238 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
Anish Sarkar
cdce6a8f14 refactor(styles): unify panel and sidebar colors for consistent theming; update hover effects for buttons in the right panel and sidebar 2026-05-03 20:38:21 +05:30
Anish Sarkar
2e1367b00e fix(sidebar): adjust padding and gradient heights for improved layout consistency; enhance SidebarUsageFooter to conditionally render border based on navigation items 2026-05-03 19:18:30 +05:30
Anish Sarkar
a9192beae3 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
Anish Sarkar
9b1b5a504e Merge remote-tracking branch 'upstream/dev' into feat/ui-revamp 2026-05-02 12:54:49 +05:30
Anish Sarkar
6b06416d47 feat(sidebar): live pages meter via Zero for authenticated users 2026-05-02 03:32:19 +05:30
Anish Sarkar
360e21eee4 feat(icon-rail, layout): enhance IconRail with new chat functionality and navigation items; update LayoutShell to support collapsible sidebar and integrate new actions 2026-04-28 23:58:00 +05:30
Anish Sarkar
a869069a0d refactor(sidebar): adjust component dimensions and font sizes for improved visual consistency across sidebar elements 2026-04-28 22:58:44 +05:30
Anish Sarkar
6231c08b8b refactor(sidebar): standardize padding, font sizes, and icon dimensions across sidebar components for improved consistency 2026-04-28 20:21:18 +05:30
Anish Sarkar
e60c5399af feat(icon-rail): integrate user profile component and enhance layout with user settings options 2026-04-28 19:29:14 +05:30
Anish Sarkar
17f9ee4b59 refactor(icons): replace 'Pen' icon with 'Pencil' across various components for consistency 2026-04-24 02:33:57 +05:30
DESKTOP-RTLN3BA\$punk
ff4e0f9b62 feat: no login experience and prem tokens
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
2026-04-15 17:02:00 -07:00
SohamBhattacharjee2003
4a5af63715 fix: replace transition-all with specific transition properties for better performance
- Replace transition-all with transition-[width] in Sidebar.tsx for width animations
- Replace transition-all with specific properties in animated-tabs.tsx for hover/active indicators
- Replace transition-all with transition-[background-color,border-color,box-shadow] in navbar.tsx
- Replace transition-all with transition-[width] in audio.tsx volume bar
- Replace transition-all with transition-[background-color,border-color,color] in thread.tsx
- Replace transition-all with transition-[box-shadow] in all tool-ui status cards (28+ files)

This reduces unnecessary browser layout/paint work by only animating the specific
properties that change, avoiding expensive recalculations for properties like
width, height, margin, and padding that don't need animation.

Fixes #1147
2026-04-08 05:36:19 +05:30
Anish Sarkar
336fc39aad refactor: update button styles in Sidebar component for improved readability and consistency 2026-03-22 03:07:01 +05:30
Anish Sarkar
affc89dd5c feat: introduce SidebarButton component for improved sidebar interactions 2026-03-21 12:06:48 +05:30
Anish Sarkar
440f5aec72 fix: improve accessibility and styling in sidebar components 2026-03-17 12:42:25 +05:30
Anish Sarkar
651d381bcb feat: enhance chat sidebar functionality and UI
- Updated `LayoutDataProvider` to toggle sidebar states for shared and private chats more efficiently.
- Added new props to `MobileSidebar`, `Sidebar`, and `LayoutShell` to manage the open states of chat panels.
- Improved button interactions in the sidebar to show/hide chat panels with updated tooltip text.
- Enhanced styling for tab triggers in `AllPrivateChatsSidebar` and `AllSharedChatsSidebar` for better user experience.
- Added new localization strings for "show all" and "hide" actions in multiple languages.
2026-03-17 03:55:49 +05:30
Anish Sarkar
2ab00c1746 feat: move More Pages to dialog
- Introduced `MorePagesDialog` and `MorePagesContent` components to manage and display tasks for earning additional pages.
- Integrated dialog state management using `morePagesDialogAtom`.
- Updated `LayoutDataProvider` to include the new dialog and handle task completion logic.
- Enhanced `PageUsageDisplay` to trigger the More Pages dialog, improving user interaction for page management.
2026-03-17 01:50:15 +05:30
Anish Sarkar
993c8539e8 feat: update UI components to utilize new main panel styling
- Replaced background styles with `bg-main-panel` in various components for consistent theming.
- Enhanced the `Header`, `LayoutShell`, and `Thread` components to improve visual coherence.
- Adjusted tool management UI to reflect new design standards, ensuring a unified user experience.
2026-03-17 01:09:15 +05:30
Anish Sarkar
9503d4ade1 chore: ran linting 2026-03-11 12:30:20 +05:30
Anish Sarkar
f73c1d83a8 feat: Enhance report panel state management and dropdown functionality in sidebar 2026-03-11 12:25:04 +05:30
Anish Sarkar
802b4fe44e feat: refactor team management page by removing invite handling logic and enhancing UI components for better user experience 2026-02-21 20:33:31 +05:30
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
Eric Lammertsma
ed5f0d10e8 fix: made inbox respect resizable sidebar width 2026-02-09 11:13:56 -05:00
Eric Lammertsma
64e118befd feat: sidebar resizing with mouse drag support 2026-02-09 10:48:43 -05:00
Anish Sarkar
bacda8cb08 chore: ran linting 2026-02-06 19:45:22 +05:30
Anish Sarkar
f7278f75f4 feat: implement long-press dropdown menu for mobile avatars and streamline tooltip usage in sidebar components 2026-02-06 19:18:40 +05:30
Anish Sarkar
6857c1d7e8 feat: add disableTooltip prop to sidebar components and streamline mobile sidebar button functionality 2026-02-06 18:59:52 +05:30
Anish Sarkar
c132e5ddb0 Merge remote-tracking branch 'upstream/dev' into fix/documents 2026-02-06 05:36:32 +05:30
Anish Sarkar
5e4dce40bd feat: add loading state for chat components and implement skeleton loading UI 2026-02-04 20:13:33 +05:30
Eric Lammertsma
d761ca1992 Added chat renaming and auto naming by the active LLM 2026-02-03 20:47:18 -05:00
Anish Sarkar
e5f7e87f42 refactor: update sidebar layout for shared and private chats to optimize space usage 2026-01-31 23:33:20 +05:30
Anish Sarkar
eaf0a454b1 refactor: remove chat button from collapsed sidebar for cleaner UI 2026-01-31 17:07:57 +05:30
Anish Sarkar
3604a0bbf3 chore: ran frontend linting 2026-01-27 16:34:35 +05:30
Anish Sarkar
b148731fda feat(sidebar): enhance chat sections layout and functionality with improved height management 2026-01-27 16:32:05 +05:30
Anish Sarkar
a51fe2ee69 feat: implement chat archiving functionality in LayoutDataProvider
- Added the ability to archive and unarchive chat threads, enhancing user interaction with chat items.
- Introduced a new `handleChatArchive` function to manage the archiving state and provide user feedback via toast notifications.
- Updated the `ChatItem` type to include an `archived` property for tracking the archive status.
- Modified relevant components to support the new archiving feature, including `ChatListItem`, `Sidebar`, and `MobileSidebar`.
2026-01-24 15:17:35 +05:30
Eric Lammertsma
089beb8d8c Merge upstream/dev - preserve local UI enhancements (Logs in menu, conditional search, hover edit buttons) 2026-01-22 19:41:11 -05:00
Eric Lammertsma
1f05cf2854 Moved the Documents sidebar item to the bottom, above the page count 2026-01-22 16:24:46 -05:00
Eric Lammertsma
30469b4941 Made numerous minor layout changes to main layout and sidebar 2026-01-22 16:23:44 -05:00
Eric Lammertsma
ee60d72d2f Moved the Documents sidebar item to the bottom, above the page count 2026-01-22 12:41:49 -05:00
Eric Lammertsma
6c5223e262 Made numerous minor layout changes to main layout and sidebar 2026-01-22 12:26:37 -05:00
Anish Sarkar
459a354e0f feat: shifted the theme selection to user profile sidebar 2026-01-20 16:04:56 +05:30