You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WDYT about adding an option to XH.confirm() that would include a standardized “don’t ask me again for this session” checkbox?
I’m imagining that arg could take a dev-defined key (arbitrary string) - something like suppressForSessionKey or snoozeForSessionKey as a cuter option.
Another option would be to take a PersistOptions object that would also support a more permanent snooze option via prefs or localStorage, but that gets a bit more complicated with a need to spec a suitable prompt and all that.
FROM ATM
WDYT about adding an option to XH.confirm() that would include a standardized “don’t ask me again for this session” checkbox?
I’m imagining that arg could take a dev-defined key (arbitrary string) - something like suppressForSessionKey or snoozeForSessionKey as a cuter option.
Another option would be to take a PersistOptions object that would also support a more permanent snooze option via prefs or localStorage, but that gets a bit more complicated with a need to spec a suitable prompt and all that.
FROM LEE
maybe a
suppress: SuppressOpts
withkey: string
type?: 'session'|'localStorage' (default session)
label?: string (default something standard, sensitive to type)
The text was updated successfully, but these errors were encountered: