datatracker
datatracker copied to clipboard
feat: Site status message
Features
- show a status message on all public pages
- doesn't require JavaScript
- non-JS browsers uses an iframe pointing to a route showing the latest status message. If no site message is active it shows "No site status message.". The iframe is a
<noscript><iframe src=></iframe></noscript>. - JS browsers use Vue NaiveUI Notifications with default design. Dismissed statuses are noted in browser
localStorage(ie per device and browser) not per user, so dismissed statuses aren't remembered on a different device and will need to be dismissed again.
- non-JS browsers uses an iframe pointing to a route showing the latest status message. If no site message is active it shows "No site status message.". The iframe is a
- doesn't pollute Cloudflare cache with status messages (ie status messages can't be inline in the template, the browser has to compose the page)
- Has an endpoint to redirect users to the latest status
/status