fixing translations

This commit is contained in:
k
2026-09-21 16:35:46 +02:00
parent efeb11577d
commit 8f49bb56a2
5 changed files with 115 additions and 34 deletions
+2
View File
@@ -19,6 +19,8 @@ read-only `SharePage` (no auth), everything else renders the authenticated app.
- `lib/api.ts` — typed `fetch` wrapper: Bearer header from `localStorage`,
`{ error }` parsing, `ApiError` with status, auto logout+reload on 401
(except on `/share/*`). `chatStream()` parses SSE `token`/`done`/`error`.
- Boot shows `LoadingScreen` for at least 2.5 s (`MIN_SPLASH_MS` in `App.tsx`)
so the bloom animation always plays, even when the session restores instantly.
- Sending: ensure a server conversation exists (created lazily on first send),
optimistic user message, stream tokens into `streaming`, then append the full
assistant message and refresh the list (server auto-titles new chats).