Commit graph

1367 commits

Author SHA1 Message Date
Anish Sarkar
7222dd3ce7 fix: correct closing tag for button in roles manager component 2026-03-25 02:19:12 +05:30
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
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
DESKTOP-RTLN3BA\$punk
2800878f9d Merge commit '354d80bf7a' into dev 2026-03-24 00:19:04 -07:00
Matt Van Horn
b240057c61
fix: gate console.log calls behind development check
Wraps unguarded console.log statements in use-connectors-electric,
mcp-config-validator, and ElectricProvider behind an IS_DEV guard,
matching the existing pattern in lib/electric/client.ts. Keeps
console.error calls untouched so real errors still surface.

Fixes #904
2026-03-23 23:29:16 -07:00
Rohan Verma
c5d740f162
Merge pull request #896 from AnishSarkar22/feat/human-in-the-loop
feat: sensitive actions using HITL & unified indexing pipeline for google connectors
2026-03-23 18:20:45 -07:00
Anish Sarkar
eed792c19a refactor: remove deprecated DeepAgentThinking component and redefine ThinkingStep interface for improved clarity 2026-03-24 02:56:42 +05:30
Anish Sarkar
e587b588c9 refactor: migrate thinking steps handling to new data structure and streamline related components 2026-03-24 02:23:05 +05:30
Anish Sarkar
b8f3f41326 refactor: update dependencies and streamline assistant-ui package usages 2026-03-24 02:22:51 +05:30
CREDO23
cf21eaacfc fix: critical timestamp parsing and audit fixes
- Fix timestamp conversion: String(epochMs) → new Date(epochMs).toISOString()
  in use-messages-sync, use-comments-sync, use-documents, use-inbox.
  Without this, date comparisons (isEdited, cutoff filters) would fail.
- Fix updated_at: undefined → null in use-inbox to match InboxItem type
- Fix ZeroProvider: skip Zero connection for unauthenticated users
- Clean 30+ stale "Electric SQL" comments in backend Python code
2026-03-23 19:49:28 +02:00
CREDO23
f04ab89418 refactor: rename Electric hooks and clean consumer components
Rename hooks to remove Electric branding:
- use-connectors-electric → use-connectors-sync (useConnectorsSync)
- use-messages-electric → use-messages-sync (useMessagesSync)
- use-comments-electric → use-comments-sync (useCommentsSync)

Clean all Electric/PGlite references in consumer components:
connector-popup.tsx, thread.tsx, page.tsx, use-indexing-connectors.ts,
use-connector-dialog.ts
2026-03-23 19:29:08 +02:00
CREDO23
6143a91406 feat: add ZeroProvider and wire into app layout
- Create components/providers/ZeroProvider.tsx with schema, queries,
  userID, context, and cacheURL configuration
- Wire ZeroProvider into app/layout.tsx wrapping GlobalLoadingProvider
  inside ReactQueryClientProvider (same position ElectricProvider had)
2026-03-23 18:09:59 +02:00
CREDO23
2b7465cdaa chore: remove Electric SQL plumbing and infrastructure
Remove all Electric SQL client code, Docker service, env vars, CI build
args, install scripts, and documentation. Feature hooks that depend on
Electric are intentionally left in place to be rewritten with Rocicorp
Zero in subsequent commits.

Deleted:
- lib/electric/ (client.ts, context.ts, auth.ts, baseline.ts)
- ElectricProvider.tsx
- docker/scripts/init-electric-user.sh
- content/docs/how-to/electric-sql.mdx

Cleaned:
- package.json (4 @electric-sql/* deps)
- app/layout.tsx, UserDropdown.tsx, LayoutDataProvider.tsx
- docker-compose.yml, docker-compose.dev.yml
- Dockerfile, docker-entrypoint.js
- .env.example (frontend, docker, backend)
- CI workflows, install scripts, docs
2026-03-23 16:53:20 +02:00
Anish Sarkar
009e89e5cd refactor: simplify audio component by removing dropdown menu and integrating download button directly 2026-03-23 03:39:08 +05:30
Anish Sarkar
fed3a3b436 feat: add dropdown menu for audio actions and improve layout in audio component 2026-03-23 03:11:19 +05:30
Anish Sarkar
74ef4bb414 refactor: enhance loading skeleton UI in GenerateReport 2026-03-23 02:55:35 +05:30
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
2c7908f733 fix: update placeholder texts in Thread component 2026-03-22 22:48:07 +05:30
Anish Sarkar
8510a76e9a refactor: enhance UI for podcast card and audio components 2026-03-22 21:20:05 +05:30
DESKTOP-RTLN3BA\$punk
de17ef7f44 style: update GitHub stars badge appearance with improved spacing and color adjustments 2026-03-22 03:17:05 -07:00
Anish Sarkar
5c598e8588 Merge remote-tracking branch 'upstream/dev' into feat/human-in-the-loop 2026-03-22 15:45:45 +05:30