Commit graph

42 commits

Author SHA1 Message Date
Rohan Verma
744fc4c66c
Merge pull request #730 from elammertsma/dev
Fixed merge conflicts after minor layout changes in main interface
2026-01-22 18:08:16 -08:00
DESKTOP-RTLN3BA\$punk
8b81507739 refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
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
8dc1ae8b6c fix: use searchSpaceId from params to prevent malformed URL in Logs navigation 2026-01-22 19:29:29 -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
00596f991d refactor: enhance inbox functionality with type guards and API service integration
- Introduced type guards for metadata in InboxSidebar to ensure safe access and improve type safety.
- Refactored the useInbox hook to utilize the new notifications API service for fetching notifications, enhancing validation and error handling.
- Added new API request/response schemas for notifications, improving structure and clarity.
- Updated logic for loading and marking notifications as read, ensuring consistent state management and user experience.
2026-01-22 18:32:25 +05:30
Anish Sarkar
c98cfac49f refactor: improve InboxSidebar and useInbox hook
- Added LayoutGrid icon to the "All connectors" option in the InboxSidebar for better visual representation.
- Simplified the return statement in getConnectorTypeDisplayName for improved readability.
- Refactored filter and drawer components in InboxSidebar for cleaner code structure.
- Removed unused totalUnreadCount state from useInbox hook and replaced it with a memoized calculation for better performance.
- Implemented optimistic updates for marking inbox items as read, enhancing user experience with immediate feedback.
2026-01-22 17:46:44 +05:30
Anish Sarkar
be7ba76417 chore: ran backend and frontend linting 2026-01-22 16:07:06 +05:30
Anish Sarkar
36f1d28632 feat: implement infinite scroll and pagination for inbox items
- Enhanced the inbox functionality by adding infinite scroll support in the InboxSidebar, allowing users to load more items seamlessly as they scroll.
- Updated the useInbox hook to manage pagination, including loading states and item counts, improving performance with large datasets.
- Introduced new props in InboxSidebar for loading more items, handling loading states, and indicating if more items are available.
- Refactored the LayoutDataProvider to accommodate the new inbox loading logic, ensuring a smooth user experience.
2026-01-22 11:27:45 +05:30
Anish Sarkar
9c2a1766f6 fix: always show the 3-dot and the folder in mobile view 2026-01-22 04:27:34 +05:30
Anish Sarkar
596515f523 feat: integrate Drawer component for mobile filtering in InboxSidebar
- Added a Drawer component to replace the dropdown menu for filtering in the InboxSidebar on mobile devices, enhancing usability.
- Implemented state management for the filter drawer, allowing users to select filters and connectors seamlessly.
- Updated the UI to accommodate the new Drawer, ensuring a consistent experience across different screen sizes.
- Enhanced connector filtering logic to improve item management and display options effectively.
2026-01-22 04:02:32 +05:30
Anish Sarkar
18319caca1 feat: add connector filtering to InboxSidebar for enhanced item management
- Introduced a connector filter in the InboxSidebar to allow users to filter status items by connector type.
- Implemented state management for selected connectors and reset functionality when switching tabs.
- Enhanced the filtering logic to accommodate connector selection alongside existing filters.
- Added UI elements for displaying available connectors as filter options in the status tab.
2026-01-22 02:13:35 +05:30
Anish Sarkar
306a725b7c refactor: streamline InboxSidebar component and improve tooltip integration 2026-01-21 23:07:08 +05:30
Anish Sarkar
112f6ec4cc refactor: remove archived functionality from notifications and related components
- Removed the archived column from the Notification model and database schema, simplifying the notification structure.
- Deleted ArchiveRequest and ArchiveResponse models, along with associated API endpoints for archiving notifications.
- Updated InboxSidebar and related components to eliminate archiving functionality, streamlining the user experience.
- Adjusted filtering logic in the InboxSidebar to focus solely on unread notifications, enhancing clarity and usability.
2026-01-21 22:47:39 +05:30
Anish Sarkar
8dcdd27d10 fix: update sidebar components for consistent styling and improved unread item display
- Changed text color for active and archived item counts in AllPrivateChatsSidebar and AllSharedChatsSidebar to use 'text-muted-foreground' for better visibility.
- Replaced Loader2 with a new Spinner component in InboxSidebar for a consistent loading indicator.
- Enhanced unread item count display in InboxSidebar to show zero when no unread items are present, improving user feedback.
- Adjusted styles for MoreHorizontal and ListFilter icons in InboxSidebar to align with the updated design system.
2026-01-21 22:22:28 +05:30
Anish Sarkar
22b2d6e400 feat: add archived column to notifications and implement archiving functionality
- Introduced an archived boolean column in the notifications table to allow users to archive inbox items without deletion.
- Updated Notification model to include the archived field with default value.
- Added ArchiveRequest and ArchiveResponse models for handling archive/unarchive operations.
- Implemented API endpoint to archive or unarchive notifications, ensuring real-time updates with Electric SQL.
- Enhanced InboxSidebar to filter and display archived notifications appropriately.
2026-01-21 20:34:58 +05:30
Anish Sarkar
93aa1dcf3c feat: implement inbox sidebar for enhanced user notifications
- Introduced a new InboxSidebar component to manage and display inbox items.
- Integrated real-time syncing of inbox items using Electric SQL for instant updates.
- Added functionality to mark items as read, archive/unarchive, and filter inbox content.
- Updated existing components to accommodate the new inbox feature, including layout adjustments and state management.
- Enhanced user experience with improved navigation and interaction for inbox items.
2026-01-21 19:43:20 +05:30
Anish Sarkar
4d87c38b5f impr: improve tabbed navigation for active and archived chats in sidebars 2026-01-21 16:13:32 +05:30
Anish Sarkar
80f83e32c6 chore: frontend linting 2026-01-20 20:47:31 +05:30
Anish Sarkar
1a0503f683 refactor: improve UI component styles and loading text
- Removed unused Check icon from SidebarUserProfile and Select components.
- Enhanced hover and focus styles for SidebarUserProfile and ModelSelector items for better user experience.
- Updated loading text in ModelSelector for consistency.
2026-01-20 17:53:36 +05:30
Anish Sarkar
23f1be50f7 refactor: replace Lock icon with User icon for private chats 2026-01-20 16:57:15 +05:30
Anish Sarkar
459a354e0f feat: shifted the theme selection to user profile sidebar 2026-01-20 16:04:56 +05:30
Anish Sarkar
24049345a2 feat: add language selection feature to user profile sidebar, fixed some hover color logic for both model selector and language selection 2026-01-20 15:47:23 +05:30
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
aea3040271 refactor: update sidebar components for improved styling and consistency
- Removed unused type import from `AllPrivateChatsSidebar` and `AllSharedChatsSidebar`.
- Adjusted class names for icons in sidebar components to enhance visual consistency.
- Updated `SidebarSection` to remove unnecessary gap classes for cleaner layout.
- Changed sync version in `client.ts` to v2 for user-specific database architecture.
- Modified search chat placeholder text in `en.json` for clarity.
2026-01-15 17:17:51 +05:30
CREDO23
54568a62e0 fix: add referrerPolicy for Google profile images 2026-01-14 20:30:02 +02:00
CREDO23
9d3c6f0ee1 show user avatar in sidebar when available 2026-01-14 15:22:24 +02:00
DESKTOP-RTLN3BA\$punk
25b9118306 feat: implement search space deletion and fixed rback issues with shared chats 2026-01-13 01:45:58 -08:00
DESKTOP-RTLN3BA\$punk
fbeffd58fe refactor: simplify MobileSidebar component by removing unused props 2026-01-13 01:07:08 -08:00
Rohan Verma
720b339702
Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00
DESKTOP-RTLN3BA\$punk
c22e7ce56c feat: cleanup 2026-01-13 00:24:17 -08:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
CREDO23
4ace7d09a0 Remove all search spaces sheet and dropdown option 2026-01-13 00:49:27 +02:00
DESKTOP-RTLN3BA\$punk
73a57589ac chore: linting 2026-01-12 14:17:15 -08:00
CREDO23
dc79fd97b0 Fix MobileSidebar missing onUserSettings prop 2026-01-12 17:22:05 +02:00
CREDO23
34c9d24970 Add User Settings page with sidebar pattern and API key section 2026-01-12 17:06:05 +02:00
CREDO23
eed04e9b27 refactor: rename Workspace to SearchSpace in layout components 2026-01-12 15:47:56 +02:00
CREDO23
a919f8d9ee feat: add new layout system (Slack/ClickUp inspired) 2026-01-08 19:10:40 +02:00