Show alerts again after dismiss (after a specified time)

Created on 15 November 2021, about 3 years ago
Updated 4 November 2024, 11 days ago

Actually dismissed messages never shown again.
In my use case we need to display again dismissed messages after a specified time. (In my case after 24 hours)
So this would be a nice feature:
On sitewide_alert create/edit form in case I check "dismissable" checkbox display a "Dismiss period" field or something similar. (Or replace the Dismissable checkbox with a 3-way radio button: "Persistent", "Dismissable", "Snoozable" and display "Dismiss period" or "Snooze period" in case I chosed "Snoozable" )
In case i fill Dismiss/snooze period (e.g 24h) then the dismissed alert will be shown again after the specified time has passed.
Yo you need to store in the local storage the dismiss perion and modify the JS to check this value too.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary kepesv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024