Commit graph

137 commits

Author SHA1 Message Date
Matt Van Horn
833ea18800 fix: add cancelAnimationFrame cleanup in animated-tabs useEffect
Store the requestAnimationFrame ID and cancel it on unmount
to prevent updateActiveIndicator from running on an unmounted
component.

Fixes #1093
2026-04-08 01:39:14 -07:00
Soham Bhattacharjee
e404b05b11
Merge branch 'dev' into fix/replace-transition-all-with-specific-transitions 2026-04-08 05:38:30 +05:30
SohamBhattacharjee2003
4a5af63715 fix: replace transition-all with specific transition properties for better performance
- Replace transition-all with transition-[width] in Sidebar.tsx for width animations
- Replace transition-all with specific properties in animated-tabs.tsx for hover/active indicators
- Replace transition-all with transition-[background-color,border-color,box-shadow] in navbar.tsx
- Replace transition-all with transition-[width] in audio.tsx volume bar
- Replace transition-all with transition-[background-color,border-color,color] in thread.tsx
- Replace transition-all with transition-[box-shadow] in all tool-ui status cards (28+ files)

This reduces unnecessary browser layout/paint work by only animating the specific
properties that change, avoiding expensive recalculations for properties like
width, height, margin, and padding that don't need animation.

Fixes #1147
2026-04-08 05:36:19 +05:30
Anish Sarkar
fcba577575 refactor: remove unused document management components and types, consolidating document-related functionality 2026-04-07 23:01:47 +05:30
Anish Sarkar
0a26a6c5bb chore: ran linting 2026-04-07 05:55:39 +05:30
Anish Sarkar
63a75052ca Merge remote-tracking branch 'upstream/dev' into feat/unified-etl-pipeline 2026-04-06 22:04:51 +05:30
Anish Sarkar
be622c417c refactor: update loading skeleton in PlateEditor and clean up dark mode styles in various components 2026-04-06 17:07:26 +05:30
Anish Sarkar
c9e5fe9cdb refactor: update icon usage in CommentActions and enhance Tooltip component for mobile responsiveness 2026-04-05 23:02:17 +05:30
sukarxn
af5977691b perf: optimize ui components with react hooks memoization
- toggle-group.tsx: Wrap contextValue in useMemo to prevent unnecessary re-renders
- animated-tabs.tsx: Hoist constants and memoize handlers with useCallback/useMemo
- LocaleContext.tsx: Wrap setLocale in useCallback and contextValue in useMemo
- plate-editor.tsx: Memoize SaveShortcutPlugin and contextProviderValue, use useRef for stable references
2026-04-03 23:23:54 +05:30
Anish Sarkar
62b44889d1 Merge remote-tracking branch 'upstream/dev' into feat/local-folder-sync 2026-04-03 11:42:43 +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
DESKTOP-RTLN3BA\$punk
eb17850274 chore: linting 2026-04-02 19:45:28 -07:00
JoeMakuta
fc4f9ba7c0 refac: import of UI components for dropdown menu, separator, toggle group, toggle, tooltip, and checkbox 2026-04-01 15:41:11 +02:00
Anish Sarkar
411ea3e052 fix: adjust DrawerHandle dimensions for improved UI consistency 2026-03-30 02:11:42 +05:30
Anish Sarkar
cbcaa7aed8 feat: add mobile citation drawer and enhance citation metadata context for improved citation management 2026-03-30 02:06:57 +05:30
Anish Sarkar
5a3eece397 Merge remote-tracking branch 'upstream/dev' into feat/onedrive-connector 2026-03-29 11:55:06 +05:30
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
Anish Sarkar
37e018e94f refactor: simplify DialogFooter component by removing unnecessary gap classes for a cleaner layout 2026-03-29 03:50:11 +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
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
DESKTOP-RTLN3BA\$punk
64c913baa3 chore: linting 2026-03-27 03:17:05 -07:00
DESKTOP-RTLN3BA\$punk
ccf8454db5 Merge commit '59e21db42b' into dev 2026-03-24 21:20:30 -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
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
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
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
Rohan Verma
ac403402ea
Merge pull request #928 from CREDO23/feat/migrate-electric-to-zero
[Feat] Migrate real-time sync from Electric SQL to Rocicorp Zero
2026-03-24 12:30:57 -07:00
DESKTOP-RTLN3BA\$punk
90c89f7d99 Merge commit 'c3c4671797' into dev 2026-03-24 12:30:30 -07:00
CREDO23
5d8a62a4a6 merge upstream/dev into feat/migrate-electric-to-zero
Resolve 8 conflicts:
- Accept upstream deletion of 3 composio_*_connector.py (unified Google connectors)
- Accept our deletion of ElectricProvider.tsx, use-connectors-electric.ts,
  use-messages-electric.ts (replaced by Zero equivalents)
