Commit graph

235 commits

Author SHA1 Message Date
Rohan Verma
183169a37a
Merge pull request #1113 from SohamBhattacharjee2003/perf/optimize-threads-query
perf: normalize query keys and add placeholderData to optimize…
2026-04-03 08:12:16 -07:00
Rohan Verma
d8231c2002
Merge pull request #1108 from mvanhorn/perf/throttle-scroll-handlers
perf: throttle scroll handlers with requestAnimationFrame
2026-04-03 08:06:25 -07:00
SohamBhattacharjee2003
8eaa4e618d perf(hooks): normalize query keys and add placeholderData to optimize thread loading 2026-04-03 14:42:44 +05:30
Anish Sarkar
746c730b2e chore: ran linting 2026-04-03 13:14:40 +05:30
Anish Sarkar
8171605fae refactor: remove metadata viewing functionality from FolderNode, FolderTreeView, and DocumentsSidebar components 2026-04-03 13:05:42 +05:30
Matt Van Horn
e38a0ff7c3 style: format useEffect cleanup to satisfy biome 2026-04-02 23:43:19 -07:00
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
Anish Sarkar
62b44889d1 Merge remote-tracking branch 'upstream/dev' into feat/local-folder-sync 2026-04-03 11:42:43 +05:30
Anish Sarkar
79f19b9bc6 fix: adjust layout in DocumentsSidebar for improved UI responsiveness and interaction, including changes to button styles and positioning 2026-04-03 11:10:46 +05:30
Anish Sarkar
4ca0787ab7 feat: add version history functionality to document management, enabling users to view and manage document versions through UI updates and backend integration 2026-04-03 10:42:21 +05:30
Anish Sarkar
e2ba509314 feat: enhance error handling in local folder indexing by adding rollback and refresh on IntegrityError 2026-04-03 09:29:59 +05:30
Anish Sarkar
fe7fcaae5d feat: update folder deletion process to queue document deletions first and handle folder cleanup in Celery task 2026-04-03 04:16:19 +05:30
Anish Sarkar
530db10539 refactor: remove unused Electron API check and update search space ID handling in document upload 2026-04-03 02:56:24 +05:30
Anish Sarkar
b46c5532b3 feat: add unified file and folder browsing functionality with IPC channel integration 2026-04-03 00:28:24 +05:30
Anish Sarkar
25358fddcf feat: implement local folder synchronization and versioning with new metadata handling and document_versions table 2026-04-02 23:46:21 +05:30
Anish Sarkar
493d720b89 refactor: remove Local Folder connector references and enhance folder management features 2026-04-02 22:21:01 +05:30
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