CREDO23
5dd101b203
feat: rewrite use-documents-processing hook from Electric to Zero
...
Replace PGlite aggregate SQL (SUM/CASE) with Zero useQuery + client-side
status counting. State machine (idle/processing/success/error) preserved
exactly. 167 → 79 lines.
2026-03-23 19:06:32 +02:00
CREDO23
c60d2f071c
feat: rewrite use-connectors-electric hook from Electric to Zero
...
Replace PGlite sync+live query with Zero useQuery. Maps camelCase
to snake_case for SearchSourceConnector type. 217 → 44 lines.
2026-03-23 19:04:51 +02:00
CREDO23
5ad25d10ea
feat: rewrite use-messages-electric hook from Electric to Zero
...
Replace PGlite sync+live query with Zero useQuery. Maps camelCase
output to snake_case to preserve consumer contract. 162 → 38 lines.
2026-03-23 19:00:20 +02:00
CREDO23
b27061e44a
feat: rewrite use-chat-session-state hook from Electric to Zero
...
Replace @electric-sql/react useShape with @rocicorp/zero/react useQuery.
Same Jotai atom update, same logic, same consumer contract.
2026-03-23 18:56:32 +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
f29a3edcab
chore: update postgresql.conf and contracts comments for Zero
...
- Replace Electric SQL references in postgresql.conf with Zero-cache
- Clean Electric SQL comments in chat-comments.types.ts and chat-messages.types.ts
2026-03-23 18:30:49 +02:00
CREDO23
f9ba7e52d9
feat: add Zero infra — docker-compose, env vars, Dockerfile, CI workflows
...
- Add zero-cache service to docker-compose.yml and docker-compose.dev.yml
- Add ZERO_* env vars to docker/.env.example
- Add NEXT_PUBLIC_ZERO_CACHE_URL to surfsense_web/.env.example
- Add NEXT_PUBLIC_ZERO_CACHE_URL placeholder ARG/ENV to Dockerfile
- Add NEXT_PUBLIC_ZERO_CACHE_URL runtime substitution to docker-entrypoint.js
- Add NEXT_PUBLIC_ZERO_CACHE_URL build arg to docker-build.yml and desktop-release.yml
2026-03-23 18:27:18 +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
da8f90bfe2
feat: add Zero queries for all 6 synced tables
...
Define named queries matching each Electric hook's data needs:
- notifications.byUser (use-inbox)
- documents.bySpace (use-documents, use-documents-processing)
- connectors.bySpace (use-connectors-electric)
- messages.byThread (use-messages-electric)
- comments.byThread (use-comments-electric)
- chatSession.byThread (use-chat-session-state)
Also moves schema files from zero/tables/ to zero/schema/ for
consistent modular folder structure.
2026-03-23 17:54:43 +02:00
CREDO23
af2bd744fb
feat: add Zero schema with 6 table definitions and relationships
...
- Create zero/tables/inbox.ts (notifications)
- Create zero/tables/documents.ts (documents, search_source_connectors)
- Create zero/tables/chat.ts (new_chat_messages, chat_comments, chat_session_state)
- Create zero/schema.ts (combines tables, defines relationships, exports zql)
- Consolidate Zero type augmentations into types/zero.d.ts
2026-03-23 17:44:05 +02:00
CREDO23
8298aad2d7
feat: add @rocicorp/zero package and auth context type
...
- Install @rocicorp/zero@0.26.2 (replaces 4 @electric-sql/* packages)
- Add types/zero-auth.d.ts with Context type for Zero's permission system
2026-03-23 17:23:49 +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
Anish Sarkar
3cef7ef87c
chore: update comments in .env.example
2026-03-22 20:33:01 +05:30
Anish Sarkar
64a83f7ccc
refactor: update checkbox classes in DocumentsTableShell to use 'shrink-0' for consistent styling
2026-03-22 19:53:57 +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
DESKTOP-RTLN3BA\$punk
cb6db30143
feat: add new carousel item for AI-generated video creation
2026-03-22 00:34:41 -07:00
DESKTOP-RTLN3BA\$punk
eb8cfd296c
feat: add public routes for video presentations and audio streaming
2026-03-21 23:29:23 -07:00
DESKTOP-RTLN3BA\$punk
d90b6d35ce
feat: enhance video presentation agent with parallel theme assignment and watermarking
2026-03-21 23:02:09 -07:00
DESKTOP-RTLN3BA\$punk
0fe5e034fe
feat: add video presentation tool to generate group
2026-03-21 22:17:08 -07:00
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
5b6b1e5d72
feat: add issue URL to Jira issue creation and update responses for direct access
2026-03-22 03:16:34 +05:30
Anish Sarkar
336fc39aad
refactor: update button styles in Sidebar component for improved readability and consistency
2026-03-22 03:07:01 +05:30
Anish Sarkar
2c17c355d5
feat: add page URL to Confluence page creation and update responses instead of showing page id
2026-03-22 02:55:33 +05:30
Anish Sarkar
a9683bb1dc
feat: add support for HTML content in HitlEditPanel and PlateEditor components for only Confluence HITL tool
2026-03-22 02:42:51 +05:30
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
020d806b1f
refactor: unify sidebar state management in LayoutDataProvider to allow only one slide-out panel open at a time
2026-03-22 00:01:31 +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
856073b61b
refactor: update file icon colors in connector configuration components for improved visual consistency
2026-03-21 22:36:49 +05:30
Anish Sarkar
6f82a8ff9c
refactor: enhance Navbar component to accept custom background class for scrolled state; update PublicChatView and PublicThread styles for consistency
2026-03-21 22:16:48 +05:30
Anish Sarkar
b6be92e394
refactor: enhance report generation UI with improved loading and error states, and update report content handling
2026-03-21 22:02:13 +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
bad3eb695f
refactor: update ConnectToolsBanner to accept isThreadEmpty prop and adjust visibility logic; modify 'no_chats' message across multiple languages
2026-03-21 21:03:23 +05:30
Anish Sarkar
d9eb080d53
fix: update placeholder and button text for model selection in image and LLM config forms
2026-03-21 20:55:24 +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
5908a64c1d
refactor: remove unused tool availability logic from ComposerAction component
2026-03-21 13:10:34 +05:30
Anish Sarkar
b092d8d13d
feat: update OAuth scopes for Confluence, Gmail, Google Calendar, Google Drive, and Jira connectors
2026-03-21 12:50:25 +05:30
Anish Sarkar
79bc123439
feat: implement lazy imports for token refresh in Confluence and Jira connectors
...
- Refactored token refresh logic in ConfluenceHistoryConnector and JiraHistoryConnector to use lazy imports, avoiding circular dependencies.
- Enhanced the ComposerAction component to manage tool availability based on connected types, adding support for Jira and Confluence tools.
- Updated tool icon management to include Jira and Confluence, improving the user interface for tool interactions.
2026-03-21 12:41:06 +05:30
Anish Sarkar
e71eae26fc
feat: initial files for jira and confluence HITL tool
2026-03-21 12:16:44 +05:30
Anish Sarkar
affc89dd5c
feat: introduce SidebarButton component for improved sidebar interactions
2026-03-21 12:06:48 +05:30