SurfSense/surfsense_web/components/assistant-ui
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
..
connector-popup feat: create PATs from Obsidian connector setup 2026-06-19 20:29:15 +05:30
assistant-message.tsx feat(token-tracking): add model metadata registration and enhance token usage tracking 2026-06-13 03:08:35 +05:30
chat-session-status.tsx feat: added incentive credits system 2026-01-26 23:32:30 -08:00
chat-viewport.tsx fix: enable smooth rendering in MarkdownText component 2026-06-18 23:56:58 +05:30
citation-metadata-context.tsx feat: add mobile citation drawer and enhance citation metadata context for improved citation management 2026-03-30 02:06:57 +05:30
connector-popup.tsx feat(web): Remove summary controls from the web app 2026-06-04 00:52:45 +05:30
document-upload-popup.tsx feat(web): Remove summary controls from the web app 2026-06-04 00:52:45 +05:30
edit-composer.tsx chore: ran frontend linting 2026-01-01 22:24:42 +05:30
edit-message-dialog.tsx feat: improved agent streaming 2026-04-29 07:20:31 -07:00
image.tsx refactor: replace button elements with Button component for improved consistency and styling across multiple UI components 2026-05-14 14:17:44 +05:30
inline-citation.tsx Revert "Merge pull request #1523 from CREDO23/fix/chat-citations" 2026-06-22 22:55:29 -07:00
inline-mention-editor.tsx feat(chat): surface chat references in the @-mention UI 2026-06-23 18:30:29 +02:00
markdown-code-block.tsx feat(markdown): add Mermaid diagram rendering support (#1497) 2026-06-23 12:31:17 +03:30
markdown-text.tsx fix: enable smooth rendering in MarkdownText component 2026-06-18 23:56:58 +05:30
mention-chip.tsx feat(web): update mention components to use Button component and enhance styling 2026-05-26 16:50:40 +05:30
mermaid-diagram.tsx feat(markdown): add Mermaid diagram rendering support (#1497) 2026-06-23 12:31:17 +03:30
nested-scroll.tsx chore: linting 2026-04-30 18:42:38 -07:00
reasoning-message-part.tsx refactor: replace button elements with Button component for improved consistency and styling across additional UI components 2026-05-14 15:02:46 +05:30
revert-turn-button.tsx refactor: replace action log sheet with dialog component and update related references 2026-05-18 01:34:41 +05:30
step-separator.tsx feat: improved agent streaming 2026-04-29 07:20:31 -07:00
thread.tsx fix(chat): capture mention chips at submit so they aren't dropped 2026-06-23 18:30:39 +02:00
token-usage-context.tsx feat(token-tracking): add model metadata registration and enhance token usage tracking 2026-06-13 03:08:35 +05:30
tooltip-icon-button.tsx chore: ran linting 2026-04-08 18:23:03 +05:30
user-message.tsx feat(chat): surface chat references in the @-mention UI 2026-06-23 18:30:29 +02:00