datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

feat: Site status message

Open holloway opened this issue 1 year ago • 0 comments

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.
  • 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

holloway avatar Jul 10 '24 02:07 holloway