Add mark as read / unread in room details#6818
Conversation
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
|
Hello @mxandreas , I have implemented a first version of #6398 (this comment: #6398 (comment)), but the problem is that if the user selects "Mark as unread" then navigates back to the room, the room will be marked as read. To mitigate this, I propose to automatically navigate back to the room list when the user selects "Mark as unread". Here is a demo, but you can also test it using the QR code above: Screen_recording_20260520_093228.mp4This behavior is quite similar to mail clients: when you open a mail then mark it as unread, the application navigate back to the list of mails. Please let me know if it's OK for you, then I can finalize the PR (add tests, etc.) |
Thanks. Yes, this looks good and indeed, this what the mail apps do as well. cc @americanrefugee |
|
LGTM as well. And we're sure we're happy with the position of this new menu item in the list? |
jmartinesp
left a comment
There was a problem hiding this comment.
Thanks, LGTM once the new screenshots are recorded and the lint issues fixed.
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #6818 +/- ##
========================================
Coverage 81.27% 81.27%
========================================
Files 2648 2648
Lines 74169 74218 +49
Branches 9619 9628 +9
========================================
+ Hits 60281 60324 +43
- Misses 10341 10342 +1
- Partials 3547 3552 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Content
Add "Mark as read" and "Mark as unread" in the room detail screen so that users can see this action without having to long click on a room in the room list.
When user selects "Mark as unread" from this screen, the application navigates back to the room list.
Motivation and context
Mitigate accessibility issue per this comment: #6398 (comment)
Closes #6398
Screenshots / GIFs
"Mark as unread" demo:
Screen_recording_20260520_093228.mp4
Tests
Mark as unread
Mark as read
Tested devices
Checklist