project-nomad/admin/inertia
Chris Sherwood fa34d6df4c fix(chat): render the user's message before creating the session
handleSendMessage awaited createChatSession before the optimistic render,
so on a slow request the message the user just sent did not appear at all,
with no spinner and nothing to retry. A failed session creation was worse:
a bare `return` left no message and no error, so the app looked like it had
ignored the user.

Render first, and surface a failure the same way a failed response is
surfaced. Completes #1211 alongside the stream-abort fix in #1220.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F8Mgg1vd2eKSs8StZiuyMV
2026-09-29 15:54:41 -07:00
..
app chore: standardize brand name to Project NOMAD, retire backronym 2026-08-04 03:37:32 +00:00
components fix(chat): render the user's message before creating the session 2026-09-29 15:54:41 -07:00
context feat: container controls & convienience scripts 2025-08-08 15:07:32 -07:00
css feat(maps): map marker management 2026-09-29 15:54:41 -07:00
hooks fix(maps): undef func call, flyTo issue, visible column, and silent save failures 2026-09-29 15:54:41 -07:00
layouts fix(UI): add API reference to Settings sidebar 2026-08-04 03:38:40 +00:00
lib feat(zim): let users browse the Kiwix library in any language 2026-09-29 15:54:41 -07:00
pages feat(AI): give chat a sampler instead of the backend's defaults 2026-09-29 15:54:41 -07:00
providers feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
tsconfig.json fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00