element-web/playwright/snapshots
Florian Duros a4987060b7
Pop out of Threads Activity Centre (#12136)
* Add `Thread Activity centre` labs flag

* Rename translation string

* WIP Thread Activity Centre

* Update supportedLevels

* css lint

* i18n lint

* Fix labs subsection test

* Update Threads Activity Centre label

* Rename Thread Activity Centre to Threads Activity Centre

* Use compound `MenuItem` instead of custom button

* Color thread icon when hovered

* Make the pop-up scrollable and add a max height

* Remove Math.random in key

* Remove unused class

* Change add comments on `mx_ThreadsActivityRows` and `mx_ThreadsActivityRow`

* Make threads activity centre labs flag split out unread counts

Just shows notif & unread counts for main thread if the TAC is enabled.

* Fix tests

* Simpler fix

* Open thread panel when thread clicke in Threads Activity Centre

Hopefully this is a sensible enough way. The panel will stay open of
course (ie. if you go to a different room & come back), but that's the
nature of the right panel.

* Dynamic state of room

* Add doc

* Use the StatelessNotificationBadge component in ThreadsActivityCentre

and re-use the existing NotificationLevel

* Remove unused style

* Add room sorting

* Fix `ThreadsActivityRow` props doc

* Pass in & cache the status of the TAC labs flag

* Pass includeThreads as setting to doesRoomHaveUnreadMessages too

* Fix tests

* Add analytics to the TAC (#12179)

* Update TAC label (#12186)

* Add `IndicatorIcon` to the TAC button (#12182)

Add `IndicatorIcon` to the TAC button

* Threads don't have activity if the room is muted

This makes it match the computation in determineUnreadState.
Ideally this logic should all be in one place.

* Re-use doesRoomHaveUnreadThreads for useRoomThreadNotifications

This incorporates the logic of not showing unread dots if the room
is muted

* Add TAC description in labs (#12197)

* Fox position & size of dot on the tac button

IndicatorIcon doesn't like having the size of its icon adjusted and
we probably shouldn't do it anyway: better to specify to the component
what size we want it.

* TAC: Utils tests (#12200)

* Add tests for `doesRoomHaveUnreadThreads`
* Add tests for `getThreadNotificationLevel`

* Add test for the ThreadsActivityCentre component

* Add snapshot test

* Fix narrow hover background on TAC button

Make the button 32x32 (and the inner icon 24x24)

* Add caption for empty TAC

* s/tac/threads_activity_centre/

* Fix i18n & add tests

* Add playwright tests for the TAC (#12227)

* Fox comments

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2024-02-07 13:49:40 +00:00
..
audio-player/audio-player.spec.ts Migrate audio-player.spec.ts from Cypress to Playwright (#12008) 2023-12-11 14:36:30 +00:00
crypto/crypto.spec.ts Use new semantic tokens for username colors (#12209) 2024-02-06 20:54:30 +00:00
editing/editing.spec.ts Migrate most of editing.spec.ts from Cypress to Playwright (#11947) 2023-11-28 13:52:09 +00:00
invite/invite-dialog.spec.ts Improve stability of Playwright screenshots (#12009) 2023-12-07 10:32:23 +00:00
permalinks/permalinks.spec.ts Migrate permalinks.spec.ts from Cypress to Playwright (#12004) 2023-12-12 09:56:55 +00:00
polls/polls.spec.ts Playwright: Convert /e2e/polls (#12065) 2024-01-09 06:28:40 +00:00
register Iterate landmarks around the app in order to improve a11y (#12064) 2023-12-20 15:32:24 +00:00
right-panel Use new semantic tokens for username colors (#12209) 2024-02-06 20:54:30 +00:00
room/room-header.spec.ts Migrate room/* from Cypress to Playwright (#11985) 2023-12-04 12:01:06 +00:00
room-directory/room-directory.spec.ts Migrate room-directory.spec.ts from Cypress to Playwright (#11997) 2023-12-05 15:20:20 +00:00
settings Improve stability of Playwright screenshots (#12009) 2023-12-07 10:32:23 +00:00
spaces Pop out of Threads Activity Centre (#12136) 2024-02-07 13:49:40 +00:00
threads/threads.spec.ts Playwright: Convert e2e/threads (#12066) 2024-01-05 09:56:54 +00:00
timeline/timeline.spec.ts Migrate timeline.spec.ts from Cypress to Playwright (#12025) 2023-12-13 14:59:08 +00:00
user-onboarding/user-onboarding-new.spec.ts Consolidate snapshots between Legacy & Rust crypto in the happy case (#11950) 2023-11-28 10:22:25 +00:00
user-view/user-view.spec.ts Improve stability of Playwright screenshot tests (#11983) 2023-12-04 11:02:48 +00:00
widgets/layout.spec.ts Migrate widgets/* from Cypress to Playwright (#12032) 2023-12-12 17:26:08 +00:00