Commit graph

220 commits

Author SHA1 Message Date
Matt Van Horn
3621951f2a perf: throttle scroll handlers with requestAnimationFrame
Wrap scroll handlers in thread.tsx, InboxSidebar.tsx, and
DocumentsTableShell.tsx with requestAnimationFrame batching so scroll
position state updates fire at most once per animation frame instead of
on every scroll event (up to 60/sec at 60fps). Add cleanup useEffect to
cancel pending frames on unmount.

Fixes #1103
2026-04-02 23:21:57 -07:00
SohamBhattacharjee2003
ae3b69443f perf: add content-visibility: auto to long list items
Apply content-visibility: auto to off-screen list and sidebar items
to skip browser layout and painting until they scroll into view.

Changes:
- globals.css: add .list-item-lazy (48px) and .sidebar-item-lazy (40px) utilities
- DocumentsTableShell: apply list-item-lazy to desktop <tr> rows and mobile card divs
- AllPrivateChatsSidebar: apply sidebar-item-lazy to thread items
- AllSharedChatsSidebar: apply sidebar-item-lazy to thread items
- InboxSidebar: apply content-visibility inline (80px intrinsic height) to inbox items

Implements Vercel React Best Practices Rule: rendering-content-visibility (6.2)
2026-04-02 02:26:55 +05:30
SohamBhattacharjee2003
5bfeda62f2 perf: use useDeferredValue for search/filter transitions
- prompt-picker: defer externalSearch before filtering prompt list
- document-mention-picker: defer debouncedSearch for client-side single-char filtering
- InboxSidebar: defer activeSource.items and searchResponse.items before filteredItems memo