- Keep both new deps in package.json (@rocicorp/zero + @slate-serializers/html)
- Regenerate pnpm-lock.yaml
2026-03-24 17:40:34 +02:00
CREDO23
0e49cc33f8 format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
DESKTOP-RTLN3BA\$punk
7f134efa03 fix: improved lighthouse scores
- Implemented dynamic import for HeroCarousel to improve loading performance.
- Added IntersectionObserver to manage video playback based on visibility.
- Removed unused video prefetching logic and adjusted autoplay conditions.
- Updated button styles for better consistency and user experience.
2026-03-24 01:44:15 -07:00
Anish Sarkar
3cee59e024 fix: update save shortcut to use cmd/ctrl+Shift+S for saving in PlateEditor and FixedToolbarButtons 2026-03-22 23:06:18 +05:30
Anish Sarkar
5c598e8588 Merge remote-tracking branch 'upstream/dev' into feat/human-in-the-loop 2026-03-22 15:45:45 +05:30
DESKTOP-RTLN3BA\$punk
cb6db30143 feat: add new carousel item for AI-generated video creation 2026-03-22 00:34:41 -07:00
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
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
19bd0c48e8 refactor: update class names and tooltip text in AssistantActionBar and AlertDialog components for improved clarity and consistency 2026-03-21 21:10:19 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
77cc2af14f Merge remote-tracking branch 'upstream/dev' into feat/human-in-the-loop 2026-03-21 13:17:24 +05:30
Anish Sarkar
9cd2c1f712 feat: integrate HITL phase management across tool components
- Refactored ApprovalCard in various tools (Gmail, Google Calendar, Google Drive) to utilize the new useHitlPhase hook for improved state management.
- Updated logic to handle tool action phases (pending, processing, complete, rejected) consistently across components, enhancing user feedback during interactions.
- Simplified decision handling by removing direct state management for approval decisions, streamlining the approval process.
- Enhanced UI feedback to reflect the current phase of tool actions, improving user experience during tool interactions.
2026-03-21 11:18:35 +05:30
Anish Sarkar
23c23c7528 feat: implement ToggleGroup and Toggle components for improved label selection
- Introduced ToggleGroup and Toggle components to enhance the user interface for selecting multiple labels in the Linear issue creation and update forms.
- Updated ApprovalCard component to utilize the new ToggleGroup for better label management.
- Refactored label rendering to use Badge components for improved styling and user experience across various components.
2026-03-20 17:32:05 +05:30
Anish Sarkar
15857ecfd6 refactor: update radio group implementation and improve input styling 2026-03-20 17:09:31 +05:30
DESKTOP-RTLN3BA\$punk
86b21458e0 feat: enhance HeroCarousel with autoplay and visibility handling
- Implemented autoplay functionality for the carousel, allowing automatic slide transitions when not expanded or hovered.
- Added visibility change detection to pause autoplay when the tab is not visible.
- Improved button styles to reflect autoplay state visually with progress indicators.
2026-03-17 23:33:45 -07:00
Anish Sarkar
9321d27021 fix: update styling and accessibility in various components
- Simplified text in DocumentsTableShell for clarity.
- Enhanced RightPanel styling for better visual consistency.
- Adjusted ChatListItem styles for improved interaction.
- Updated ReportPanelContent to include background styling and improved layout.
- Modified Drawer and FixedToolbar components for better UI integration.
2026-03-17 14:16:22 +05:30
Anish Sarkar
440f5aec72 fix: improve accessibility and styling in sidebar components 2026-03-17 12:42:25 +05:30
Anish Sarkar
8b468e06da feat: update Toaster component to position notifications at the top-right and enable rich colors 2026-03-10 19:52:13 +05:30