Improve compact desktop usability and action guidance
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
This commit is contained in:
parent
0ac1a0974e
commit
0fc18cd8b9
24 changed files with 325 additions and 90 deletions
|
|
@ -25,7 +25,7 @@ export function ConfirmModal({ title, message, confirmLabel = "Confirmer", cance
|
|||
);
|
||||
}
|
||||
|
||||
export function NotificationToast({ id, message, durationMs = 120000, actionLabel = "", onAction, onClose }) {
|
||||
export function NotificationToast({ id, message, durationMs = 6000, actionLabel = "", onAction, onClose }) {
|
||||
useEffect(() => {
|
||||
if (durationMs <= 0) return undefined;
|
||||
const timeoutId = window.setTimeout(() => onClose(id), durationMs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue