mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
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. |
||
|---|---|---|
| .. | ||
| (home) | ||
| api | ||
| auth | ||
| dashboard | ||
| db | ||
| desktop | ||
| docs | ||
| invite/[invite_code] | ||
| public/[token] | ||
| verify-token | ||
| apple-icon.png | ||
| error.tsx | ||
| favicon.ico | ||
| global-error.tsx | ||
| globals.css | ||
| icon.png | ||
| layout.config.tsx | ||
| layout.tsx | ||
| not-found.tsx | ||
| robots.ts | ||
| sitemap.ts | ||