From 37fd6eea9753cb2b6de08b7ab83a9e385a97b144 Mon Sep 17 00:00:00 2001 From: Edder Talmor Date: Thu, 3 Sep 2026 00:37:55 -0700 Subject: [PATCH] fix(desktop): toast action is a real button, not a hairline text link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The notification action (`NotificationItem`) rendered as `variant="textStrong" size="xs"` — an 11px underlined muted-grey text link with a ~44x20px hit target. On the data-training confirm toast raised by `surfaceModelSwitchConfirm` / `confirmModelWarning` (e.g. picking `muse-spark-1.2-contributor`) it read as a footnote, not the one action the toast exists for, and users reported not being able to "press to accept". Promote it to the SDK's `default` variant at `size="sm"`: a filled primary button, larger hit target, obvious affordance. No new styles. Salvaged from #96562 (toast half only). Refs #96563. --- apps/desktop/src/components/notifications.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/components/notifications.tsx b/apps/desktop/src/components/notifications.tsx index 788873c531..e8a8dda8d6 100644 --- a/apps/desktop/src/components/notifications.tsx +++ b/apps/desktop/src/components/notifications.tsx @@ -236,9 +236,9 @@ function NotificationItem({ notification }: { notification: AppNotification }) { notification.action?.onClick() dismissNotification(notification.id) }} - size="xs" + size="sm" type="button" - variant="textStrong" + variant="default" > {notification.action.label}