Commit graph

1855 commits

Author SHA1 Message Date
Anish Sarkar
db49f851ba feat: add ONEDRIVE_FILE mapping to connector-document-mapping and document type enum for improved OneDrive integration 2026-03-29 03:35:07 +05:30
Anish Sarkar
c8767272ec feat: enhance OneDrive folder management by adding mimeType handling and integrating DriveFolderTree component for improved UI 2026-03-29 03:29:31 +05:30
CREDO23
11374248d8 restore custom actions API service and wire to ActionPicker 2026-03-28 23:51:33 +02:00
CREDO23
407059ce84 add action chip in composer with prompt prepend at send time 2026-03-28 23:45:11 +02:00
CREDO23
c2644aa6a2 wire / action picker in Composer with keyboard navigation 2026-03-28 23:20:10 +02:00
CREDO23
3be0988a7b add ActionPicker component for / command trigger 2026-03-28 23:16:02 +02:00
CREDO23
cb6f4562de add / action trigger to InlineMentionEditor 2026-03-28 23:12:33 +02:00
Anish Sarkar
101e426792 fix: remove error message display for Google Drive and OneDrive authentication issues; add toast notifications for picker errors 2026-03-28 23:57:57 +05:30
Anish Sarkar
ea218b7be6 feat: implement OneDrive picker integration and enhance connector functionality with new API endpoints and UI updates 2026-03-28 23:57:46 +05:30
Matt Van Horn
298e658bab
refactor: use functional state updates in hero carousel callbacks
Switched goTo, goToPrev, and goToNext from depending on activeIndex
to using functional setState updates. Removed activeIndex from the
autoplay effect dependency array since the timer callback already
uses a functional update. Callbacks are now stable references.

Fixes #951
2026-03-28 07:12:09 -07:00
Anish Sarkar
40f086b6ed refactor: replace useAuth with authenticatedFetch in OneDriveConfig and add OneDrive SVG icon 2026-03-28 17:33:41 +05:30
Anish Sarkar
b42b3a0a9b feat: enhance OneDrive integration with new file creation and deletion UI components 2026-03-28 17:01:08 +05:30
Anish Sarkar
147061284b feat: integrate OneDrive connector with UI components and configuration options 2026-03-28 17:00:52 +05:30
qorexdev
6540e3f774 refactor: wrap onAnimationEnd in useCallback for stable reference 2026-03-28 15:28:50 +05:00
jupal
6fe2f6fc90 Add aria attributes to web search toggle 2026-03-28 05:20:45 -04:00
jupal
80f5004349 feat(web): lazy-load markdown syntax highlighter 2026-03-28 04:22:17 -04:00
Anish Sarkar
64be61b627 refactor: change button to div for accessibility in DocumentNode component 2026-03-28 12:18:57 +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
qorexdev
3b33a3efdb refactor: move onboarding animation state into event handlers
Remove useEffect that watched stepIndex to drive shouldAnimate/contentKey.
stepIndex only changes from handleNext/handlePrev, so set shouldAnimate
directly in those handlers. Replace contentKey state (always equal to
stepIndex) with stepIndex as the animation key.

