~emersion/alps#17: 
Add support for incoming email notifications

Still not sure how to do this one. Possible solutions:

  • Javascript-only feature
  • Refresh the page regularly with a <meta> tag
  • Long-lived HTTP responses
Status
REPORTED
Submitter
~emersion
Assigned to
No-one
Submitted
3 years ago
Updated
2 years ago
Labels
email ui

~migadu 3 years ago

Maybe simply have a Refresh button which reloads the page? For starters it is probably the best.

Later on, we could think of a dedicated endpoint which could be polled occasionally for new messages. This could bring up an on screen notification "New message from X,Y ...Refresh"? Or it could simply re-render the messages list (if not on a page > 0)?

~sircmpwn 2 years ago

For now, I've added a meta tag which auto-refreshes the page every 60 seconds.