Improve compact desktop usability and action guidance
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s

This commit is contained in:
Shinuwa 2026-10-05 21:47:16 +02:00
parent 0ac1a0974e
commit 0fc18cd8b9
24 changed files with 325 additions and 90 deletions

View file

@ -55,7 +55,7 @@ export function useToolboxAlerts({ toolboxes, moduleData, links, route, drawerGa
nextTargets.set(key, targetMs);
if (!targetMs || previousTargetMs <= lastTickMs || previousTargetMs > nowMs) return;
notify(formatAlertMessage(timerAlertTemplate, toolbox, countdown.label));
notify(formatAlertMessage(timerAlertTemplate, toolbox, countdown.label), { persistent: true });
});
}
@ -73,7 +73,7 @@ export function useToolboxAlerts({ toolboxes, moduleData, links, route, drawerGa
if (alertMs) nextTargets.set(alertKey, alertMs);
if (alertMs && previousAlertMs > lastTickMs && previousAlertMs <= nowMs) {
notify(formatAlertMessage(calendarAlertTemplate, toolbox, event.title));
notify(formatAlertMessage(calendarAlertTemplate, toolbox, event.title), { persistent: true });
}
});
@ -83,7 +83,7 @@ export function useToolboxAlerts({ toolboxes, moduleData, links, route, drawerGa
const resumeKey = `${key}:${currentOccurrence.startMs}`;
if (resumedCalendarEventsRef.current.has(resumeKey)) return;
resumedCalendarEventsRef.current.add(resumeKey);
notify(formatAlertMessage(calendarResumeTemplate, toolbox, event.title));
notify(formatAlertMessage(calendarResumeTemplate, toolbox, event.title), { persistent: true });
});
}
});