Commit graph

62586 commits

Author SHA1 Message Date
Florian Duros
cf5d9f86fd
Fix TAC button alignment when expanded (#12238) 2024-02-08 14:09:32 +00:00
Florian Duros
967695b6ad
Fix tooltip behaviour in TAC (#12236)
* Update compound to `3.1.1`

* Update `yarn.lock`
2024-02-08 13:13:46 +00:00
Robin
b422641258
Upgrade compound-web (#12234)
* Upgrade compound-web

I forgot to include this in https://github.com/matrix-org/matrix-react-sdk/pull/12209, which has caused avatar and username colors to be out of sync and sometimes revert to plain black/white.

* Update tests

* Update tests
2024-02-07 17:26:05 +00:00
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
Robin
c64af5671a
Merge pull request #26955 from robintown/semantic-avatars
Update custom avatar theme documentation
2024-02-07 04:04:05 +00:00
Robin
3052025dd0
Use new semantic tokens for username colors (#12209)
* Use new semantic tokens for username colors

To match the tokens now used by the Compound Web avatar component

* Fix incorrect lock icon

* Update screenshots
2024-02-06 20:54:30 +00:00
Robin
313753483a Merge branch 'develop' into semantic-avatars 2024-02-06 15:49:40 -05:00
RiotRobot
502a00dba1 v1.11.58-rc.1 2024-02-06 15:58:06 +00:00
RiotRobot
fa8ae283eb Upgrade dependency to matrix-react-sdk@3.92.0-rc.1 2024-02-06 15:47:03 +00:00
RiotRobot
6336cf4dc9 v3.92.0-rc.1 2024-02-06 15:44:02 +00:00
RiotRobot
1d8fb46580 Upgrade dependency to matrix-js-sdk@31.3.0-rc.4 2024-02-06 15:38:19 +00:00
RiotRobot
31e7c39d95 Upgrade dependency to matrix-js-sdk@31.3.0-rc.4 2024-02-06 15:38:02 +00:00
David Baker
9bb6172175
Merge pull request #12230 from matrix-org/backport-12225-to-staging
[Backport staging] Fix the StorageManger detecting a false positive consistency check when manually migrating to rust from labs
2024-02-06 15:26:36 +00:00
Andy Balaam
a664172a22
Use the non-deprecated exportRoomKeys method on CryptoApi (#12231)
* Expand the export test to check encryptMegolmKeyFile was called

* Use the non-deprecated exportRoomKeys method on CryptoApi
2024-02-06 14:46:15 +00:00
Valere
4eba6b0387 Fix the StorageManger detecting a false positive consistency check when manually migrating to rust from labs (#12225)
* Fix StorageManager checks for rust migration manual opt-in

* fix restricted imports

* Moved utility to check db internals into js-sdk

* fix typos and test names

* more timeout for migration test

(cherry picked from commit cdfcd37b94)
2024-02-06 13:19:43 +00:00
Valere
cdfcd37b94
Fix the StorageManger detecting a false positive consistency check when manually migrating to rust from labs (#12225)
* Fix StorageManager checks for rust migration manual opt-in

* fix restricted imports

* Moved utility to check db internals into js-sdk

* fix typos and test names

* more timeout for migration test
2024-02-05 17:57:12 +00:00
renovate[bot]
b14fa366dd
Update peter-evans/repository-dispatch action to v3 (#12224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:44:30 +00:00
renovate[bot]
28335c1d1e
Update dependency @playwright/test to v1.41.2 (#12217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:39:39 +00:00
renovate[bot]
973f415773
Update typescript-eslint monorepo to v6.20.0 (#12221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:39:09 +00:00
renovate[bot]
17e677259c
Update definitelyTyped (#12216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:38:57 +00:00
renovate[bot]
11e315f557
Update babel monorepo to v7.23.9 (#12215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:38:43 +00:00
renovate[bot]
2b8cc42bfb
Update dependency @sentry/browser to v7.98.0 (#12219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:38:02 +00:00
renovate[bot]
b4ba6411ef
Update dependency @types/jest to v29.5.12 (#12218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:33:16 +00:00
renovate[bot]
2a2fe65983
Update actions/cache action to v4 (#12174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-02 17:33:13 +00:00
renovate[bot]
3b7fd88ef0
Update babel monorepo to v7.23.9 2024-02-02 17:14:32 +00:00
Michael Telatynski
def12eb7d5
Merge pull request #26963 from element-hq/renovate/typescript-eslint-monorepo
Update typescript-eslint monorepo to v6.20.0
2024-02-02 17:03:11 +00:00
Michael Telatynski
ddae8f0b6d
Merge pull request #26965 from element-hq/renovate/peter-evans-dockerhub-description-4.x
Update peter-evans/dockerhub-description action to v4
2024-02-02 17:02:56 +00:00
Michael Telatynski
2e882b138a
Merge pull request #26962 from element-hq/renovate/stylelint
Update dependency stylelint-scss to v6.1.0
2024-02-02 16:56:59 +00:00
Michael Telatynski
c1ff276828
Merge pull request #26959 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-02-02 16:54:23 +00:00
renovate[bot]
d248fa9ea0
Update peter-evans/dockerhub-description action to v4 2024-02-02 16:46:25 +00:00
renovate[bot]
b0bb33cccf
Update typescript-eslint monorepo to v6.20.0 2024-02-02 16:45:57 +00:00
renovate[bot]
fa7ff50482
Update dependency stylelint-scss to v6.1.0 2024-02-02 16:45:36 +00:00
renovate[bot]
8892bd659c
Update all non-major dependencies 2024-02-02 16:44:36 +00:00
RiotRobot
ca2016d041 v1.11.58-rc.0 2024-02-02 16:29:27 +00:00
Michael Telatynski
f4f78af477
Fix missing needs clause
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-02 16:23:54 +00:00
Michael Telatynski
d658103530
Revert "Use ELEMENT_BOT_TOKEN for release-drafter-workflow.yml"
This reverts commit 32d4d33e3e.
2024-02-02 15:44:44 +00:00
Michael Telatynski
3e27f80468
Revert "Use ELEMENT_BOT_TOKEN for release-drafter-workflow.yml"
This reverts commit 114632d1f9.
2024-02-02 15:44:42 +00:00
Michael Telatynski
32d4d33e3e
Use ELEMENT_BOT_TOKEN for release-drafter-workflow.yml
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-02 15:41:16 +00:00
Michael Telatynski
114632d1f9
Use ELEMENT_BOT_TOKEN for release-drafter-workflow.yml
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-02 15:41:13 +00:00
RiotRobot
9144983794 Upgrade dependency to matrix-react-sdk@3.92.0-rc.0 2024-02-02 15:10:07 +00:00
RiotRobot
80245a52ed v3.92.0-rc.0 2024-02-02 15:06:59 +00:00
RiotRobot
a80895074b Upgrade dependency to matrix-js-sdk@31.3.0-rc.3 2024-02-02 15:02:22 +00:00
RiotRobot
1aeee16d9e Upgrade dependency to matrix-js-sdk@31.3.0-rc.3 2024-02-02 15:02:10 +00:00
Michael Telatynski
48b5eddd79
Add waits for post-release steps for improved visibility (#26958) 2024-02-02 14:29:58 +00:00
Michael Telatynski
79c9ad98fd
Remove stale inputs (#12213) 2024-02-02 14:29:52 +00:00
Valere
a21a1cad1f
Merge pull request #26939 from element-hq/valere/rust_rollout_phase_0
Update `element.io develop` configuration to migrate all existing users to the new rust crypto stack
2024-02-02 13:08:55 +00:00
Valere
e46c4d06c3 Update develop configuration to migrate users to rust 2024-02-02 13:50:21 +01:00
Valere
cb7fd5118e
SettingsStore: Change feature_rust_crypto to default true (#12203)
* Set default crypto stack to rust

* Update test for default to rust crypto

* Fix labs settings tests

* Fix test not working with rust crypto
2024-02-02 12:20:13 +00:00
Valere
f36b6035f4
Fix logout can take ages (#12191)
* Fix logout can take ages

* fix for of loop

* Add logout tests

* Unit test for logout behavior

* UserMenu tests update snapshot
2024-02-02 11:43:59 +00:00
Timo
53b3d6fe98
Fix sending call notify (#12211)
Signed-off-by: Timo K <toger5@hotmail.de>
2024-02-02 11:35:50 +00:00