Commit graph

1386 commits

Author SHA1 Message Date
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
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
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
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
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
Nishant-k-sagar
6f64a2de9b perf: replace img with Next.js Image for avatars 2026-03-24 22:38:21 +00:00
Anish Sarkar
7222dd3ce7 fix: correct closing tag for button in roles manager component 2026-03-25 02:19:12 +05:30
DESKTOP-RTLN3BA\$punk
724c81de42 Fix mismatched JSX closing tag in roles-manager causing build failure
Made-with: Cursor
2026-03-24 13:21:47 -07:00
Anish Sarkar
778cfac6fa Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps 2026-03-25 01:50:10 +05:30
DESKTOP-RTLN3BA\$punk
9a29843866 Merge commit '31b0527e9a' into dev 2026-03-24 12:59:49 -07:00
Rohan Verma
31b0527e9a
Merge pull request #927 from LikiosSedo/fix/abort-controller-audio
fix: add AbortController to fetch call in audio download
2026-03-24 12:55:40 -07:00
Rohan Verma
3b3fca0769
Merge pull request #926 from LikiosSedo/fix/replace-any-types-contact-form
fix: replace `any` types with proper types in contact form component
2026-03-24 12:55:18 -07:00
Rohan Verma
2745518fdf
Merge pull request #925 from mvanhorn/fix/nested-interactive-elements
fix: separate nested interactive elements in roles manager
2026-03-24 12:54:42 -07: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
Anish Sarkar
c674fb3054 chore: ran linting 2026-03-25 00:27:24 +05:30
Anish Sarkar
323f7f2b4a Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps 2026-03-25 00:17:08 +05:30
Anish Sarkar
eafc0c3808 refactor: enhance UserMessage component with improved layout and action bar functionality 2026-03-25 00:16:52 +05:30
Anish Sarkar
c894185102 refactor: implement error handling for video download and PPTX export in video presentation component 2026-03-24 23:57:32 +05:30
Anish Sarkar
fde8faec7e refactor: update UserAvatar component to use Next.js Image 2026-03-24 23:54:04 +05:30
Anish Sarkar
d0dcb8a98b refactor: simplify video presentation UI components and enhance loading/error states 2026-03-24 23:53:51 +05:30
Anish Sarkar
06b242c8f1 refactor: integrate custom table components into markdown rendering in chat 2026-03-24 23:42:12 +05:30
Anish Sarkar
15a81dbf41 feat: add GenerateImageToolUI component for rendering generated images with error handling and loading states 2026-03-24 23:03:00 +05:30
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
657f546908 fix: always render ZeroProvider, allow anon queries without 401 2026-03-24 16:59:42 +02:00
Anish Sarkar
a99791009a refactor: enhance markdown rendering with syntax highlighting and theme support 2026-03-24 20:24:30 +05:30
CREDO23
54ffdc5aad fix: always init Zero when user exists, pass auth as optional 2026-03-24 16:39:37 +02:00
CREDO23
0e49cc33f8 format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
CREDO23
a74aa4da4f add auth to Zero query endpoint and ZeroProvider 2026-03-24 16:06:20 +02:00
Anish Sarkar
9eb8e4c48d refactor: reintroduce display_image tool for legacy AI generated images handling 2026-03-24 19:13:54 +05:30
Anish Sarkar
c926c3f62e refactor: remove display_image tool and associated UI components to streamline chat functionality 2026-03-24 19:00:55 +05:30
Anish Sarkar
337bab3650 refactor: add placeholder implementations for link_preview, multi_link_preview, and scrape_webpage tools in assistant-message and public-thread components 2026-03-24 18:57:14 +05:30
Anish Sarkar
3f4e1a7dfd refactor: remove frontend of scrape_webpage tool 2026-03-24 18:55:06 +05:30
likiosliu
323788e9a3 fix: replace any types with proper types in contact form component
- Replace `any` props type with `React.ComponentProps<"svg">` plus explicit named props
- Replace `any` tuple type with `[number, number]` in squares mapper

Closes #912
2026-03-24 19:55:33 +08:00
likiosliu
a3b3852452 fix: add AbortController to fetch call in audio download
Abort in-flight download when the component unmounts or a new download
starts, preventing wasted bandwidth on navigation.

Closes #919
2026-03-24 19:53:14 +08:00
Anish Sarkar
a009cae62a refactor: remove link_preview tool and associated components to streamline agent functionality 2026-03-24 17:15:29 +05:30
Anish Sarkar
6c507989d2 refactor: remove display_image tool and update related components to streamline image handling 2026-03-24 16:28:11 +05:30
Matt Van Horn
ac2333ee1c
fix: separate nested interactive elements in roles manager
Moves the RolePermissionsDialog trigger to wrap only the text content
area instead of the entire card. The dropdown menu is now a sibling,
not nested inside the dialog button. Removes stopPropagation hacks.

Fixes #921
2026-03-24 03:11:30 -07:00