Keeps search inputs responsive under React 18 Concurrent Mode by marking
expensive filtering computations as non-urgent updates (rule: rerender-transitions 5.11)
2026-04-02 01:45:18 +05:30
DESKTOP-RTLN3BA\$punk
5c8769508f chore: linting 2026-03-31 21:42:03 -07:00
DESKTOP-RTLN3BA\$punk
0201fd319d refactor: update document processing status handling and improve sidebar components 2026-03-31 21:29:46 -07:00
DESKTOP-RTLN3BA\$punk
a9fd45844d feat: integrate Stripe for page purchases and reconciliation tasks 2026-03-31 18:39:45 -07:00
CREDO23
1aeb5ba645 Merge remote-tracking branch 'upstream/dev' into feature/prompt-library 2026-03-31 22:41:53 +02:00
CREDO23
440762fb07 Merge upstream/dev 2026-03-31 20:21:12 +02:00
Anish Sarkar
2327869147 style: adjust header and sidebar heights for improved layout consistency and update TabBar component for better responsiveness 2026-03-31 16:35:29 +05:30
CREDO23
1fd3a36c57 chore: format upstream files 2026-03-30 20:33:40 +02:00
Anish Sarkar
b950299072 feat: add support for creating and deleting Dropbox files in chat tools and update connector display name 2026-03-30 23:09:36 +05:30
Anish Sarkar
86ce75ea39 feat: add Dropbox connector to display name mappings in UI and utility functions 2026-03-30 22:54:43 +05:30
Anish Sarkar
04691d572b chore: ran linting 2026-03-30 01:50:41 +05:30
Anish Sarkar
69b8eef5ce refactor: enhance chat tab management by implementing fallback navigation and preventing race conditions during deletion for improved user experience 2026-03-29 22:12:55 +05:30
Anish Sarkar
b54aa517a8 refactor: implement chat tab removal functionality and enhance tab title update logic for improved user experience 2026-03-29 21:34:41 +05:30
Anish Sarkar
7632291731 refactor: improve UI consistency by standardizing header and sidebar component heights, and enhance right panel functionality with expanded button integration 2026-03-29 21:27:10 +05:30
Anish Sarkar
fec5c005eb refactor: enhance button loading states in various components for improved user experience 2026-03-29 16:26:31 +05:30
Anish Sarkar
5a3eece397 Merge remote-tracking branch 'upstream/dev' into feat/onedrive-connector 2026-03-29 11:55:06 +05:30
DESKTOP-RTLN3BA\$punk
2cc2d339e6 feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
Anish Sarkar
838d38a67a feat: implement document preview functionality in DocumentsSidebar and enhance mobile experience with vaul drawer 2026-03-29 04:20:22 +05:30
Anish Sarkar
37e018e94f refactor: simplify DialogFooter component by removing unnecessary gap classes for a cleaner layout 2026-03-29 03:50:11 +05:30
Anish Sarkar
8dadf5ab9f feat: integrate right panel collapse functionality in DocumentsSidebar for improved mobile experience 2026-03-29 03:49:52 +05:30
DESKTOP-RTLN3BA\$punk
ee0b59c0fa feat: enhance folder and document selection functionality
- Updated DocumentNode to use a div instead of a button for better accessibility and added keyboard interaction for selection.
- Introduced Checkbox component in FolderNode for selecting folders, with state management for selection (all, some, none).
- Implemented folder selection state logic in FolderTreeView to manage document selection across nested folders.
- Added handleToggleFolderSelect function in DocumentsSidebar to manage selection of documents based on folder selection.
2026-03-27 17:58:04 -07:00
Anish Sarkar
b5ef7afb1c feat: add multi-format document export functionality to editor routes and UI components
- Implemented a new export endpoint in the backend to support exporting documents in various formats (PDF, DOCX, HTML, LaTeX, EPUB, ODT, plain text).
- Enhanced DocumentNode and FolderTreeView components to include export options in context and dropdown menus.
- Created shared ExportMenuItems component for consistent export options across the application.
- Integrated loading indicators for export actions to improve user experience.
2026-03-28 02:58:38 +05:30
Anish Sarkar
0aa9cd6dfc feat: implement dropdown menu state management in DocumentNode and sidebar components 2026-03-28 02:32:03 +05:30
Anish Sarkar
ddccba0df8 refactor: improve UI components for folder and document management 2026-03-27 23:11:13 +05:30
DESKTOP-RTLN3BA\$punk
64c913baa3 chore: linting 2026-03-27 03:17:05 -07:00
DESKTOP-RTLN3BA\$punk
685ad0c02d feat: add folder management features including creation, deletion, and organization of documents within folders 2026-03-27 01:39:15 -07:00
DESKTOP-RTLN3BA\$punk
ccf8454db5 Merge commit '59e21db42b' into dev 2026-03-24 21:20:30 -07:00
likiosliu
cbb93518b6 fix: remove unused useRouter and useParams in SidebarHeader
Closes #944
2026-03-25 10:32:53 +08:00
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
2bc6a0c3bc chore: ran linting 2026-03-22 00:43:53 +05:30
Anish Sarkar
44f59bfb61 refactor: add isActive prop to SidebarButton and NavSection for improved active state management; update styles accordingly 2026-03-22 00:01:50 +05:30
Anish Sarkar
020d806b1f refactor: unify sidebar state management in LayoutDataProvider to allow only one slide-out panel open at a time 2026-03-22 00:01:31 +05:30
Anish Sarkar
7d33a69e20 refactor: replace Tabs component with animated-tabs in InboxSidebar for improved UI transitions; adjust loading skeleton key props for consistency 2026-03-21 22:42:17 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
affc89dd5c feat: introduce SidebarButton component for improved sidebar interactions 2026-03-21 12:06:48 +05:30
Anish Sarkar
3a2f80780a feat: replace image rendering with Avatar component in team content and sidebar user profile
- Updated team content to utilize Avatar for member display, enhancing visual consistency.
- Modified SidebarUserProfile to include select-none class for improved styling.
2026-03-17 18:36:46 +05:30
Anish Sarkar
f617ae8742 feat: implement editor panel functionality and integrate with existing components
- Added editor panel state management using Jotai atoms.
- Integrated editor panel into the right panel and documents sidebar.
- Updated DocumentsTableShell to open the editor panel on edit action.
- Enhanced NewChatPage to close the editor panel when navigating away.
- Improved context menu actions for document editing and deletion.
2026-03-17 16:55:31 +05:30
Anish Sarkar
9321d27021 fix: update styling and accessibility in various components
- Simplified text in DocumentsTableShell for clarity.
- Enhanced RightPanel styling for better visual consistency.
- Adjusted ChatListItem styles for improved interaction.
- Updated ReportPanelContent to include background styling and improved layout.
- Modified Drawer and FixedToolbar components for better UI integration.
2026-03-17 14:16:22 +05:30
Anish Sarkar
440f5aec72 fix: improve accessibility and styling in sidebar components 2026-03-17 12:42:25 +05:30
Anish Sarkar
591a39ee56 fix: enhance ChatListItem styling for improved UI interaction 2026-03-17 12:27:05 +05:30
Anish Sarkar
ac0f2fa2eb chore: ran linting 2026-03-17 04:40:46 +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
54e6a4a2cf refactor: simplify joyride attributes and enhance skeleton loading styles
- Removed the joyride attribute for the "Documents" section in the sidebar.
- Updated skeleton loading components in MorePagesContent to include a muted background for improved visibility.
2026-03-17 02:52:21 +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
DESKTOP-RTLN3BA\$punk
d960a065b1 chore: linting 2026-03-11 15:10:53 -07:00
DESKTOP-RTLN3BA\$punk
d61e29e74b feat: fixed connectors dialog navigation, Implement bulk document deletion and improve search space filtering
- Added bulk delete functionality for documents in DocumentsTableShell and DocumentsSidebar.
- Enhanced search space retrieval to exclude spaces marked for deletion in read_search_spaces.
- Updated connector dialog to synchronize URL parameters when opened externally.
- Improved layout behavior to handle search space deletion and redirection more effectively.
2026-03-11 15:09:10 -07:00
Anish Sarkar
9503d4ade1 chore: ran linting 2026-03-11 12:30:20 +05:30