Fixes #1017
2026-03-28 04:01:49 +05:00
Rohan Verma
30034d68c3
Merge pull request #996 from AnishSarkar22/refactor/indexing-pipelines
feat: refactor indexing pipelines for some connectors
2026-03-27 15:05:01 -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
Rohan Verma
b88f2cf1a4
Merge pull request #1003 from JoeMakuta/feat/add-error-handling-in-setting
feat: add error handling for search space loading in GeneralSettingsManager
2026-03-27 14:11:03 -07:00
Rohan Verma
5fc3a4ea57
Merge pull request #1000 from JoeMakuta/feat/add-dialog-semantics
feat: enhance accessibility of ExpandedMediaOverlay
2026-03-27 14:08:55 -07:00
Anish Sarkar
0aa9cd6dfc feat: implement dropdown menu state management in DocumentNode and sidebar components 2026-03-28 02:32:03 +05:30
Anish Sarkar
96549791e6 feat: enhance DocumentNode component with loading and error indicators 2026-03-28 00:11:32 +05:30
CREDO23
58ac17fb81 fix: move quickAskMode to IPC to prevent sessionStorage leak between windows 2026-03-27 20:35:29 +02:00
CREDO23
9f13da3fd1 fix Ask SurfSense: pre-fill with initialText and cursor positioning 2026-03-27 20:07:55 +02:00
Anish Sarkar
0204ed5363 refactor: replace Pencil icon with PenLine and update TreePine to CirclePlus in document components 2026-03-27 23:26:12 +05:30
Anish Sarkar
13f4b175a6 feat: enhance context menu functionality in DocumentNode and FolderNode components 2026-03-27 23:14:10 +05:30
Anish Sarkar
ddccba0df8 refactor: improve UI components for folder and document management 2026-03-27 23:11:13 +05:30
CREDO23
151d6a853e use sessionStorage for quickAskMode to survive route changes 2026-03-27 19:20:14 +02:00
Anish Sarkar
17091edb77 Merge remote-tracking branch 'upstream/dev' into refactor/indexing-pipelines 2026-03-27 22:36:34 +05:30
JoeMakuta
e89f1ef75b feat: add error handling for search space loading in GeneralSettingsManager 2026-03-27 19:00:37 +02:00
CREDO23
59e0579cc0 simplify action menu to plain buttons, remove old quickAskText from thread 2026-03-27 18:24:34 +02:00
JoeMakuta
3fece6f765 code style 2026-03-27 18:07:14 +02:00
JoeMakuta
5f15ce9d1a feat: add keyboard accessibility to ExpandedMediaOverlay for closing with Escape key 2026-03-27 17:51:10 +02:00
CREDO23
cc9cb3919e show paste-back button only for transform actions 2026-03-27 17:47:02 +02:00
JoeMakuta
c76ff79bc4 feat: enhance accessibility of ExpandedMediaOverlay with ARIA roles and focus management 2026-03-27 17:38:32 +02:00
Anish Sarkar
3ce831d01d feat: reset indexing configurations in connector dialog 2026-03-27 19:28:34 +05:30
JoeMakuta
0b4ba58481 fix: add focus-visible styles to share button for improved accessibility 2026-03-27 15:22:26 +02:00
DESKTOP-RTLN3BA\$punk
64c913baa3 chore: linting 2026-03-27 03:17:05 -07:00
DESKTOP-RTLN3BA\$punk
23b4f91754 refactor: update dropdown and context menu item labels from 'Preview' to 'Open' for consistency 2026-03-27 02:45:48 -07:00
DESKTOP-RTLN3BA\$punk
e47c786e40 feat: implement session storage for tabs state management and optimize tab reset logic on search space change 2026-03-27 02:08:36 -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
Anish Sarkar
ec79142d52 refactor: replace document type counts atom with real-time hook
- Removed the `documentTypeCountsAtom` and its associated logic from the document query atoms.
- Introduced `useZeroDocumentTypeCounts` hook to provide real-time document type counts, enhancing responsiveness as documents are indexed.
- Updated components to utilize the new hook for fetching document type counts, ensuring instant updates in the UI.
2026-03-27 12:04:01 +05:30
CREDO23
2adffccd92 add paste-back button to assistant action bar 2026-03-26 20:30:19 +02:00
JoeMakuta
f00f7826ed fix: improve semantics and structure of settings forms in GeneralSettingsManager and PromptConfigManager 2026-03-26 15:11:39 +02:00
Rohan Verma
420eed01ea
Merge pull request #984 from LikiosSedo/fix/remove-unnecessary-use-client
fix: remove unnecessary "use client" from pure presentational components
2026-03-26 02:47:45 -07:00
likiosliu
3d762ccf62 fix: remove unnecessary "use client" from pure presentational components
These components only render JSX with props and don't use hooks,
event handlers, or browser APIs.
2026-03-26 11:50:39 +08:00
likiosliu
f7640671f3 fix: replace router.push with Link for static navigation in UserDropdown
Enables route prefetching and follows Next.js best practices.
Removes unused useRouter import.
2026-03-26 11:49:45 +08:00