Commit graph

794 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
64c913baa3 chore: linting 2026-03-27 03:17:05 -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
Rohan Verma
95bb522220
Merge pull request #989 from JoeMakuta/style/enhance-global-error-page
fix: enhance GlobalError component with improved UI and error handling
2026-03-26 12:42:35 -07:00
Rohan Verma
f0701a0986
Merge pull request #988 from JoeMakuta/fix/convert-search-space-to-server-side
fix: convert search space navigation to server-side redirection
2026-03-26 12:42:19 -07:00
Rohan Verma
959999f380
Merge pull request #986 from JoeMakuta/chore/chat-page-client-to-server
fix: convert public chat page to server component
2026-03-26 12:41:10 -07:00
Rohan Verma
ccd4ad4552
Merge pull request #985 from JoeMakuta/fix/loading-dashboard-routes
fix : loading dashboard routes
2026-03-26 12:40:52 -07:00
JoeMakuta
0e19d1ff20 feat: Add global error handling 2026-03-26 18:14:20 +02:00
JoeMakuta
1b79729136 feat: Add global error page with PostHog error reporting and reset functionality. 2026-03-26 18:09:26 +02:00
JoeMakuta
5d9751bcd5 fix: enhance GlobalError component with improved UI and error handling 2026-03-26 16:19:43 +02:00
JoeMakuta
4febeef8ea fix: convert search space navigation to server-side redirection 2026-03-26 15:38:44 +02:00
JoeMakuta
e4d5c119ef fix: convert public chat page to server component 2026-03-26 13:33:29 +02:00
JoeMakuta
d535851ad5 Add loader to more-pages route 2026-03-26 12:44:46 +02:00
JoeMakuta
80ede9849a Add loading od logs route 2026-03-26 12:19:18 +02:00
JoeMakuta
2cf6866c10 Add loader on new chat route 2026-03-26 11:59:04 +02: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
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
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
DESKTOP-RTLN3BA\$punk
ccf8454db5 Merge commit '59e21db42b' into dev 2026-03-24 21:20:30 -07:00
Nishant-k-sagar
7f3c7f47f2 feat: add placeholder text to login and register inputs 2026-03-24 21:35:37 +00:00
Anish Sarkar
778cfac6fa Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps 2026-03-25 01:50:10 +05:30
Anish Sarkar
c674fb3054 chore: ran linting 2026-03-25 00:27:24 +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
CREDO23
5c98f1c717 add ZERO_MUTATE_URL and no-op mutate endpoint for zero-cache auth passthrough 2026-03-24 16:25:13 +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
3f4e1a7dfd refactor: remove frontend of scrape_webpage tool 2026-03-24 18:55:06 +05:30
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
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
8dd539c384 feat: add Zero query endpoint and configure ZERO_QUERY_URL
- Create app/api/zero/query/route.ts — resolves named queries to ZQL
  using handleQueryRequest and mustGetQuery from @rocicorp/zero
- Add ZERO_QUERY_URL to both docker-compose files:
  - dev: http://host.docker.internal:3000 (reaches local Next.js from Docker)
  - prod: http://frontend:3000 (Docker service networking)

Without this endpoint, zero-cache cannot resolve named queries and
no data syncs to the client.
2026-03-23 20:58:42 +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
6ad5ead320 docs: add Zero sync documentation and update existing docs
- Create how-to/zero-sync.mdx setup guide
- Update docker-compose.mdx with zero-cache service, env vars, troubleshooting
- Update dev-compose.mdx with Zero build arg
- Update install-script.mdx with zero-cache URL
- Update manual-installation.mdx with Zero frontend env var
- Add Zero sync page to how-to index, meta.json, and sitemap
2026-03-23 18:35:39 +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
64a83f7ccc refactor: update checkbox classes in DocumentsTableShell to use 'shrink-0' for consistent styling 2026-03-22 19:53:57 +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
b28f135a96 feat: init video presentation agent 2026-03-21 22:13:41 -07:00
Anish Sarkar
beaa43e324 chore: ran linting 2026-03-22 03:17:39 +05:30
Anish Sarkar
d20c9c2788 refactor: enhance button styles in LocalLoginForm and RegisterPage components for better loading state visibility 2026-03-22 03:16:47 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
e71eae26fc feat: initial files for jira and confluence HITL tool 2026-03-21 12:16:44 +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
cb6b687933 feat: enhance Gmail draft update functionality
- Improved the update_gmail_draft tool to allow users to review and edit draft content before applying changes.
- Added logic to generate draft body content based on user requests and conversation context.
- Implemented fetching of existing draft body to facilitate user edits in the approval card.
- Updated UI components to support displaying and editing existing draft content, enhancing user experience.
2026-03-21 00:30:18 +05:30