From d60ecb7f1b4533b52766b89d984df274952cebe3 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Tue, 11 Aug 2026 08:50:45 +0200 Subject: [PATCH] fix(ui): stop review-feedback field clipping placeholder and typed text Shorten the review-prompt placeholder and localize it (session.reviewFeedbackPlaceholder, en+de) instead of a hardcoded string that overran the narrow column. Switch the growing TextBox's VerticalContentAlignment from Center to Top so multi-line input grows downward instead of being clipped top/bottom, add an auto scrollbar past MaxHeight, and top-align the prompt glyph and Resume button to match. --- src/ClaudeDo.Localization/locales/de.json | 3 ++- src/ClaudeDo.Localization/locales/en.json | 3 ++- src/ClaudeDo.Ui/Views/Islands/Detail/WorkConsole.axaml | 9 +++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/ClaudeDo.Localization/locales/de.json b/src/ClaudeDo.Localization/locales/de.json index bb466213..23fc6f17 100644 --- a/src/ClaudeDo.Localization/locales/de.json +++ b/src/ClaudeDo.Localization/locales/de.json @@ -266,7 +266,8 @@ "chipDone": "FERTIG", "chipFailed": "FEHLGESCHLAGEN", "reviewContinueTip": "Dieses Feedback senden und die Aufgabe erneut ausführen", - "reviewResetTip": "Alle Änderungen verwerfen und die Aufgabe auf Leerlauf zurücksetzen" + "reviewResetTip": "Alle Änderungen verwerfen und die Aufgabe auf Leerlauf zurücksetzen", + "reviewFeedbackPlaceholder": "Feedback für nächsten Lauf" }, "missionControl": { "windowTitle": "Mission Control", diff --git a/src/ClaudeDo.Localization/locales/en.json b/src/ClaudeDo.Localization/locales/en.json index 39a21f28..30858b5b 100644 --- a/src/ClaudeDo.Localization/locales/en.json +++ b/src/ClaudeDo.Localization/locales/en.json @@ -266,7 +266,8 @@ "chipDone": "DONE", "chipFailed": "FAILED", "reviewContinueTip": "Send this feedback and re-run the task", - "reviewResetTip": "Discard all changes and reset the task to Idle" + "reviewResetTip": "Discard all changes and reset the task to Idle", + "reviewFeedbackPlaceholder": "Feedback for next run" }, "missionControl": { "windowTitle": "Mission Control", diff --git a/src/ClaudeDo.Ui/Views/Islands/Detail/WorkConsole.axaml b/src/ClaudeDo.Ui/Views/Islands/Detail/WorkConsole.axaml index f2e1dd07..d669cc35 100644 --- a/src/ClaudeDo.Ui/Views/Islands/Detail/WorkConsole.axaml +++ b/src/ClaudeDo.Ui/Views/Islands/Detail/WorkConsole.axaml @@ -249,7 +249,7 @@ FontFamily="{StaticResource MonoFont}" FontSize="{StaticResource FontSizeMono}" Foreground="{DynamicResource AccentBrush}" - VerticalAlignment="Center" Margin="0,0,8,0" /> + VerticalAlignment="Top" Margin="0,2,8,0" />