Commit graph

258 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
DESKTOP-RTLN3BA\$punk
eb17850274 chore: linting 2026-04-02 19:45:28 -07:00
DESKTOP-RTLN3BA\$punk
62e698d8aa refactor: streamline document upload limits and enhance handling of mentioned documents
- Updated maximum file size limit to 500 MB per file.
- Removed restrictions on the number of files per upload and total upload size.
- Enhanced handling of user-mentioning documents in the knowledge base search middleware.
- Improved document reading and processing logic to accommodate new features and optimizations.
2026-04-02 19:39:10 -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
DESKTOP-RTLN3BA\$punk
17642493eb chore: linting 2026-03-31 14:45:46 -07:00
Rohan Verma
0508a39c40
Merge pull request #1040 from JoeMakuta/feat/disable-rename-button-and-dynamic-imports
feat : disable rename button and dynamic imports
2026-03-31 14:33:17 -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
JoeMakuta
be11dea7b3 Merge branch 'dev' into feat/disable-rename-button-and-dynamic-imports 2026-03-31 13:20:36 +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
JoeMakuta
fb72bb2b06 refactor: implement dynamic imports for PlateEditor in multiple components with loading skeletons 2026-03-30 19:26:33 +02:00
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
73016b4e82 refactor: enhance TabBar component with active tab highlighting and responsive design adjustments for improved user experience 2026-03-29 23:01:41 +05:30
Anish Sarkar
38b77dfb6b refactor: update editable document types to include 'FILE' and enhance related logic across components for improved functionality 2026-03-29 22:29:40 +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
a9683bb1dc feat: add support for HTML content in HitlEditPanel and PlateEditor components for only Confluence HITL tool 2026-03-22 02:42:51 +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
b4309f13be feat: add email tag input functionality to HITL edit panel
- Updated the HITL edit panel to support multiple email inputs using a tag input component.
- Modified the ExtraField type to include "emails" as a valid type.
- Enhanced the Gmail draft creation process to utilize the new email input format for "To", "CC", and "BCC" fields.
2026-03-20 22:46:49 +05:30
Anish Sarkar
39ce597907 feat: add HITL edit panel functionality and integrate with existing components
- Introduced HITL edit panel atom for managing state.
- Implemented HITL edit panel component for both desktop and mobile views.
- Updated right panel to include HITL edit tab and handle its visibility.
- Enhanced NewChatPage to incorporate the HITL edit panel for improved user interaction.
2026-03-17 23:33:22 +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