Add an action panel button to mark all conversations as read.
Contributor checklist:
- [x] My commits are in nice logical chunks with good commit messages
- [x] My changes are rebased on the latest
clearnetbranch - [x] A
yarn readyrun passes successfully (more about tests here) - [x] My changes are ready to be shipped to users
By pressing the ✓ button in the action panel, the user can now mark all conversations as read.
This PR incidentally implements tool-tips for the action panel buttons, as pictured here:
On successful marking, a toast is displayed:
Fixes oxen-io/session-desktop-temp#409.
I've now implemented a modal dialogue to allow the user to confirm the marking of all conversations as read.

Generally think having a button to mark all conversations as read is a good idea, but not sure about the placement of the button in this design, the UX/UI team is going to look at some options on where we could place the button
Generally think having a button to mark all conversations as read is a good idea, but not sure about the placement of the button in this design, the UX/UI team is going to look at some options on where we could place the button
I'm not married to the location I used. I placed the button in the action panel because:
- Other such buttons already existed, so I could see at a glance how to add another;
- The action panel is chronically underutilised. There's a lot of unused vertical space, so it seems prudent to find new purposes for it.
Wanted to do a temperature check on this one to see if people still feel this is a necessary feature now that we are syncing the read status of messages. For me, this has really cut down on the need to go through conversations and mark them as read on desktop.