Commit graph

2324 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
1d050e7d40 refactor(web): drop google sign-in cta from marketing pages 2026-06-16 02:10:00 +05:30
Anish Sarkar
bc31b10ca6 refactor(web): consume runtime config in connectors and document uploads 2026-06-16 01:39:52 +05:30
Anish Sarkar
5613908d0d feat(web): add runtime config provider for server-injected flags 2026-06-16 01:38:14 +05:30
Anish Sarkar
6b31997599 Merge remote-tracking branch 'upstream/dev' into experiment/lean-url-port-architecture 2026-06-15 20:52:15 +05:30
Anish Sarkar
f5d04cf8ba refactor(web): support same-origin backend and zero urls 2026-06-15 11:03:45 +05:30
Anish Sarkar
792f6eba92 fix(model-selector): update chat model display logic and replace icon for manage models button 2026-06-14 21:59:06 +05:30
Anish Sarkar
e38c569e89 fix(DocumentsSidebar): simplify connector button label logic for clarity 2026-06-14 21:40:59 +05:30
Anish Sarkar
5937ce2292 feat(model-selector): implement chat model filtering and improve selection handling 2026-06-14 21:31:05 +05:30
Anish Sarkar
381d17d9b3 feat(chat-ui): integrate chat model selection handling in Composer and related components 2026-06-14 12:40:49 +05:30
Anish Sarkar
9eefcd23b7 chore: ran linting 2026-06-13 22:18:19 +05:30
Anish Sarkar
1c72f4174b refactor(model-connections): update placeholder text for API key fields 2026-06-13 22:17:48 +05:30
Anish Sarkar
c7409c8995 chore: ran linting 2026-06-13 21:59:35 +05:30
Anish Sarkar
ab5423d2d2 Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-13 19:04:49 +05:30
Anish Sarkar
02b5e758ed refactor(search-space-settings, model-selector): replace CircleUser icon with Settings in search space settings and comment out max_input_tokens display in model selector 2026-06-13 18:44:06 +05:30
Anish Sarkar
212c8af682 refactor(model-selector, connection-settings): streamline model name handling and enhance connection settings dialog with improved state management for enabled models 2026-06-13 18:18:03 +05:30
Anish Sarkar
01cb4f281e refactor(free-chat): remove FreeModelSelector from FreeChatPage and integrate it into FreeComposer for improved layout consistency 2026-06-13 16:31:03 +05:30
Anish Sarkar
76843f42f1 refactor(anonymous-models): remove description field from anonymous model responses and update related UI components 2026-06-13 16:30:26 +05:30
Anish Sarkar
6d7732436d feat(model-selector, model-connections-settings): integrate AUTO provider icon and streamline auto mode option rendering 2026-06-13 13:21:21 +05:30
Anish Sarkar
bd4a04f2e7 feat(database-migrations): add migration to remove legacy model config tables and remove stale model connection code 2026-06-13 12:45:43 +05:30
Anish Sarkar
50668775f8 feat(model-selector): enhance model selection with connection scope and free model indication 2026-06-13 12:14:17 +05:30