Commit graph

3440 commits

Author SHA1 Message Date
CREDO23
303a69a933 build(web): add missing mermaid dependency
Mermaid diagram rendering was wired up upstream but the package was never
declared, breaking the dev build ("Module not found: Can't resolve
'mermaid'"). Add it to package.json and lock it.
2026-06-23 18:30:46 +02:00
CREDO23
2d1ccb468a fix(chat): capture mention chips at submit so they aren't dropped
The composer cleared the live mention atom synchronously on send (via the
editor reset), which raced the async onNew handler that read it — dropping
every @-mention (docs, folders, connectors, and the new chat references)
from the request.

handleSubmit now snapshots the chips before clearing, and onNew consumes
that snapshot (falling back to the live atom for the send-button path),
derives the payload via deriveMentionedPayload, and sends mentioned_thread_ids.
2026-06-23 18:30:39 +02:00
CREDO23
1d5c364e1d feat(chat): surface chat references in the @-mention UI
Add a Chats tab to the mention picker (excluding the current chat), carry
the "thread" kind through the inline editor's chip nodes, and render thread
chips on user messages with navigation to the referenced conversation.
2026-06-23 18:30:29 +02:00
CREDO23
1f6934b980 feat(chat): extend composer mention model for thread references
Add the "thread" mention kind (makeThreadMention + stable dedup key) so a
chat can be referenced like a document. Also introduce submittedMentionsAtom
and a pure deriveMentionedPayload() helper, the building blocks for capturing
chips at submit time and mapping them to backend payload buckets.
2026-06-23 18:30:22 +02:00
Ryan Heida
e70d2e2465 feat(markdown): add Mermaid diagram rendering support (#1497)
- Add MermaidDiagram component for rendering mermaid code blocks
- Integrate mermaid support into MarkdownCodeBlock
- Improve fallback handling for invalid diagrams
- Optimize mermaid initialization and theme handling
2026-06-23 12:31:17 +03:30
Anish Sarkar
3695e1d5c5 Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-23 13:09:53 +05:30
Rohan Verma
1dc3fac81d
Merge pull request #1527 from Muhammad-Ikhwan-Fathulloh/dev
fix: normalize image URLs before persistence and add model selector aria-label
2026-06-23 00:08:41 -07:00
Anish Sarkar
ee241e0ff2
Merge pull request #1517 from AnishSarkar22/hotpatch/docker-auth-type
feat: implement runtime authentication handling
2026-06-21 09:27:41 +05:30
Muhammad-Ikhwan-Fathulloh
2848ac6c39 fix: normalize image URLs before persistence and add model selector aria-label 2026-06-20 19:49:58 +07:00
Anish Sarkar
fd31ac34fd Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-20 10:50:03 +05:30
CREDO23
cfc3be5b1f fix: gate desktop right panel to prevent duplicate mobile editor 2026-06-19 19:22:19 +02:00
CREDO23
cfafed09bc fix: forward citation line anchor to editor panel and harden reveal 2026-06-19 19:12:14 +02:00
CREDO23
1cb7633920 Merge upstream/main into fix/chat-citations 2026-06-19 18:25:37 +02:00
CREDO23
5f341bdd2f feat: parse and render kb line citations 2026-06-19 17:37:41 +02:00
Anish Sarkar
1cc72a47be feat: create PATs from Obsidian connector setup 2026-06-19 20:29:15 +05:30
Anish Sarkar
0687561f5b feat: add personal access token settings UI 2026-06-19 20:29:03 +05:30
Anish Sarkar
e5ab0e5342 feat: add web PAT API client 2026-06-19 20:28:48 +05:30
Anish Sarkar
630880bf7a feat: add API access toggle to search space settings 2026-06-19 20:27:17 +05:30
CREDO23
049c70dc91 feat: open citations in source view at lines 2026-06-19 15:31:44 +02:00
CREDO23
c551b34d93 style: add cited line highlight class 2026-06-19 15:31:44 +02:00
CREDO23
b73a31f889 feat: source editor reveals and highlights lines 2026-06-19 15:31:44 +02:00
CREDO23
86f8fc0530 feat: citation panel shows cited line range 2026-06-19 15:31:44 +02:00
CREDO23
176ada4f4f feat: editor panel accepts citation line anchor 2026-06-19 15:31:44 +02:00
CREDO23
fc0f9d8f81 feat: carry chunk spans and cited lines in contract 2026-06-19 15:31:44 +02:00
Anish Sarkar
7b981b6d16 refactor: simplify error screen layout and remove unused components
- Removed the Alert component and its related imports to streamline the error display.
- Adjusted the layout of the error screen for better responsiveness and visual clarity.
- Updated button styles and structure for improved user interaction.
2026-06-19 14:47:09 +05:30
Anish Sarkar
6bab6df819 chore: update .env.example for runtime configuration 2026-06-19 12:04:52 +05:30
Anish Sarkar
b54eff648e feat: implement runtime authentication handling
- Added a new proxy function to manage runtime authentication types and set cookies accordingly.
- Introduced runtime authentication configuration to dynamically adjust UI based on the selected auth type.
- Updated global styles to hide specific authentication buttons based on the current auth type.
- Refactored sign-in button and hero section components to utilize the new runtime authentication logic.
- Created a new utility file for runtime authentication configuration and initialization script.
2026-06-19 03:56:26 +05:30
Anish Sarkar
37559fcc6d refactor: enhance chat UI components for mobile responsiveness
- Updated the layout of the ComposerAction and ChatHeader components to improve mobile compatibility.
- Added a new prop to ImageModelSelector for mobile-specific rendering.
- Adjusted ModelSelector to conditionally render elements based on mobile view, enhancing user experience on smaller screens.
2026-06-19 01:41:21 +05:30
Anish Sarkar
bb664a1f32 fix: enable smooth rendering in MarkdownText component
- Updated the MarkdownTextPrimitive component to enable smooth rendering by default.
- Adjusted the props to streamline the rendering process for improved user experience.
2026-06-18 23:56:58 +05:30
DESKTOP-RTLN3BA\$punk
0729e5a915 chore: linting 2026-06-17 23:40:53 -07:00
DESKTOP-RTLN3BA\$punk
c9afeb2817 feat: fix onboarding trigger
- Introduced a new endpoint to check the existence of a global LLM configuration file.
- Updated the frontend to utilize this status, affecting onboarding flow and user experience.
- Added necessary atoms and types for managing global LLM config status in the application state.
- Refactored navigation to ensure proper routing based on the global config status.
2026-06-17 23:30:56 -07:00
DESKTOP-RTLN3BA\$punk
c6d42fc7c8 feat: bumped version to 0.0.29 2026-06-17 22:29:50 -07:00
DESKTOP-RTLN3BA\$punk
4e5c13f60a feat: readded google signins and add global announcement feature
- Updated .env.example to include new environment variables for Google authentication and global announcement settings.
- Integrated Google sign-in functionality in SignInButton and HeroSection components, allowing users to log in with their Google accounts.
- Added GlobalAnnouncement component to display maintenance notices or announcements on the homepage layout.
- Enhanced styling for Google sign-in buttons to improve user experience.
2026-06-17 21:29:14 -07:00
DESKTOP-RTLN3BA\$punk
b89866541e chore: linting 2026-06-17 20:50:07 -07:00
DESKTOP-RTLN3BA\$punk
4b8a2f9726 Merge commit '77688ac80c' into dev 2026-06-17 20:47:02 -07:00
Anish Sarkar
4658130bb8 feat(editor): update editor limits and add error boundary
- Reduced maximum document size for the editor from 5MB to 1MB.
- Introduced a new line limit of 5000 for documents in the editor.
- Implemented a PlateErrorBoundary component to handle rendering errors gracefully in the editor panel.
- Updated logic in the editor panel to check both size and line count for document limits.
2026-06-17 12:11:31 +05:30
DESKTOP-RTLN3BA\$punk
0fe650fd8e Merge commit '7ce409c580' into dev 2026-06-16 22:48:14 -07:00
CREDO23
bab3f7c0d4 feat(web): add unit dropdown for podcast brief target length 2026-06-16 23:38:28 +02:00
CREDO23
608620d649 feat(web): add seconds-based podcast duration types with legacy support 2026-06-16 23:38:28 +02:00
Anish Sarkar
61f071ae68 refactor(web): replace Card component with Alert for messaging channels notification to enhance user experience 2026-06-17 00:06:41 +05:30
Anish Sarkar
9b7e278114 refactor(config): update GATEWAY_ENABLED variable to FALSE and adjust related configurations for improved messaging gateway handling 2026-06-16 23:49:26 +05:30
Anish Sarkar
4ed6343b91 refactor(docker): remove docker-entrypoint.sh and update Dockerfile to use CMD for server execution 2026-06-16 22:01:23 +05:30
Anish Sarkar
55c2e5c0d8 refactor(web): enhance redirect response in callback route 2026-06-16 21:00:53 +05:30
Anish Sarkar
c3a96aa532 refactor(web): simplify redirect response construction in callback route 2026-06-16 20:13:00 +05:30
Anish Sarkar
695da76f2e refactor(web): update environment variable handling to use build-time constants for auth type, deployment mode, and ETL service 2026-06-16 15:55:57 +05:30
Anish Sarkar
3f69bfd5e4 refactor(web): replace instances of BACKEND_URL with buildBackendUrl for improved URL handling 2026-06-16 14:51:25 +05:30
Anish Sarkar
371ff866c7 refactor(web): replace BACKEND_URL with buildBackendUrl for dynamic URL construction 2026-06-16 04:56:23 +05:30
Anish Sarkar
34a49df8a3 docs: document runtime env vars and same-origin proxy access 2026-06-16 02:12:11 +05:30
Anish Sarkar
2fb0f0c050 ci: align workflows and playwright with runtime env vars 2026-06-16 02:11:48 +05:30
Anish Sarkar
cd5e0abe53 refactor(docker): drop build-time NEXT_PUBLIC injection for runtime env 2026-06-16 02:11:13 +05:30