Commit graph

4691 commits

Author SHA1 Message Date
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
8191eaf6cc
Merge pull request #972 from LikiosSedo/fix/document-type-chip-dependency
fix: add missing type dependency in DocumentTypeChip truncation useEffect
2026-03-25 12:57:14 -07:00
Rohan Verma
a913e616e6
Merge pull request #974 from LikiosSedo/fix/remove-authtype-useeffect
fix: remove unnecessary useEffect + useState for AUTH_TYPE constant
2026-03-25 12:55:46 -07:00
Rohan Verma
0a5873cd6a
Merge pull request #976 from LikiosSedo/fix/stale-event-register-retry
fix: avoid stale event reference in register page retry action
2026-03-25 12:52:10 -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
Rohan Verma
dfe3e7b43f
Merge pull request #977 from tysoncung/fix/918-github-stars-loading-state
fix(ui): show skeleton instead of fake star count while loading
2026-03-25 12:34:41 -07:00
Rohan Verma
228291a19a
Merge pull request #981 from CREDO23/electon-desktop
Feat(desktop): Quick-ask floating panel with global shortcut
2026-03-25 12:33:51 -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
CREDO23
2af4784e63 cross-platform panel: toolbar fallback for Windows/Linux 2026-03-25 18:26:28 +02:00
CREDO23
743172785d escape to hide, clamp panel to screen bounds, disable maximize 2026-03-25 18:00:00 +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
CREDO23
2ae83e8b28 keep panel floating, handle window opens, disable fullscreen 2026-03-25 17:05:03 +02:00
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
97e7e73baf fix: remove unnecessary useEffect + useState for AUTH_TYPE constant
AUTH_TYPE is a static module-level import that never changes.
No need for useState + useEffect; use the constant directly.

Closes #941
2026-03-25 22:09:56 +08:00
likiosliu
e9c51a9fba fix: avoid stale event reference in register page retry action
Extract submission logic into submitForm() so the retry toast
action does not capture the original SyntheticEvent, which may
be recycled by React by the time the user clicks retry.

Closes #945
2026-03-25 22:09:56 +08:00
likiosliu
2a7b50408f fix: add missing type dependency in DocumentTypeChip truncation check
Closes #946
2026-03-25 22:09:55 +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
CREDO23
91ad36027d fix: send clipboard text after page load on first open 2026-03-25 15:57:20 +02:00
Anish Sarkar
c3d5c865fd fix: update file skipping logic in Google Drive indexer
- Modified the `_should_skip_file` function to prevent skipping of documents with a FAILED status, ensuring they are reprocessed even if their content remains unchanged.
- Added a new integration test to verify that FAILED documents are not skipped during the indexing process.
2026-03-25 18:51:40 +05:30
Anish Sarkar
8c41fd91ba feat: add integration tests for indexing pipeline components
- Introduced integration tests for Calendar, Drive, and Gmail indexers to ensure proper document creation and migration.
- Added tests for batch indexing functionality to validate the processing of multiple documents.
- Implemented tests for legacy document migration to verify updates to document types and hashes.
- Enhanced test coverage for the IndexingPipelineService to ensure robust functionality across various document types.
2026-03-25 18:34:02 +05:30
Anish Sarkar
f7b52470eb feat: enhance Google connectors indexing with content extraction and document migration
- Added `download_and_extract_content` function to extract content from Google Drive files as markdown.
- Updated Google Drive indexer to utilize the new content extraction method.
- Implemented document migration logic to update legacy Composio document types to their native Google types.
- Introduced identifier hashing for stable document identification.
- Improved file pre-filtering to handle unchanged and rename-only files efficiently.
2026-03-25 18:33:44 +05:30
Rohan Verma
a474c4651c
Merge pull request #970 from MODSetter/dev_mod
docs: update CONTRIBUTING.md to clarify branching workflow and PR sub…
2026-03-25 03:10:02 -07:00
DESKTOP-RTLN3BA\$punk
8d6e249c10 docs: update CONTRIBUTING.md to clarify branching workflow and PR submission process 2026-03-25 03:09:05 -07:00
Rohan Verma
8227d1852f
Merge pull request #966 from MODSetter/dev
feat: HITL Workflows and Fixing Real-Time Sync
2026-03-25 00:10:15 -07:00
Rohan Verma
bca94f84fe
Merge pull request #965 from MODSetter/dev_mod
fix: add CheckIcon and CopyIcon imports to user-message component
2026-03-25 00:07:50 -07: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
Rohan Verma
59e21db42b
Merge pull request #961 from MODSetter/fix/pricing-map-index
Add index parameter to plans.map callback in Pricing component
2026-03-24 20:45:05 -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
Rohan Verma
c7cd3c6a9d
Merge pull request #960 from LikiosSedo/fix/stable-keys-pricing
fix: replace `key={index}` with stable keys in pricing component
2026-03-24 20:37:47 -07:00
Rohan Verma
3bc4cbd22d
Merge pull request #959 from LikiosSedo/fix/add-noopener-link-toolbar
fix: add `rel="noopener noreferrer"` to external link in link-toolbar
2026-03-24 20:37:35 -07:00
Rohan Verma
c69085def7
Merge pull request #958 from LikiosSedo/fix/hero-section-timeout-cleanup
fix: add missing `setTimeout` cleanup in hero section collision effect
2026-03-24 20:37:19 -07:00
Rohan Verma
1252d8e1fa
Merge pull request #957 from LikiosSedo/fix/remove-unused-sidebar-header-imports
fix: remove unused `useRouter` and `useParams` in SidebarHeader
2026-03-24 20:36:47 -07:00
Rohan Verma
385826a862
Merge pull request #956 from LikiosSedo/fix/spotlight-event-listener-leak
fix: use stable references for event listeners in Spotlight component
2026-03-24 20:36:13 -07:00
Rohan Verma
7014adb95b
Merge pull request #955 from LikiosSedo/fix/clear-timeout-code-block
fix: add missing `clearTimeout` cleanup in CopyButton useEffect
2026-03-24 20:35:35 -07:00
Rohan Verma
c2bcc038dc
Merge pull request #954 from Nishant-k-sagar/issue-903-img-to-next-image
perf: replace img with Next.js Image for avatars
2026-03-24 20:34:41 -07:00
Rohan Verma
975289cc44
Merge pull request #953 from Nishant-k-sagar/placeholder-text
feat: add placeholder text to login and register inputs
2026-03-24 20:33:54 -07:00
likiosliu
967f9762c3 fix: replace key={index} with stable keys in pricing component
Use plan.name and feature text as keys instead of array indices.

Closes #942
2026-03-25 10:41:56 +08:00
likiosliu
1967c14a8e fix: add rel="noopener noreferrer" to target="_blank" link in link-toolbar
Closes #938
2026-03-25 10:40:35 +08:00
likiosliu
16ffdd898a fix: add missing setTimeout cleanup in hero section collision effect
Closes #940
2026-03-25 10:40:06 +08:00
likiosliu
cbb93518b6 fix: remove unused useRouter and useParams in SidebarHeader
Closes #944
2026-03-25 10:32:53 +08:00
likiosliu
8d8c36fc59 fix: use stable references for event listeners in Spotlight component
Anonymous arrow functions create different references on add/remove,
so the listeners were never actually removed.

Closes #933
2026-03-25 10:32:11 +08:00
likiosliu
89fff1f81f fix: add missing clearTimeout cleanup in CopyButton useEffect
Closes #934
2026-03-25 10:31:35 +08:00