This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/doc/impl-thoughts/background-tasks.md

11 lines
713 B
Markdown
Raw Permalink Normal View History

2020-05-08 12:42:41 +05:30
we make the current session status bar float and display generally short messages for all background tasks like:
"Waiting Xs to reconnect... [try now]"
"Reconnecting..."
"Sending message 1 of 10..."
As it is floating, it doesn't pop they layout and mess up the scroll offset of the timeline.
Need to find a good place to float it though. Preferably on top for visibility, but it could occlude the room header. Perhaps bottom left?
If more than 1 background thing is going on at the same time we display (1/x).
If you click the button status bar anywhere, it takes you to a page adjacent to the room view (and e.g. in the future the settings) and you get an overview of all running background tasks.