1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-09-16 02:41:12 +03:00
Commit Graph

47544 Commits

Author SHA1 Message Date
David Baker
95430cecbc Add notification dots to thread summary icons (#12146)
* Add notification dots to thread summary icons

Adopts new IndicatorIcon from compound to have threads icons with
indicator dot (that aren't also buttons). Adds green & red dots on
the threads icon in the thread summary to indicate notifications.
Changes the notification level dots colours in the threads panel to
be green to match.

* Update test for new CSS class

* Update snapshots with new class name

* Another snapshot update for new class name

* Replace more uses of old class name in tests

* More snapshot updates for new class name

* Unsure how this ever worked in chronological mode

* More snapshot updates

* Fix dot colours

* Upgrade to compound-web 3

* Fix computed notification levels

* Add test for notificationLevelToIndicator
2024-01-25 16:53:41 +00:00
David Baker
c9eccdcd16 Fix tests 2024-01-24 18:33:52 +00:00
David Baker
67550c1248 Pass includeThreads as setting to doesRoomHaveUnreadMessages too 2024-01-24 18:19:40 +00:00
David Baker
c6683d2fdf Pass in & cache the status of the TAC labs flag 2024-01-24 18:12:30 +00:00
RiotRobot
1e843b86f1 v3.91.0-rc.1 v3.91.0-rc.1 2024-01-24 16:38:56 +00:00
ElementRobot
e5cb348051 [Backport staging] Fix 1F97A and 1F979 in Twemoji COLR font (#12177)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-24 13:33:30 +00:00
Michael Telatynski
f684ad51cd Fix 1F97A and 1F979 in Twemoji COLR font (#12175)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-24 13:02:16 +00:00
Florian Duros
d33ffbf581 Fix ThreadsActivityRow props doc 2024-01-24 11:32:04 +01:00
renovate[bot]
aea55eb080 Update all non-major dependencies (#12168)
* Update all non-major dependencies

* prettier

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-24 10:30:20 +00:00
Florian Duros
777e7f288d Add room sorting 2024-01-24 11:10:42 +01:00
Richard van der Hoff
ca5ab09f3b Disable failing playwright test (#12176)
This is the first test in the file, so it's possible that the failure will move
to the next test. But let's give it a try.
2024-01-24 09:54:14 +00:00
Florian Duros
3279050734 Merge branch 'develop' into florianduros/threads/labs-flag 2024-01-24 10:50:27 +01:00
renovate[bot]
a665f028c2 Update dependency @sentry/browser to v7.94.1 (#12171)
* Update dependency @sentry/browser to v7.94.1

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-24 09:23:54 +00:00
renovate[bot]
afda9d89ab Update definitelyTyped (#12169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 21:10:45 +00:00
renovate[bot]
8bb2dca1ff Update dependency @playwright/test to v1.41.1 (#12170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 21:03:05 +00:00
renovate[bot]
1eb19aa6b5 Update dependency stylelint to v16.2.0 (#12172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 20:04:21 +00:00
renovate[bot]
9effb88dc8 Update typescript-eslint monorepo to v6.19.0 (#12173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 20:04:06 +00:00
RiotRobot
863c9be710 v3.91.0-rc.0 2024-01-23 18:42:12 +00:00
RiotRobot
10ae0d1840 Upgrade matrix-js-sdk to 31.2.0-rc.0 2024-01-23 18:42:10 +00:00
David Baker
09d26914ce Merge pull request #12167 from matrix-org/dbkr/use_stateless_notification_badge
Use the StatelessNotificationBadge component in ThreadsActivityCentre
2024-01-23 17:53:38 +00:00
David Baker
8d803b3f65 Remove unused style 2024-01-23 16:59:32 +00:00
David Baker
9db452c699 Use the StatelessNotificationBadge component in ThreadsActivityCentre
and re-use the existing NotificationLevel
2024-01-23 16:34:12 +00:00
Florian Duros
4a9619b13f Add doc 2024-01-23 17:11:08 +01:00
Florian Duros
c66da317e4 Merge branch 'develop' into florianduros/threads/labs-flag 2024-01-23 16:17:28 +01:00
David Baker
3478500031 Merge branch 'develop' into florianduros/threads/pop-out-panel 2024-01-23 15:03:54 +00:00
David Baker
d110660dc3 Make the unread badge component more reusable (#12163)
Add a paramter to make it a dot rather than a badge rather than mangling
it to a dot with CSS in EventTile. Move it to a place in the DOM that reflects
where it's actually supposed to sit rather than repositioning it with CSS.
Tweak sizes to match what figma says (8px everywhere for dots rather than 6px in
some places as it was).
v3.91.0-rc.0
2024-01-23 14:39:50 +00:00
Florian Duros
f30e62d1cd Merge branch 'florianduros/threads/labs-flag' into florianduros/threads/pop-out-panel 2024-01-23 15:35:43 +01:00
Florian Duros
7a72dd8181 Merge branch 'develop' into florianduros/threads/labs-flag 2024-01-23 15:35:21 +01:00
Michael Telatynski
4e68b91515 Fix OIDC bugs due to amnesiac stores forgetting OIDC issuer & other data (#12166)
* Fix OIDC bugs due to amnesiac stores forgetting OIDC issuer & other data

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-23 13:34:10 +00:00
David Baker
1e4b378422 Merge pull request #12156 from matrix-org/dbkr/split_unread_counts
Make threads activity centre labs flag split out unread counts
2024-01-23 10:08:32 +00:00
Florian Duros
dc954c5ca0 Dynamic state of room 2024-01-23 10:12:25 +01:00
Charly Nguyen
11096b207a Expose apps/widgets (#12071)
* Expose apps/widgets

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Bump @matrix-org/react-sdk-module-api from 2.2.1 to 2.3.0

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

---------

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2024-01-22 10:53:27 +00:00
ElementRobot
783007bea6 [create-pull-request] automated change (#12162)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-01-22 06:24:17 +00:00
David Baker
662c94683c Merge pull request #12161 from matrix-org/dbkr/open_threadpanel
Open thread panel when thread clicked in Threads Activity Centre
2024-01-19 17:08:02 +00:00
David Baker
141cb35352 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.
2024-01-19 16:11:52 +00:00
RiotRobot
d8202be772 Reset matrix-js-sdk back to develop branch 2024-01-19 13:50:23 +00:00
RiotRobot
d48740b4e8 Merge branch 'master' into develop 2024-01-19 13:50:12 +00:00
RiotRobot
4681bbbfce v3.90.0 v3.90.0 2024-01-19 13:48:46 +00:00
RiotRobot
abce0fdd2d Upgrade matrix-js-sdk to 31.1.0 2024-01-19 13:48:45 +00:00
ElementRobot
19867d85f4 [Backport staging] Broaden support for matrix spec versions (#12159)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-01-19 10:54:56 +00:00
Richard van der Hoff
a8cc6cc207 Broaden support for matrix spec versions (#12154)
Something of a compainion to
https://github.com/matrix-org/matrix-js-sdk/pull/4014, but also covering the
issues discussed at
https://github.com/matrix-org/matrix-js-sdk/issues/3915#issuecomment-1865221366.

In short: we should not reject servers which only implement recent versions of
the spec. Doing so holds back the ecosystem by requiring all new servers to
implement features that nobody actually uses any more.
2024-01-19 10:00:22 +00:00
Michael Telatynski
0d2253e7d0 Fix issues caused by the artifacts v4 upgrade
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 09:30:15 +00:00
Michael Telatynski
e3d5b4fb98 Fix Sonarcloud artifact downloading
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 09:03:04 +00:00
Michael Telatynski
1dbcdfb6b2 Use Github Artifacts v4 (#12152) 2024-01-19 08:54:49 +00:00
ElementRobot
f4c090eec4 [create-pull-request] automated change (#12158)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-01-19 06:23:58 +00:00
ElementRobot
43b607f715 [Backport staging] Fixed shield alignment on message Input (#12155)
Co-authored-by: Manan Sadana <manancodes.dev@gmail.com>
2024-01-18 17:26:27 +00:00
David Baker
f2dc6f9f15 Simpler fix 2024-01-18 17:21:33 +00:00
David Baker
ba9ad0763d Fix tests 2024-01-18 17:16:20 +00:00
David Baker
5b854dcc6a Make threads activity centre labs flag split out unread counts
Just shows notif & unread counts for main thread if the TAC is enabled.
2024-01-18 16:43:24 +00:00
Manan Sadana
b3ab5fc2c3 Fixed shield alignment on message Input (#12149)
* Fixed shield alignment on message Input

* Fixed shield alignment on message Input

* Updated fix

* reversing merged changes
2024-01-18 14:48:29 +00:00