diff --git a/CHANGELOG.md b/CHANGELOG.md index ef564d9..b5d473a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ incompatibles. Chaque ligne renvoie à un commit dédié (un artefact = un commi ## [Unreleased] +## [0.35.0] — 2026-06-23 — UI responsive (mobile) +### Fixed +- **Header** : `flex-wrap` + paddings/marges réduits sur petit écran, « · N outils » + masqué sous `sm` (ne déborde plus). +- **Barre chat** : `input` en `min-w-0`, boutons `shrink-0` compactés + (`px-2.5 sm:px-3`), label « Envoyer » masqué sous `sm` → tient sur mobile. +- **Review** : actions Approuver/Refuser pleine largeur empilées sous `sm`. +- Web : typecheck + build OK. + ## [0.34.2] — 2026-06-23 — bump Ollama 0.30.10 (modèles :cloud) ### Fixed - `ollama/ollama:0.6.8` → **`0.30.10`** : 0.6.8 refuse les modèles `:cloud` diff --git a/web/src/App.tsx b/web/src/App.tsx index d68861a..624cdd9 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -14,8 +14,8 @@ function Shell() { return (
-
- CHLOVA +
+ CHLOVA - - {phase || "…"} · {tools} outils + + {phase || "…"} + · {tools} outils -
diff --git a/web/src/pages/Chat.tsx b/web/src/pages/Chat.tsx index 486bcdd..3cf7845 100644 --- a/web/src/pages/Chat.tsx +++ b/web/src/pages/Chat.tsx @@ -100,20 +100,20 @@ export function Chat() {
-
+ {speech.ttsSupported && ( )} setInput(e.target.value)} @@ -124,7 +124,7 @@ export function Chat() { type="button" onClick={mic} aria-label={speech.listening ? "Arrêter le micro" : "Parler"} - className={`rounded-md border px-3 py-2 cursor-pointer ring-accent ${speech.listening ? "border-accent text-accent animate-pulse" : "border-border text-muted"}`} + className={`shrink-0 rounded-md border px-2.5 sm:px-3 py-2 cursor-pointer ring-accent ${speech.listening ? "border-accent text-accent animate-pulse" : "border-border text-muted"}`} > {speech.listening ? : } @@ -135,7 +135,7 @@ export function Chat() { onClick={toggleHandsFree} aria-label={speech.handsFree ? "Couper les mains libres" : "Activer les mains libres"} title="Mains libres (wake-word CHLOVA)" - className={`rounded-md border px-3 py-2 cursor-pointer ring-accent ${speech.handsFree ? "border-accent text-accent" : "border-border text-muted"}`} + className={`shrink-0 rounded-md border px-2.5 sm:px-3 py-2 cursor-pointer ring-accent ${speech.handsFree ? "border-accent text-accent" : "border-border text-muted"}`} > @@ -144,9 +144,9 @@ export function Chat() { type="submit" disabled={busy || !input.trim()} aria-label="Envoyer" - className="flex items-center gap-1.5 rounded-md bg-accent px-4 py-2 font-medium text-bg disabled:opacity-50 ring-accent cursor-pointer" + className="flex shrink-0 items-center gap-1.5 rounded-md bg-accent px-3 sm:px-4 py-2 font-medium text-bg disabled:opacity-50 ring-accent cursor-pointer" > - Envoyer + Envoyer
diff --git a/web/src/pages/Review.tsx b/web/src/pages/Review.tsx index f60601d..1f0f672 100644 --- a/web/src/pages/Review.tsx +++ b/web/src/pages/Review.tsx @@ -39,16 +39,16 @@ export function Review() { expire {new Date(a.expiresAt).toISOString().slice(0, 10)} )} -
+