From 245330bd689ec2b578c4dfd415ec4ae1fbc1fb03 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Fri, 3 Jul 2026 23:36:05 +0200 Subject: [PATCH] fix(tasks): shorten reminder snooze button label to fit small screens (#8743) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The reminder dialog footer could not fit all actions in one row on small screens. Show only the snooze duration (e.g. "10m") on the split-button's main action instead of "Snooze 10m" — the snooze icon already conveys the action — freeing horizontal space so the row fits. Add a `mainLabel` input to the shared split-button so the abbreviated main action keeps a full tooltip and aria-label for discoverability/accessibility. Claude-Session: https://claude.ai/code/session_015797BREShEaTkBsA3tRBuX Co-authored-by: Claude --- .../dialog-view-task-reminders.component.html | 3 ++- src/app/t.const.ts | 1 + src/app/ui/split-button/split-button.component.html | 3 +++ .../ui/split-button/split-button.component.spec.ts | 13 +++++++++++++ src/app/ui/split-button/split-button.component.ts | 4 ++++ src/assets/i18n/en.json | 1 + 6 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/app/features/tasks/dialog-view-task-reminders/dialog-view-task-reminders.component.html b/src/app/features/tasks/dialog-view-task-reminders/dialog-view-task-reminders.component.html index 6ba2b62611..3304c1b755 100644 --- a/src/app/features/tasks/dialog-view-task-reminders/dialog-view-task-reminders.component.html +++ b/src/app/features/tasks/dialog-view-task-reminders/dialog-view-task-reminders.component.html @@ -52,11 +52,12 @@ snooze - {{ T.F.TASK.D_REMINDER_VIEW.SNOOZE_FOR | translate: { m: 10 } }} + {{ T.F.TASK.D_REMINDER_VIEW.SNOOZE_FOR_SHORT | translate: { m: 10 } }} @if (!isMultiple) {