Commit graph

1441 commits

Author SHA1 Message Date
Rohan Verma
cae4262e35
Merge pull request #1021 from mvanhorn/osc/951-functional-state-carousel
refactor: use functional state updates in hero carousel callbacks
2026-03-28 16:55:17 -07:00
Rohan Verma
9e43423940
Merge pull request #1023 from Judel777/feat/lazy-load-syntax-highlighter
Lazy-load syntax highlighter in markdown text renderer
2026-03-28 16:54:19 -07:00
Rohan Verma
7400f215af
Merge pull request #1024 from qorexdev/fix/onboarding-animation-state-in-handlers
refactor: move onboarding animation state into event handlers
2026-03-28 16:53:36 -07:00
Rohan Verma
b72424a3f3
Merge pull request #1026 from Judel777/feat/aria-web-search-toggle-clean
Add aria-label and aria-pressed to web search toggle
2026-03-28 16:53:00 -07:00
DESKTOP-RTLN3BA\$punk
2cc2d339e6 feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
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
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
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
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
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
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
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
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
DESKTOP-RTLN3BA\$punk
0583ad5705 Merge commit 'dfe3e7b43f' into dev 2026-03-25 13:29:10 -07:00
Rohan Verma
abe3b7bce7
Merge pull request #973 from LikiosSedo/fix/onboarding-tour-timeout-cleanup
fix: clean up recursive setTimeout calls in onboarding tour
2026-03-25 12:57:52 -07:00
Rohan Verma
76822889f1
Merge pull request #971 from LikiosSedo/fix/window-open-noopener
fix: add noopener to window.open call in AnnouncementToastProvider
2026-03-25 12:38:49 -07:00
CREDO23
6619f9598c Merge remote-tracking branch 'upstream/dev' into electon-desktop
# Conflicts:
#	surfsense_web/components/assistant-ui/thread.tsx
2026-03-25 19:03:19 +02:00
Anish Sarkar
bbd5ee8a19 feat: enhance Google Calendar event update functionality
- Introduced helper functions `_is_date_only` and `_build_time_body` to streamline the construction of event start and end times for all-day and timed events.
- Refactored the `create_update_calendar_event_tool` to utilize the new helper functions, improving code readability and maintainability.
- Updated the Google Calendar sync service to ensure proper handling of calendar IDs with a default fallback to "primary".
- Modified the ApprovalCard component to simplify the construction of event update arguments, enhancing clarity and reducing redundancy.
2026-03-25 20:35:23 +05:30
Tyson Cung
b17ce0e64f fix(ui): show skeleton instead of fake star count while loading (#918)
Replace the misleading 10000 placeholder with a Skeleton component
during the loading state of the GitHub stars badge. This prevents
users from thinking 10000 is the actual star count before real data
loads.

Closes #918
2026-03-25 14:43:11 +00:00
CREDO23
7cbb67f0dd scroll to cursor after inserting clipboard text 2026-03-25 16:36:52 +02:00
CREDO23
f3d6ae95e1 fix: pull-based clipboard text and cursor at end with br 2026-03-25 16:22:32 +02:00
likiosliu
e5cabf95e4 fix: clean up recursive setTimeout calls in onboarding tour
- Add cancelled flag to prevent state updates after unmount in
  checkAndStartTour retry loop
- Store retry timer ID in a ref and clear it on cleanup in
  updateTarget effect

Closes #950
2026-03-25 22:09:56 +08:00
likiosliu
227fb014d4 fix: add noopener to window.open call in AnnouncementToastProvider
Closes #939
2026-03-25 22:09:55 +08:00
CREDO23
4a5a28805d start at /dashboard, focus cursor after clipboard text 2026-03-25 16:08:39 +02:00
DESKTOP-RTLN3BA\$punk
a73c4430e0 fix: add CheckIcon and CopyIcon imports to user-message component 2026-03-24 21:50:40 -07:00
DESKTOP-RTLN3BA\$punk
ccf8454db5 Merge commit '59e21db42b' into dev 2026-03-24 21:20:30 -07:00
DESKTOP-RTLN3BA\$punk
e3f5b7923a Add index parameter to plans.map callback in Pricing component
Made-with: Cursor
2026-03-24 20:44:14 -07:00