riot-web/res/img/element-icons
David Baker a5ed97b903
Mark as Unread (#12254)
* Support the mark as unread flag

* Add mark as unread menu option

and make clering notifications also clear the unread flag

* Mark as read on viewing room

* Tests

* Remove random import

* Don't show mark as unread for historical rooms

* Fix tests & add test for menu option

* Test RoomNotificationState updates on unread flag change

* Test it doesn't update on other room account data

* New icon for mark as unread

* Add analytics events for mark as (un)read

* Bump to new analytics-events package

* Read from both stable & unstable prefixes

* Cast to boolean before checking

to avoid setting state unnecessarily

* Typo

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Doc external interface (and the rest at the same time)

* Doc & rename unread market set function

* Doc const exports

* Remove listener on destroy

* Add playwright test

* Clearer language, hopefully

* Move comment

* Add reference to the MSC

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Expand on function doc

* Remove empty beforeEach

* Rejig badge logic a little and add tests

* Fix basdges to not display dots in room sublists again

and hopefully rename the forceDot option to something that better
indicates what it does, and add tests.

* Remove duplicate license header (?)

* Missing word (several times...)

* Incorporate PR suggestion on badge type switch

* Better description in doc comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update other doc comments in the same way

* Remove duplicate quote

* Use quotes consistently

* Better test name

* c+p fail

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-03-19 13:28:20 +00:00
..
brands
call Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
message
room Use `Icon` component for icons on AppTile's menu bar (#10955) 2023-05-22 07:48:40 +00:00
roomlist Mark as Unread (#12254) 2024-03-19 13:28:20 +00:00
settings Device manager - tweak settings display (#9905) 2023-01-15 21:31:07 +00:00
Email-icon.svg New password reset flow (#9581) 2022-11-22 07:58:37 +01:00
Mic-off.svg Use compound Mic icons everywhere (#9849) 2023-01-02 13:36:58 +00:00
Record.svg Implement pause voice broadcast recording (#9469) 2022-10-20 12:44:41 +00:00
Stop.svg
add-photo.svg
ask-to-join.svg Allow creating knock rooms (#11182) 2023-07-10 08:01:03 +00:00
back.svg
camera.svg
cancel-rounded.svg
caret-left.svg
chat-bubble.svg
chat-bubbles.svg
check-white.svg
check.svg Add success dialog after key backup (#10177) 2023-02-17 12:35:13 +00:00
child-relationship.svg
circle-sending.svg
circle-sent.svg
clock.svg
cloud-off.svg
collapse-message.svg
community-rooms.svg
context-menu.svg
copy.svg
devices.svg
email-prompt.svg
expand-message.svg
export.svg
eye.svg
feedback.svg
flask.svg
group-members.svg
hide.svg
home.svg Use semantic heading in user settings Sidebar & Voip (#10782) 2023-05-19 00:03:39 +00:00
i.svg
info.svg
leave.svg
link.svg
live.svg
location.svg
lock.svg New password reset flow (#9581) 2022-11-22 07:58:37 +01:00
maximise-expand.svg Use `Icon` component for icons on AppTile's menu bar (#10955) 2023-05-22 07:48:40 +00:00
mic.svg Use compound Mic icons everywhere (#9849) 2023-01-02 13:36:58 +00:00
minimise-collapse.svg Use `Icon` component for icons on AppTile's menu bar (#10955) 2023-05-22 07:48:40 +00:00
minus-button.svg
new-and-improved.svg GYU: Account Notification Settings (#11008) 2023-06-29 15:46:31 +00:00
notifications.svg
pause.svg
play.svg
plus-button.svg
plus.svg
qrcode.svg
reduce.svg
retry.svg New password reset flow (#9581) 2022-11-22 07:58:37 +01:00
security.svg
send-message.svg
settings.svg
spaces.svg Polish & delabs `Exploring public spaces` feature (#11423) 2023-08-21 09:39:20 +00:00
speaker.svg
thread-summary.svg
trashcan.svg
trophy.svg Poll history - extract poll option display components (#10107) 2023-02-13 02:55:39 +00:00
upload.svg
view-community.svg
view-in-room.svg
warning-badge.svg
warning.svg
x-8px.svg