Commit graph

2454 commits

Author SHA1 Message Date
Anish Sarkar
a449e7e2a6 feat: enhance notifications API and inbox functionality
- Added a new endpoint to list notifications with pagination, allowing users to fetch older notifications beyond the sync window.
- Introduced response models for notifications and improved error handling for date filtering.
- Updated the useInbox hook to support API fallback for loading older notifications when Electric SQL returns no recent items.
- Implemented deduplication and sorting logic for inbox items to prevent race conditions and ensure consistent data display.
- Enhanced loading logic for inbox items, including improved pagination and handling of loading states.
2026-01-22 16:02:25 +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
57baeda767 refactor: remove archived column migration for notifications 2026-01-22 02:14:46 +05:30
Anish Sarkar
200f8732f6 Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-22 02:13:42 +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
Rohan Verma
017eabe6cf
Merge pull request #718 from AnishSarkar22/feat/github-connector
feat: Integrate gitingest for GitHub connector
2026-01-21 12:28:28 -08:00
Rohan Verma
4fa71d2cd6
Merge pull request #716 from AnishSarkar22/fix/chat-ui
fix: Simiplify UI for chat
2026-01-21 12:21:46 -08:00
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
8eec948434 feat: enhance team management UI with avatar initials and role permissions display
- Added a helper function to generate avatar initials for team members without an avatar.
- Improved the MembersTab component by displaying user avatars or initials.
- Introduced a new RolePermissionsDisplay component to present role permissions in a categorized manner.
- Updated table headers in MembersTab for better clarity and added icons for visual enhancement.
2026-01-21 17:13:30 +05:30
Anish Sarkar
4653eb5f64 refactor: update role management UI components for improved interaction
- Renamed props in RolesTab for clarity.
- Replaced label elements with button elements in CreateRoleDialog for better accessibility and interaction.
- Enhanced toggle functionality for category and permission selection.
2026-01-21 16:25:38 +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
01307f36dd refactor: simplify state management in ChatShareButton and ModelSelector 2026-01-21 15:14:14 +05:30
Anish Sarkar
d35d89f3a9 chore: ran linting 2026-01-21 03:28:34 +05:30
Anish Sarkar
5a95a6b543 feat: Add documentation link to GitHub connect form
- Replaced the removed Accordion component with a direct link to the GitHub connector documentation.
- Enhanced user experience by providing easy access to relevant documentation.
2026-01-21 01:21:25 +05:30
Anish Sarkar
8bd1ba0251 refactor: Simplify GitHub connect form by removing unused components and documentation sections 2026-01-21 00:21:21 +05:30
Anish Sarkar
6dd535c85a fix: Clean up GitHub connector UI and documentation
- Removed unnecessary period from the GitHub connect form alert description.
- Moved helper functions for string and array conversion outside the component to avoid useEffect dependency issues.
- Updated the GitHub connector documentation to provide detailed indexing information and troubleshooting tips for users.
2026-01-21 00:19:17 +05:30
Anish Sarkar
35888144eb refactor: Update GitHub connector to use gitingest CLI
- Refactored GitHubConnector to utilize gitingest CLI via subprocess, improving performance and avoiding async issues with Celery.
- Updated ingestion method to handle repository digests more efficiently, including error handling for subprocess execution.
- Adjusted GitHub indexer to call the new synchronous ingestion method.
- Clarified documentation regarding the optional nature of the Personal Access Token for public repositories.
2026-01-20 23:24:33 +05:30
Anish Sarkar
49b8a46d10 feat: Integrate gitingest for GitHub repository ingestion
- Added gitingest as a dependency to streamline the ingestion of GitHub repositories.
- Refactored GitHubConnector to utilize gitingest for efficient repository digest generation, reducing API calls.
- Updated GitHub indexer to process entire repository digests, enhancing performance and simplifying the indexing process.
- Modified GitHub connect form to indicate that the Personal Access Token is optional for public repositories.
2026-01-20 21:52:32 +05:30
Anish Sarkar
80f83e32c6 chore: frontend linting 2026-01-20 20:47:31 +05:30
Anish Sarkar
f67ff41790 feat: implement notification filtering and enhance notification UI
- Added notification type filtering functionality to the NotificationButton and NotificationPopup components.
- Integrated localStorage to persist the selected notification filter across sessions.
- Updated useNotifications hook to support fetching notifications based on the selected filter.
- Enhanced NotificationPopup to display filter pills for better user interaction and notification management.
2026-01-20 20:35:45 +05:30
Anish Sarkar
96701a9f01 feat: enhance chat comment notifications with author details
- Added author_avatar_url and author_email to comment creation and reply functions for improved metadata.
- Updated MentionNotificationHandler to include author details in notifications.
- Enhanced NotificationPopup to display author's avatar with initials fallback for mentions.
- Updated notification types to accommodate new author fields.
2026-01-20 20:05:37 +05:30
Anish Sarkar
3fb83e4c3a refactor: enhance comment components with improved styles and functionality
- Updated placeholder text in CommentComposer for clarity.
- Implemented auto-resizing for the textarea in CommentComposer.
- Adjusted styles for CommentPanel and CommentSheet for better layout and usability.
- Enhanced CommentActions button visibility on hover for improved interaction.
- Refined comment item display logic to simplify user experience.
2026-01-20 19:49:34 +05:30
Anish Sarkar
26ca751a9d refactor: update UI component styles and interactions
- Increased gap between action items in Header for improved layout.
- Added onCloseAutoFocus to ChatShareButton for better focus management.
- Enhanced ChevronDown icon in ModelSelector with rotation effect for better visual feedback.
- Adjusted padding in ModelSelector to maintain consistent spacing.
2026-01-20 18:28:50 +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
1f06794021 feat: enhance UI components with new border radius and tooltip features
- Added new border radius options (2xl, 3xl) in Tailwind configuration and globals.css.
- Integrated Tooltip component in ChatShareButton and ModelSelector for improved user experience.
- Updated button styles for consistency across components, including NotificationButton and ModelSelector.
- Minor text adjustments for clarity in SourceDetailPanel.
2026-01-20 17:35:08 +05:30
Anish Sarkar
23f1be50f7 refactor: replace Lock icon with User icon for private chats 2026-01-20 16:57:15 +05:30
Rohan Verma
6e331c3b85
Merge pull request #717 from MODSetter/dev
refactor: bulk updating Admin to Editor roles
2026-01-20 03:12:59 -08:00
DESKTOP-RTLN3BA\$punk
c3c476c108 Merge commit '03ebd41f61' into dev 2026-01-20 03:12:25 -08:00
Anish Sarkar
c9a7e4aea5 fix: removed dashboard from breadcrumb 2026-01-20 16:42:10 +05:30
DESKTOP-RTLN3BA\$punk
f200502ffc refactor: bulk updating Admin to Editor roles
- Consolidated the migration process for search space memberships and invites from Admin to Editor roles using bulk SQL updates.
- Removed the Admin role in bulk for system roles.
- Updated permissions for Editor and Viewer roles across all search spaces in a more efficient manner.
2026-01-20 03:11:49 -08:00
Anish Sarkar
08e00d0991 Merge remote-tracking branch 'upstream/dev' into fix/chat-ui 2026-01-20 16:35:49 +05:30
Anish Sarkar
4e4ea6fba0 feat: add thread visibility management using Jotai atoms in chat components 2026-01-20 16:33:42 +05:30
Rohan Verma
03ebd41f61
Merge pull request #715 from MODSetter/dev
chore: fixed rback roles
2026-01-20 03:01:20 -08:00
DESKTOP-RTLN3BA\$punk
e578bb9e77 chore: linting 2026-01-20 03:00:02 -08:00
DESKTOP-RTLN3BA\$punk
e163708bad feat: Refactor role permissions and access checks
- Removed the Admin role and updated the permission sets for Owner, Editor, and Viewer roles in db.py.
- Clarified access requirements for chat threads in new_chat_routes.py, ensuring ownership checks are prioritized.
- Added preset permission options for quick role creation in the CreateRoleDialog component of the team page.
2026-01-20 02:59:32 -08:00
Anish Sarkar
8e5a80fc19 feat: integrate chat sharing functionality in header component 2026-01-20 16:14:57 +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
Rohan Verma
43eb1cc5af
Merge pull request #714 from MODSetter/dev
docs: updated docs
2026-01-20 02:04:26 -08:00
DESKTOP-RTLN3BA\$punk
048ac6892c Merge commit '4793e54b78' into dev 2026-01-20 02:03:43 -08:00
DESKTOP-RTLN3BA\$punk
4595fd3d1f docs: updated docs 2026-01-20 02:03:05 -08:00
Rohan Verma
4793e54b78
Merge pull request #713 from MODSetter/dev
Feat: Add Chat Comments with Mentions, MCP Connectors, and Electric SQL Integration
2026-01-20 00:32:45 -08:00
DESKTOP-RTLN3BA\$punk
d96ae66012 chore: linting 2026-01-20 00:32:31 -08:00
Rohan Verma
08df9e68e5
Merge pull request #712 from AnishSarkar22/fix/ui-mcp
fix: UI fix for MCP connector
2026-01-19 23:36:42 -08:00