Commit Graph

5050 Commits

Author SHA1 Message Date
RiotRobot
ffb69d4c47 v1.11.69-rc.0 2024-06-11 12:20:51 +00:00
RiotRobot
369ae1208e Upgrade dependency to matrix-react-sdk@3.101.0-rc.0 2024-06-11 12:15:49 +00:00
RiotRobot
6dee68c726 v3.101.0-rc.0 2024-06-11 12:12:14 +00:00
RiotRobot
050dae7a9f Upgrade dependency to matrix-js-sdk@33.1.0-rc.0 2024-06-11 12:08:25 +00:00
RiotRobot
cc8c89e459 Upgrade dependency to matrix-js-sdk@33.1.0-rc.0 2024-06-11 12:08:21 +00:00
David Baker
cfa322cd62
New user profile UI in User Settings (#12548)
* New user profile UI in User Settings

Using new Edit In Place component.

* Show avatar upload error

* Fix avatar upload error

* Wire up errors & feedback for display name setting

* Implement avatar upload / remove progress toast

* Add 768px breakpoint

* Fix room profile display

* Update to released compund-web with required components / fixes

* Require compound-web 4.4.0

because we do need it

* Update snapshots

Because of course all the auto-generated IDs of unrelated things
have changed.

* Fix duplicate import

* Fix CSS comment

* Update snapshot

* Run all the tests so the ids stay the same

* Start of a test for ProfileSettings

* More tests

* Test that a toast appears

* Test ToastRack

* Update snapshots

* Add the usernamee control

* Fix playwright tests

 * New compound version for editinplace fixes
 * Fix useId to not just generate a constant ID
 * Use the label in the username component
 * Fix widths of test boxes
 * Update screenshots

* Put ^ back on compound-web version

* Split CSS for room & user profile settings

and name the components correspondingly

* Fix playwright test

* Update room settings screenshot

* Use original screenshot instead

* Fix styling of unrelated buttons

Needed to be added in other places otherwise the specificity changes.

Also put the old screenshots back.

* Add copyright year

* Fix copyright year
2024-06-06 13:56:38 +00:00
RiotRobot
5a7956fd90 Reset matrix-js-sdk back to develop branch 2024-06-04 13:38:30 +00:00
RiotRobot
e193f57ac7 Reset matrix-react-sdk back to develop branch 2024-06-04 13:38:20 +00:00
RiotRobot
30f964447f v1.11.68 2024-06-04 13:35:16 +00:00
RiotRobot
cb9eccebed Upgrade dependency to matrix-react-sdk@3.100.0 2024-06-04 13:30:29 +00:00
RiotRobot
48a291d5b0 Reset matrix-js-sdk back to develop branch 2024-06-04 13:28:20 +00:00
RiotRobot
c68c33a884 Resetting package fields for development 2024-06-04 13:28:13 +00:00
RiotRobot
c3a7c24608 Merge branch 'master' into develop 2024-06-04 13:28:12 +00:00
RiotRobot
3ec0fe166f v3.100.0 2024-06-04 13:27:08 +00:00
RiotRobot
f894ae6b68 Upgrade dependency to matrix-js-sdk@33.0.0 2024-06-04 13:20:23 +00:00
RiotRobot
a0ae97c2e3 Upgrade dependency to matrix-js-sdk@33.0.0 2024-06-04 13:20:13 +00:00
renovate[bot]
18edb2e811
Update all non-major dependencies (#12560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-30 15:47:57 +00:00
RiotRobot
fd62e04bc0 v1.11.68-rc.0 2024-05-29 13:21:52 +00:00
RiotRobot
e6c0b8d8e5 Upgrade dependency to matrix-react-sdk@3.100.0-rc.1 2024-05-29 13:09:48 +00:00
RiotRobot
7f49a3009e v3.100.0-rc.1 2024-05-29 13:06:23 +00:00
RiotRobot
67e78a56a6 Upgrade dependency to matrix-js-sdk@33.0.0-rc.0 2024-05-29 12:56:23 +00:00
RiotRobot
2e1c1d15fc Upgrade dependency to matrix-js-sdk@33.0.0-rc.0 2024-05-29 12:56:19 +00:00
RiotRobot
ca16462265 Merge remote-tracking branch 'origin/develop' into staging 2024-05-29 12:50:06 +00:00
Richard van der Hoff
bc48fe4b8f
Add seedrandom dep to resolutions (#12552)
* Move seedrandom dep to `resolutions`

... to shut renovate up

* Reinstate `seedrandom` as dev dependency

If we just declare it in `resolutions`, it doesn't get installed at all,
because it is only a devDependency of `bloom-filters`.
2024-05-23 20:40:30 +00:00
RiotRobot
153d0c36b8 Reset matrix-js-sdk back to develop branch 2024-05-22 12:21:51 +00:00
RiotRobot
18bfe3cb43 Reset matrix-react-sdk back to develop branch 2024-05-22 12:21:41 +00:00
RiotRobot
61ba9b48f9 Merge branch 'master' into develop 2024-05-22 12:21:28 +00:00
RiotRobot
5e02a42ca0 v1.11.67 2024-05-22 12:18:40 +00:00
RiotRobot
89622749e2 Upgrade dependency to matrix-js-sdk@32.4.0 2024-05-22 12:05:55 +00:00
RiotRobot
0c28d37f4e Upgrade dependency to matrix-js-sdk@32.4.0 2024-05-22 12:05:45 +00:00
Valere
a29cabe45a
Report verification and recovery state to posthog (#12516)
* Report verification and recovery state to posthog

* Fix CryptoApi import

* Fix js-sdk import

* Review: Use DeviceVerificationStatus instead of CrossSigningStatus

* Review: Clean condition to check secrets in 4S

* review: Fix redundent !!
2024-05-21 14:37:00 +00:00
RiotRobot
eced524029 Upgrade dependency to matrix-js-sdk@32.3.0 2024-05-21 12:27:33 +00:00
RiotRobot
4f3dcb6bc9 Upgrade dependency to matrix-js-sdk@32.3.0 2024-05-21 12:27:24 +00:00
Hubert Chathi
1bb70c5b3b
Only report undecryptable events once (#12501)
* persist previously-reported event IDs as a bloom filter

* Pin to older `@types/seedrandom`

... to work around https://github.com/Callidon/bloom-filters/issues/72

* Inline `DecryptionFailureTracker.addDecryptionFailure`

* Remove redundant TRACK_INTERVAL

There really doesn't seem to be much point to this batching up of decryption
failure reports. We still call the analytics callback the same number of times.

* Rename `trackedEvents` to `reportedEvents`

* Fix incorrect documentation on `visibleEvents`

This *does* overlap with `failures`.

* Combine `addFailure` and `reportFailure`

* Calculate client properties before starting reporting

* Clear localstorage after each test

... otherwise they interfere

* Remove redundant comment

* Ensure that reports are cleared on a logout/login cycle

* make private const private and const

---------

Co-authored-by: Richard van der Hoff <richard@matrix.org>
2024-05-20 14:53:50 +00:00
renovate[bot]
4e91d8b857
Update all non-major dependencies (#12530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 08:40:07 +00:00
David Baker
68f4a7d4b0
Merge pull request #27477 from element-hq/renovate/eslint-plugin-unicorn-53.x
Update dependency eslint-plugin-unicorn to v53
2024-05-15 22:41:47 +00:00
renovate[bot]
8b8b75e4a5
Update dependency eslint-plugin-unicorn to v53 (#12536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 22:40:53 +00:00
renovate[bot]
6a9a02c281
Update dependency axe-core to v4.9.1 (#12529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 22:01:31 +00:00
David Baker
4de49c76d0
Merge pull request #27475 from element-hq/renovate/css-minimizer-webpack-plugin-7.x
Update dependency css-minimizer-webpack-plugin to v7
2024-05-15 17:54:31 +00:00
Michael Telatynski
575a726361
Add missing @types/semver dev dep
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-05-15 15:51:11 +01:00
RiotRobot
ed2440f8cf v1.11.67-rc.1 2024-05-15 13:56:02 +00:00
Florian Duros
580bc8771c
Fix avatar in chat export (#12537)
* Update `@vector-im/compound-web`

* Update test snapshots
2024-05-15 13:34:27 +00:00
renovate[bot]
59592f84fb
Update dependency eslint-plugin-unicorn to v53 2024-05-15 10:26:28 +00:00
renovate[bot]
ab690372d2
Update dependency css-minimizer-webpack-plugin to v7 2024-05-15 10:25:54 +00:00
RiotRobot
74172969c1 v1.11.67-rc.0 2024-05-15 09:21:54 +00:00
RiotRobot
6db392025c Upgrade dependency to matrix-react-sdk@3.100.0-rc.0 2024-05-15 09:14:52 +00:00
RiotRobot
d84bcbc215 v3.100.0-rc.0 2024-05-15 09:11:36 +00:00
RiotRobot
a61de47bb6 Upgrade dependency to matrix-js-sdk@32.3.0-rc.0 2024-05-15 09:06:14 +00:00
RiotRobot
402e5dbc41 Upgrade dependency to matrix-js-sdk@32.3.0-rc.0 2024-05-15 09:06:08 +00:00
Florian Duros
77a724526e
Tooltip: Improve the accessibility of the composer and the rich text editor (#12459)
* Use `AccessibleButton` in `RovingAccessibleTooltipButton`

* Update snapshots

* Update @vector-im/compound-web

* Update composer

* Update formating buttons

* Update snapshots

* Remove placement

* Update snapshots

* Use kbd

* Update ``@vector-im/compound-web`
2024-05-15 08:32:53 +00:00
RiotRobot
02fd35dad0 Reset matrix-js-sdk back to develop branch 2024-05-07 12:42:55 +00:00
RiotRobot
a71b7f0e66 Reset matrix-react-sdk back to develop branch 2024-05-07 12:42:45 +00:00
RiotRobot
f0672082b3 Merge branch 'master' into develop 2024-05-07 12:42:29 +00:00
RiotRobot
2ee54dd4bc v1.11.66 2024-05-07 12:39:40 +00:00
RiotRobot
e852282270 Upgrade dependency to matrix-react-sdk@3.99.0 2024-05-07 12:27:24 +00:00
RiotRobot
d1eab0aa7e Reset matrix-js-sdk back to develop branch 2024-05-07 12:25:19 +00:00
RiotRobot
2bf15d8174 Resetting package fields for development 2024-05-07 12:25:08 +00:00
RiotRobot
e1d7b1ca3e Merge branch 'master' into develop 2024-05-07 12:25:07 +00:00
RiotRobot
462b0ff8ac v3.99.0 2024-05-07 12:24:06 +00:00
RiotRobot
80a7ea7649 Upgrade dependency to matrix-js-sdk@32.2.0 2024-05-07 12:17:45 +00:00
RiotRobot
79c79f66d6 Upgrade dependency to matrix-js-sdk@32.2.0 2024-05-07 12:17:34 +00:00
Florian Duros
f8e040a890
Tooltip: Remove extra data attribute (#12483)
* Update `@vector-im/compound-web`

* Update snapshots

* Update jest snapshotss

* Update snapshots
2024-05-06 08:54:40 +00:00
RiotRobot
729534401f v1.11.66-rc.1 2024-05-02 15:17:05 +00:00
RiotRobot
dc85c9fb13 Upgrade dependency to matrix-react-sdk@3.99.0-rc.1 2024-05-02 15:11:09 +00:00
RiotRobot
a34dbbc0fa v3.99.0-rc.1 2024-05-02 15:07:45 +00:00
ElementRobot
11731809b0
[Backport staging] TAC: Fix accessibility issue when the Release announcement is displayed (#12484)
Co-authored-by: Florian Duros <florianduros@element.io>
2024-05-02 16:01:15 +01:00
Florian Duros
7193d4c695
TAC: Fix accessibility issue when the Release announcement is displayed (#12482)
* Update `@vector-im/compound-web`

* Update TAC snapshots

* Update space panel snapshots
2024-05-02 13:23:25 +00:00
renovate[bot]
011f7465e7
Update react-types (#26481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 13:11:46 +01:00
renovate[bot]
74e7195a61
Update react-types (#11815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 13:11:43 +01:00
renovate[bot]
091499810c
Update dependency posthog-js to v1.130.1 (#12479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 10:26:39 +00:00
renovate[bot]
1c79bbb1ae
Update dependency typescript to v5.4.5 (#12422)
* Update dependency typescript to v5.4.5

* 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-04-30 15:28:23 +00:00
renovate[bot]
73f2dba0c3
Update dependency typescript to v5.4.5 2024-04-30 15:08:20 +00:00
renovate[bot]
dafd9c23b8
Update all non-major dependencies (#12468)
* Update all non-major dependencies

* Update posthog user state access

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-04-30 14:41:46 +00:00
RiotRobot
f5997aaf7c v1.11.66-rc.0 2024-04-30 12:27:52 +00:00
RiotRobot
9a2066d98a Upgrade dependency to matrix-react-sdk@3.99.0-rc.0 2024-04-30 12:17:16 +00:00
RiotRobot
d813457c42 v3.99.0-rc.0 2024-04-30 12:13:38 +00:00
RiotRobot
6e59f6f413 Upgrade dependency to matrix-js-sdk@32.2.0-rc.0 2024-04-30 12:04:05 +00:00
RiotRobot
a6f7aa6ebb Upgrade dependency to matrix-js-sdk@32.2.0-rc.0 2024-04-30 12:03:59 +00:00
Florian Duros
2df946b5b1
Tooltip: Use AccessibleButton in RovingAccessibleTooltipButton (#12458)
* Use `AccessibleButton` in `RovingAccessibleTooltipButton`

* Update snapshots

* Update @vector-im/compound-web

* Update playwright

* Remove placement
2024-04-30 09:35:58 +00:00
Hubert Chathi
d5bf1022e9
Use a different error message for UTDs when you weren't in the room. (#12453)
* Use different messages for UTDs sent before login

* Playwright test for historical events

* Add some tests

* initial work on pre-join UTDs

* add playwright tests and remove old pre-join UTD logic

* run i18n script

* fix type error

* use different error code in PostHog for pre-join UTD

* don't remove old pre-join UTD logic yet

---------

Co-authored-by: Richard van der Hoff <richard@matrix.org>
2024-04-29 17:18:57 +00:00
RiotRobot
786c590dcf Reset matrix-js-sdk back to develop branch 2024-04-23 13:08:43 +00:00
RiotRobot
bbf37ba7cf Reset matrix-react-sdk back to develop branch 2024-04-23 13:08:32 +00:00
RiotRobot
c50556a957 Merge branch 'master' into develop 2024-04-23 13:08:18 +00:00
RiotRobot
4a895f6daf v1.11.65 2024-04-23 13:05:34 +00:00
RiotRobot
7f5af1ccdf Upgrade dependency to matrix-react-sdk@3.98.0 2024-04-23 12:59:24 +00:00
RiotRobot
33c56e565d Reset matrix-js-sdk back to develop branch 2024-04-23 12:57:29 +00:00
RiotRobot
5f9edc6049 Resetting package fields for development 2024-04-23 12:57:18 +00:00
RiotRobot
c778b0f908 Merge branch 'master' into develop 2024-04-23 12:57:17 +00:00
RiotRobot
0c40f6d26f v3.98.0 2024-04-23 12:56:04 +00:00
RiotRobot
eac221c2d3 Upgrade dependency to matrix-js-sdk@32.1.0 2024-04-23 12:35:55 +00:00
RiotRobot
c3f8189f0f Upgrade dependency to matrix-js-sdk@32.1.0 2024-04-23 12:35:46 +00:00
Florian Duros
fb989ee7f3
Update compound web 2024-04-18 15:40:29 +02:00
Florian Duros
48a3a0992e
Merge branch 'refs/heads/develop' into florianduros/tooltip-update 2024-04-18 10:09:31 +02:00
renovate[bot]
0e65a5aae6
Update dependency posthog-js to v1.126.0 (#12437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-04-17 14:46:59 +00:00
Florian Duros
9b5d4716e2
Merge branch 'develop' into florianduros/tooltip-update 2024-04-17 11:57:12 +02:00
renovate[bot]
193237f204
Update dependency eslint-plugin-jest to v28 (#12431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 15:27:21 +00:00
renovate[bot]
3e12cd950a
Update all non-major dependencies (#12423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:47:44 +00:00
renovate[bot]
8d22cab686
Update dependency eslint-plugin-unicorn to v52 (#12432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:06:04 +00:00
Michael Telatynski
a1c6f0a1d2
Merge pull request #27351 from element-hq/renovate/eslint-plugin-unicorn-52.x
Update dependency eslint-plugin-unicorn to v52
2024-04-16 14:05:24 +00:00
Michael Telatynski
5bed03f37e
Merge pull request #27352 from element-hq/renovate/style-loader-4.x
Update dependency style-loader to v4
2024-04-16 14:04:42 +00:00
renovate[bot]
38ea3312f6
Update dependency style-loader to v4 2024-04-16 12:46:44 +00:00
renovate[bot]
8c61026761
Update dependency eslint-plugin-unicorn to v52 2024-04-16 12:46:33 +00:00
renovate[bot]
5d32728f3e
Update dependency css-loader to v7 2024-04-16 12:46:06 +00:00
RiotRobot
fa5a842257 v1.11.65-rc.0 2024-04-16 12:35:42 +00:00
RiotRobot
a2f1c917bc Upgrade dependency to matrix-react-sdk@3.98.0-rc.0 2024-04-16 12:25:51 +00:00
RiotRobot
11a0422b91 v3.98.0-rc.0 2024-04-16 12:22:19 +00:00
RiotRobot
b4bff9f3b2 Upgrade dependency to matrix-js-sdk@32.1.0-rc.0 2024-04-16 12:18:34 +00:00
RiotRobot
45f5abb33d Upgrade dependency to matrix-js-sdk@32.1.0-rc.0 2024-04-16 12:18:27 +00:00
Florian Duros
89b1c2ff70
Update @vector-im/compound-web to v4.0.1 2024-04-15 16:18:11 +02:00
Florian Duros
30d60bfcdd
Update compound to v4.0.0` 2024-04-15 15:15:09 +02:00
Thor Arne Johansen
6392759bec
Replace SecurityCustomisations with CryptoSetupExtension (#12342)
* Changed call sites from customisations/security to ModuleRunner.extensions

* Updated depenndecy and added tests

* Fixed style and formatting with prettier

* Fix according to Element PR comments

* Fixing issues raised in PR review

* Removed commented code. Improved encapsulation. Removed noisy logging

* Improved language of comment about calling the factory

* Refactor to get better encapsulation

* Find a better name. Provide explicit reset function. Provide more TSDoc

* Simplify mock for cryptoSetup, and add assertion for exception message.

* Remove unused className property. Adjust TSDoc comments

* Fix linting  and code style issues

* Added test to ensure we canregister anduse experimental extensions

* Fix linting and code-style issues

* Added test to ensure only on registration of experimental extensions

* Added test toensure call to getDehydratedDeviceCallback()

* Test what happens when there is no implementation

* Iterating cryptoSetup tests

* Lint/prettier fix

* Assert both branches when checking for dehydrationkey callback

* Update src/modules/ModuleRunner.ts

Language and formatting

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

* Update src/modules/ModuleRunner.ts

Reset by setting a fresh ExtensionsManager

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

* Update src/modules/ModuleRunner.ts

Use regular comment instead of TSDoc style comment

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

* Update test/MatrixClientPeg-test.ts

No need to extend the base class

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

* Update src/modules/ModuleRunner.ts

Fix spelling

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

* Update src/modules/ModuleRunner.ts

Fix spelling

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

* Update src/modules/ModuleRunner.ts

Fix TSDoc formatting

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

* Simplify mock setup

* Simplified mock and cleaned up a bit

* Keeping track of extensions is an implementation detail internal to ExtensionsManager.  Language and punctuation

* Addressed issues and comments from PR review

* Update src/modules/ModuleRunner.ts

Keep the flags to track implementations as direct properties

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

* Fix flattening of implementation map

* Update src/modules/ModuleRunner.ts

Fix whitespace

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

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-04-12 15:15:17 +00:00
RiotRobot
f64759e42e Reset matrix-js-sdk back to develop branch 2024-04-09 10:22:50 +00:00
RiotRobot
d0b192dbc8 Reset matrix-react-sdk back to develop branch 2024-04-09 10:22:40 +00:00
RiotRobot
fc90392982 Merge branch 'master' into develop 2024-04-09 10:22:23 +00:00
RiotRobot
180a1a243b v1.11.64 2024-04-09 10:19:29 +00:00
RiotRobot
5246a7824b Upgrade dependency to matrix-react-sdk@3.97.0 2024-04-09 10:15:10 +00:00
RiotRobot
0daf0cfa80 Reset matrix-js-sdk back to develop branch 2024-04-09 10:13:05 +00:00
RiotRobot
cbfdcabd04 Resetting package fields for development 2024-04-09 10:12:55 +00:00
RiotRobot
2695e2f097 Merge branch 'master' into develop 2024-04-09 10:12:54 +00:00
RiotRobot
adc805828d v3.97.0 2024-04-09 10:11:49 +00:00
RiotRobot
2dffd41c6f Upgrade dependency to matrix-js-sdk@32.0.0 2024-04-09 10:08:27 +00:00
RiotRobot
33cbe62080 Upgrade dependency to matrix-js-sdk@32.0.0 2024-04-09 10:08:19 +00:00
Florian Duros
5815e70b76
TAC: Release Announcement (#12380)
* WIP

* Store the release announcements in the account settings

* Update TAC release announcement description

* Fix settings content comparison

* Add logging in case of failure

* Watch settings changes

* I add release announcement settings to disable it

* Disable release announcement in e2e test

* Add release announcement in e2e test

* Add tests for ReleaseAnnouncementStore.ts

* Update compound-web to `3.3.0`

* Update TAC tests

* Update Labs tests

* Nits

* Add test for ReleaseAnnouncement.tsx

* Update `@vector-im/compound-web`

* Add playwright snapshot

* Delete false playwright screenshot

* Wait for EW to be displayed after reload

* Add screenshot

* Clean util file

* Renaming and comments fixing

* Use second store instead of looking in the store.

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-04-08 08:43:59 +00:00
David Baker
307d737555
Add analytics for mark all threads unread (#12384)
* Add analytics for mark all threads unread

* Upgrade matrix-analytics events for new event
2024-04-04 12:12:30 +00:00
renovate[bot]
aec32bbc35
Update dependency typescript to v5.4.3 2024-04-03 18:45:01 +00:00
renovate[bot]
de9e7e367c
Update dependency typescript to v5.4.3 (#12396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 14:05:16 +00:00
renovate[bot]
b4e1e0bd9f
Update all non-major dependencies (#12393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 11:45:37 +00:00
RiotRobot
43db5a8731 v1.11.64-rc.0 2024-04-02 16:33:52 +00:00
RiotRobot
7c9f521f65 Upgrade dependency to matrix-react-sdk@3.97.0-rc.0 2024-04-02 16:26:43 +00:00
RiotRobot
961ca278c9 v3.97.0-rc.0 2024-04-02 16:22:41 +00:00
RiotRobot
9848bf8246 Upgrade dependency to matrix-js-sdk@32.0.0-rc.0 2024-04-02 16:17:09 +00:00
RiotRobot
485c12e6cb Upgrade dependency to matrix-js-sdk@32.0.0-rc.0 2024-04-02 16:16:49 +00:00
RiotRobot
bd931ebd74 Merge branch 'master' into develop 2024-03-28 17:05:45 +00:00
RiotRobot
e2b5cea7df v1.11.63 2024-03-28 17:02:41 +00:00
RiotRobot
2fb41f19a7 Upgrade dependency to matrix-react-sdk@3.96.1 2024-03-28 16:56:42 +00:00
RiotRobot
b3e96d037c Merge branch 'master' into develop 2024-03-28 16:54:25 +00:00
RiotRobot
3d0e7c657d v3.96.1 2024-03-28 16:53:21 +00:00
RiotRobot
0cd36558c5 Upgrade dependency to matrix-js-sdk@31.6.1 2024-03-28 16:46:25 +00:00
RiotRobot
6f5591b9e2 Upgrade dependency to matrix-js-sdk@31.6.1 2024-03-28 16:46:16 +00:00
RiotRobot
f835c678bf Reset matrix-js-sdk back to develop branch 2024-03-26 17:02:44 +00:00
RiotRobot
44a2666183 Reset matrix-react-sdk back to develop branch 2024-03-26 17:02:34 +00:00
RiotRobot
1b81c276fc Merge branch 'master' into develop 2024-03-26 17:02:15 +00:00
RiotRobot
309bb7eb47 v1.11.62 2024-03-26 16:59:26 +00:00
RiotRobot
44fff3b45c Upgrade dependency to matrix-react-sdk@3.96.0 2024-03-26 16:38:44 +00:00
RiotRobot
faf7b04899 v3.96.0 2024-03-26 16:35:13 +00:00
RiotRobot
7498afcb33 Upgrade dependency to matrix-js-sdk@31.6.0 2024-03-26 16:27:37 +00:00
RiotRobot
69c23b5ae7 Upgrade dependency to matrix-js-sdk@31.6.0 2024-03-26 16:27:24 +00:00
RiotRobot
21190045c1 Reset matrix-js-sdk back to develop branch 2024-03-26 16:36:44 +00:00
RiotRobot
abd4caadb3 Resetting package fields for development 2024-03-26 16:36:29 +00:00
RiotRobot
c699c6bead Merge branch 'master' into develop 2024-03-26 16:36:28 +00:00
renovate[bot]
2e7668752f
Update dependency axe-core to v4.9.0 (#12373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 11:54:51 +00:00
Michael Telatynski
271524e264
Merge pull request #27137 from element-hq/renovate/typescript
Update dependency typescript to v5.4.2
2024-03-19 18:17:50 +00:00
renovate[bot]
665605b2b6
Update dependency typescript to v5.4.2 (#12324)
* Update dependency typescript to v5.4.2

* Fix type conflicts

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

* Make tsc happier

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-03-19 17:55:06 +00:00
renovate[bot]
9c78b357bd
Update all non-major dependencies (#12351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 17:47:51 +00:00
RiotRobot
954589df1b v1.11.62-rc.0 2024-03-19 15:25:53 +00:00
RiotRobot
7c9e37a2c6 Upgrade dependency to matrix-react-sdk@3.96.0-rc.0 2024-03-19 15:20:25 +00:00
RiotRobot
ce8a2f333d v3.96.0-rc.0 2024-03-19 15:17:02 +00:00
RiotRobot
913be315f3 Upgrade dependency to matrix-js-sdk@31.6.0-rc.0 2024-03-19 15:07:43 +00:00
RiotRobot
f8131e2363 Upgrade dependency to matrix-js-sdk@31.6.0-rc.0 2024-03-19 15:07:34 +00:00
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
RiotRobot
31d44b4c46 Merge branch 'master' into develop 2024-03-14 17:39:28 +00:00
RiotRobot
ba2336ac5c v1.11.61 2024-03-14 17:36:16 +00:00
RiotRobot
33ea45301e Upgrade dependency to matrix-react-sdk@3.95.0 2024-03-14 17:17:29 +00:00
RiotRobot
84f5bc7281 Merge branch 'master' into develop 2024-03-14 17:14:31 +00:00
RiotRobot
f96606aceb v3.95.0 2024-03-14 17:13:32 +00:00
RiotRobot
02a315814f v1.11.61-rc.0 2024-03-14 16:47:16 +00:00
RiotRobot
5fe009d094 Upgrade dependency to matrix-react-sdk@3.95.0-rc.0 2024-03-14 16:43:03 +00:00
RiotRobot
f2bfc59178 v3.95.0-rc.0 2024-03-14 16:40:07 +00:00
ElementRobot
d139d6699a
[Backport staging] Update @vector-im/compound-design-tokens in package.json (#12340)
(cherry picked from commit e3ba643bdc)

Co-authored-by: Florian Duros <florianduros@element.io>
2024-03-14 15:59:00 +01:00
Florian Duros
e3ba643bdc
Update @vector-im/compound-design-tokens in package.json (#12339) 2024-03-14 13:06:44 +00:00
Michael Telatynski
40a6a4296b
prettier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-12 19:55:48 +00:00
Michael Telatynski
c5168ad100
Merge branch 'develop' of https://github.com/vector-im/element-web into renovate/svgr-webpack-8.x
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

# Conflicts:
#	yarn.lock
2024-03-12 19:52:40 +00:00
renovate[bot]
00abe771bf
Update dependency postcss-mixins to v10 2024-03-12 18:53:34 +00:00
renovate[bot]
1a2e1474f4
Update dependency @svgr/webpack to v8 2024-03-12 18:51:51 +00:00
RiotRobot
d0b87400d1 Reset matrix-js-sdk back to develop branch 2024-03-12 18:48:50 +00:00
RiotRobot
0977c3839a Reset matrix-react-sdk back to develop branch 2024-03-12 18:48:40 +00:00
RiotRobot
cd7bd1b253 Merge branch 'master' into develop 2024-03-12 18:48:26 +00:00
RiotRobot
11b7c72e7d v1.11.60 2024-03-12 18:45:36 +00:00
RiotRobot
ddec6aed59 Upgrade dependency to matrix-react-sdk@3.94.0 2024-03-12 18:43:06 +00:00
RiotRobot
0f251d8a55 Reset matrix-js-sdk back to develop branch 2024-03-12 18:40:50 +00:00
RiotRobot
1b793f76ab Resetting package fields for development 2024-03-12 18:40:40 +00:00
RiotRobot
e0c7486a81 Merge branch 'master' into develop 2024-03-12 18:40:39 +00:00
RiotRobot
db532f14bd v3.94.0 2024-03-12 18:39:41 +00:00
RiotRobot
3f8ce55e8b Upgrade dependency to matrix-js-sdk@31.5.0 2024-03-12 18:35:35 +00:00
RiotRobot
181a317388 Upgrade dependency to matrix-js-sdk@31.5.0 2024-03-12 18:35:19 +00:00
renovate[bot]
9b01f375e9
Update dependency postcss-hexrgba to v2.1.0 2024-03-07 11:38:08 +00:00
Michael Telatynski
0539c99cf8
Merge pull request #26751 from element-hq/renovate/postcss-easings-4.x
Update dependency postcss-easings to v4
2024-03-07 11:15:47 +00:00
Michael Telatynski
842fa767b8
Merge pull request #26743 from element-hq/renovate/postcss-nested-6.x
Update dependency postcss-nested to v6
2024-03-07 11:15:27 +00:00
renovate[bot]
aa427ecaf3
Update dependency typescript to v5.4.2 2024-03-07 11:15:09 +00:00
renovate[bot]
942fabc5a8
Update all non-major dependencies (#12310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-05 17:56:10 +00:00
Michael Telatynski
f01d69f90b
Merge pull request #27117 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-03-05 16:51:21 +00:00
Michael Telatynski
c9d40992a1
Hold back css deps
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-05 16:35:59 +00:00
renovate[bot]
26999ee978
Update dependency webpack-dev-server to v5 2024-03-05 15:17:43 +00:00
renovate[bot]
e5e536a279
Update all non-major dependencies 2024-03-05 14:43:40 +00:00
RiotRobot
66ba7054f9 v1.11.60-rc.0 2024-03-05 14:15:22 +00:00
RiotRobot
5ee2f5c9c0 Upgrade dependency to matrix-react-sdk@3.94.0-rc.0 2024-03-05 14:12:12 +00:00
RiotRobot
9c8e572572 v3.94.0-rc.0 2024-03-05 14:09:01 +00:00
RiotRobot
a7e3cb8c2c Upgrade dependency to matrix-js-sdk@31.5.0-rc.0 2024-03-05 14:05:31 +00:00
RiotRobot
90bcce9d71 Upgrade dependency to matrix-js-sdk@31.5.0-rc.0 2024-03-05 14:05:20 +00:00
renovate[bot]
c3e0535be9
Update dependency sanitize-html to v2.12.1 [SECURITY] (#12302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 14:39:09 +00:00
Michael Telatynski
5bd0afce30
Prevent "Element" hardcoded in i18n files (#12296)
* Prevent "Element" hardcoded in i18n files

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

* Update matrix-web-i18n

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-29 13:02:46 +00:00
Michael Telatynski
7856a2aac3
Update matrix-web-i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-29 10:43:50 +00:00
Michael Telatynski
617dd777a0
Prevent "Element" hardcoded in i18n files
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-29 09:52:41 +00:00
RiotRobot
f8a2e41df3 Reset matrix-js-sdk back to develop branch 2024-02-27 13:10:27 +00:00
RiotRobot
f601f0b889 Reset matrix-react-sdk back to develop branch 2024-02-27 13:10:17 +00:00
RiotRobot
67898d8ba7 Merge branch 'master' into develop 2024-02-27 13:10:00 +00:00
RiotRobot
a440a57945 v1.11.59 2024-02-27 13:07:09 +00:00
RiotRobot
276afcd02f Upgrade dependency to matrix-react-sdk@3.93.0 2024-02-27 13:02:06 +00:00
RiotRobot
db6f7da2b2 Reset matrix-js-sdk back to develop branch 2024-02-27 13:00:00 +00:00
RiotRobot
0b16c935ad Resetting package fields for development 2024-02-27 12:59:50 +00:00
RiotRobot
8f5bdf5c57 Merge branch 'master' into develop 2024-02-27 12:59:49 +00:00
RiotRobot
a7f8e82d16 v3.93.0 2024-02-27 12:58:36 +00:00
RiotRobot
e876c45581 Upgrade dependency to matrix-js-sdk@31.4.0 2024-02-27 12:52:26 +00:00
RiotRobot
bcb66965a3 Upgrade dependency to matrix-js-sdk@31.4.0 2024-02-27 12:52:17 +00:00
Michael Telatynski
432bd3421d
prettier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-23 11:24:10 +00:00
renovate[bot]
64cec89085
Update dependency postcss-nested to v6 2024-02-23 11:23:51 +00:00
renovate[bot]
f502a4049a
Update dependency postcss-easings to v4 2024-02-23 11:23:38 +00:00
Michael Telatynski
ade8f795b2
Merge branch 'develop' of https://github.com/vector-im/element-web into renovate/css-loader-6.x
# Conflicts:
#	yarn.lock
2024-02-23 11:22:43 +00:00
Michael Telatynski
b44719aa67
Hold back postcss updates
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-23 10:05:00 +00:00
Michael Telatynski
ad696bceb7
Remove unused dependency proxy-agent
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-23 09:57:22 +00:00
renovate[bot]
e03b52b946
Update all non-major dependencies 2024-02-23 04:48:16 +00:00
renovate[bot]
1ead4e1f4c
Update dependency css-loader to v6 2024-02-22 18:49:37 +00:00
renovate[bot]
3e38fd749d
Update dependency css-minimizer-webpack-plugin to v6 2024-02-22 17:26:27 +00:00
renovate[bot]
bbbb0e3dec
Update all non-major dependencies (#12214)
* 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-02-22 10:11:25 +00:00
Michael Telatynski
1d429cca6b
Merge pull request #27054 from element-hq/renovate/major-typescript-eslint-monorepo
Update typescript-eslint monorepo to v7 (major)
2024-02-22 09:08:07 +00:00
renovate[bot]
ce36a67504
Update typescript-eslint monorepo to v7 (#12278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:52:43 +00:00
renovate[bot]
5e71c36504
Update dependency eslint-plugin-unicorn to v51 (#12276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:05:14 +00:00
renovate[bot]
37672f3964
Update dependency @types/sanitize-html to v2.11.0 (#12275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:05:09 +00:00
renovate[bot]
0db6c6df70
Update dependency axe-core to v4.8.4 (#12273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:04:34 +00:00
renovate[bot]
3b4bc60041
Update typescript-eslint monorepo to v7 2024-02-21 18:40:41 +00:00
renovate[bot]
0bf0794956
Update dependency eslint-plugin-unicorn to v51 2024-02-21 18:40:03 +00:00
RiotRobot
8559fb3eaa v1.11.59-rc.0 2024-02-21 18:26:00 +00:00
RiotRobot
36002f6d76 Upgrade dependency to matrix-react-sdk@3.93.0-rc.0 2024-02-21 18:22:44 +00:00
RiotRobot
15e51301a7 v3.93.0-rc.0 2024-02-21 18:19:36 +00:00
RiotRobot
fa1ff8f566 Upgrade dependency to matrix-js-sdk@31.4.0-rc.0 2024-02-21 17:58:03 +00:00
RiotRobot
7646b894d1 Upgrade dependency to matrix-js-sdk@31.4.0-rc.0 2024-02-21 17:57:48 +00:00
renovate[bot]
300f30eca9
Update dependency oidc-client-ts to v3 (#12223)
* Mock subtle crypto in OIDC test

To unblock upgrade to oidc-client-ts

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

* Update dependency oidc-client-ts to v3

* delint

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

* Ensure oidc-client-ts 3.0.1 to drop crypto-js

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 16:58:59 +00:00
Michael Telatynski
c71b8fdf78
Saner releases clean up (#12258)
* Remove allchange dependency

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

* Remove stale release scripts

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

* Update pull request template to remove allchange behaviours

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-19 12:32:28 +00:00
Michael Telatynski
c47f8c8fa8
Remove allchange dependency
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-16 14:51:41 +00:00
RiotRobot
92c831094d Reset matrix-js-sdk back to develop branch 2024-02-13 15:13:46 +00:00
RiotRobot
bb337a1cd8 Reset matrix-react-sdk back to develop branch 2024-02-13 15:13:36 +00:00
RiotRobot
6ca50e537e Merge branch 'master' into develop 2024-02-13 15:13:18 +00:00
RiotRobot
3e84bb3a6e v1.11.58 2024-02-13 15:10:19 +00:00
RiotRobot
2a8b00f928 Upgrade dependency to matrix-react-sdk@3.92.0 2024-02-13 15:05:27 +00:00
RiotRobot
ee50640075 Reset matrix-js-sdk back to develop branch 2024-02-13 15:03:38 +00:00
RiotRobot
2eacb0ac92 Resetting package fields for development 2024-02-13 15:03:28 +00:00
RiotRobot
6036dd01e1 Merge branch 'master' into develop 2024-02-13 15:03:27 +00:00
RiotRobot
cfd58016e8 v3.92.0 2024-02-13 15:02:07 +00:00
RiotRobot
3e5c054243 Upgrade dependency to matrix-js-sdk@31.3.0 2024-02-13 14:57:26 +00:00
RiotRobot
368db9d2b4 Upgrade dependency to matrix-js-sdk@31.3.0 2024-02-13 14:57:12 +00:00
Robin
7622dd35c5 Allow Element Web to use cascade layers
This upgrades a number of PostCSS dependencies so that we can make use of cascade layers, a feature which I plan to use for theming of Compound: https://compound.element.io/?path=/docs/develop-theming--docs
2024-02-09 00:59:36 -05: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
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
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
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]
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
RiotRobot
ca2016d041 v1.11.58-rc.0 2024-02-02 16:29:27 +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
David Baker
c1871ea59f
Update to compound-web 3.0.1 (#12208)
* Update to compound-web 3.0.1

Pulls in a fix to make the indicator icon dot black/white rather than
grey for activity.

* Update snapshots

* More snapshots
2024-02-02 10:26:06 +00:00
Michael Telatynski
c6dddf813c
Switch prepublishOnly to prepack to catch errors earlier (#12202)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-01 11:25:58 +00:00
Valere
a5f9df5855
Support staged rollout of migration to Rust Crypto (#12184)
* Rust migration staged rollout

* Phased rollout unit tests
2024-01-31 15:52:23 +00:00
RiotRobot
7c584df3e8 Reset matrix-js-sdk back to develop branch 2024-01-31 15:02:35 +00:00
RiotRobot
46415c3439 Reset matrix-react-sdk back to develop branch 2024-01-31 15:02:25 +00:00
RiotRobot
c512e49639 Merge branch 'master' into develop 2024-01-31 15:02:12 +00:00
RiotRobot
0cd4a4faac v1.11.57 2024-01-31 14:59:09 +00:00
RiotRobot
e0abf63d87 Upgrade matrix-js-sdk to 31.2.0 2024-01-31 14:59:08 +00:00
RiotRobot
e1715e2c00 Upgrade matrix-react-sdk to 3.91.0 2024-01-31 14:58:59 +00:00
RiotRobot
31449d6f80 Reset matrix-js-sdk back to develop branch 2024-01-31 14:53:35 +00:00
RiotRobot
0ef487da3f Resetting package fields for development 2024-01-31 14:53:26 +00:00
RiotRobot
9b69b86833 Merge branch 'master' into develop 2024-01-31 14:53:25 +00:00
RiotRobot
7be71be175 v3.91.0 2024-01-31 14:52:14 +00:00
RiotRobot
68d07a3077 Upgrade matrix-js-sdk to 31.2.0 2024-01-31 14:52:12 +00:00
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
RiotRobot
285ba42316 v1.11.57-rc.1 2024-01-24 16:50:50 +00:00
RiotRobot
aaeb1081c7 Upgrade matrix-react-sdk to 3.91.0-rc.1 2024-01-24 16:50:49 +00:00
RiotRobot
1e843b86f1 v3.91.0-rc.1 2024-01-24 16:38:56 +00: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
Michael Telatynski
4c4331193e
Merge pull request #26911 from nordeck/charlynguyen/bump-react-sdk-module-api
Bump @matrix-org/react-sdk-module-api from 2.2.1 to 2.3.0
2024-01-23 21:10:42 +00:00
renovate[bot]
58059d1f0a
Update all non-major dependencies 2024-01-23 19:25:03 +00:00
RiotRobot
3000a48907 v1.11.56-rc.0 2024-01-23 18:51:19 +00:00
RiotRobot
c02f153c2a Upgrade matrix-js-sdk to 31.2.0-rc.0 2024-01-23 18:51:18 +00:00
RiotRobot
feba18abd4 Upgrade matrix-react-sdk to 3.91.0-rc.0 2024-01-23 18:51:10 +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
Charly Nguyen
e7ce9b4751
Bump @matrix-org/react-sdk-module-api from 2.2.1 to 2.3.0
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2024-01-23 11:30:41 +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
renovate[bot]
bfe40d6a1b
Update dependency jsrsasign to v11 [SECURITY] 2024-01-19 16:42:44 +00:00
RiotRobot
c5bf7f405c Merge branch 'master' into develop 2024-01-19 14:00:16 +00:00
RiotRobot
bb3954c235 v1.11.55 2024-01-19 13:57:00 +00:00
RiotRobot
1669477d87 Upgrade matrix-js-sdk to 31.1.0 2024-01-19 13:56:58 +00:00
RiotRobot
9ca55b76b0 Upgrade matrix-react-sdk to 3.90.0 2024-01-19 13:56:49 +00:00
RiotRobot
d48740b4e8 Merge branch 'master' into develop 2024-01-19 13:50:12 +00:00
RiotRobot
4681bbbfce 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
renovate[bot]
8afab3c3f6
Update all non-major dependencies 2024-01-17 09:53:27 +00:00
RiotRobot
9a1956c187 Reset matrix-js-sdk back to develop branch 2024-01-16 17:47:59 +00:00
RiotRobot
1ee644aab1 Reset matrix-react-sdk back to develop branch 2024-01-16 17:47:49 +00:00
RiotRobot
c2fa3d8f04 Merge branch 'master' into develop 2024-01-16 17:47:34 +00:00
RiotRobot
d7ab867af3 v1.11.54 2024-01-16 17:44:22 +00:00
RiotRobot
500f3485e0 Upgrade matrix-js-sdk to 31.0.0 2024-01-16 17:44:21 +00:00
RiotRobot
97412e5e12 Upgrade matrix-react-sdk to 3.89.0 2024-01-16 17:44:13 +00:00
RiotRobot
3c405ac34d Reset matrix-js-sdk back to develop branch 2024-01-16 17:41:19 +00:00
RiotRobot
385e5a8bdb Resetting package fields for development 2024-01-16 17:41:09 +00:00
RiotRobot
559cf3ed89 Merge branch 'master' into develop 2024-01-16 17:41:08 +00:00
RiotRobot
9e16381a6e v3.89.0 2024-01-16 17:39:45 +00:00
RiotRobot
8e77e2dd5f Upgrade matrix-js-sdk to 31.0.0 2024-01-16 17:39:44 +00:00
Michael Telatynski
5983528a8d
Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
renovate[bot]
56d8ef3640
Update dependency @vector-im/compound-web to v2 (#12133)
* Update dependency @vector-im/compound-web to v2

* Update Tooltip props

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

* Include TooltipProvider in MatrixChat

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

* Fix pillify & tooltipify

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

* Update tests to use TooltipProvider where necessary

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

* Fix tooltips in Modals, ContextMenus, PersistedElements, Spoiler, HtmlExport

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

* Update tests

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

* delint

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

* Update tests

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

* Fix tooltips in HTMLExport

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

* Don't pass mountAsChild to DOM

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

* prettier

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

* Stabilise test

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-11 19:56:36 +00:00
renovate[bot]
6187c8c884
Update all non-major dependencies (#12130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 12:51:00 +00:00
renovate[bot]
1c72867f2f
Update dependency diff-dom to v5 (#12134)
* Update dependency diff-dom to v5

* Update snapshot

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-11 12:37:48 +00:00
renovate[bot]
3582e2a3ae
Update dependency copy-webpack-plugin to v12 2024-01-11 11:04:02 +00:00
renovate[bot]
c2b5c1fe96
Update all non-major dependencies (#12118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 16:26:00 +00:00
renovate[bot]
1333456fc8
Update dependency stylelint-config-standard to v36 (#12124)
* Update dependency stylelint-config-standard to v36

* Update stylelint

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-10 10:42:30 +00:00
Michael Telatynski
fa3d8341a9
prettier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:29:45 +00:00
Michael Telatynski
b91d0a6a5a
Merge branch 'develop' of https://github.com/vector-im/element-web into renovate/major-stylelint
# Conflicts:
#	yarn.lock
2024-01-10 10:21:29 +00:00
renovate[bot]
d82c3eea4f
Update dependency @vector-im/compound-web to v1 (#12122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:19:43 +00:00
Michael Telatynski
75aefff539
Update stylelint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:17:23 +00:00
renovate[bot]
559d11c3e9
Update dependency axe-core to v4.8.3 (#12117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:13:33 +00:00
renovate[bot]
973d28313b
Update dependency eslint-plugin-unicorn to v50 (#12123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:10:11 +00:00
renovate[bot]
1091ba3e7c
Update dependency emojibase-regex to v15.3.0 (#12045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 03:02:50 +00:00
renovate[bot]
dee2a8ca29
Update all non-major dependencies 2024-01-09 19:21:00 +00:00
renovate[bot]
136a41bf7b
Update dependency stylelint-config-standard to v36 2024-01-09 18:25:53 +00:00
renovate[bot]
0e0f5f06c2
Update dependency eslint-plugin-unicorn to v50 2024-01-09 18:23:51 +00:00
RiotRobot
4032304f01 v1.11.54-rc.0 2024-01-09 18:01:38 +00:00
RiotRobot
a5caa5055e Upgrade matrix-js-sdk to 31.0.0-rc.0 2024-01-09 18:01:37 +00:00
RiotRobot
3f159934e4 Upgrade matrix-react-sdk to 3.89.0-rc.0 2024-01-09 18:01:29 +00:00
RiotRobot
7d03189307 v3.89.0-rc.0 2024-01-09 17:56:36 +00:00
RiotRobot
9705af7abc Upgrade matrix-js-sdk to 31.0.0-rc.0 2024-01-09 17:56:34 +00:00
Michael Telatynski
2d26c46c1c
Strip data-testid in production
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-05 10:46:39 +00:00
RiotRobot
f926118d1d Merge branch 'master' into develop 2024-01-04 14:43:17 +00:00
RiotRobot
c4c0b44471 v1.11.53 2024-01-04 14:40:09 +00:00
RiotRobot
463f8e938d Upgrade matrix-react-sdk to 3.88.0 2024-01-04 14:40:08 +00:00
RiotRobot
1ccfc9a37e Merge branch 'master' into develop 2024-01-04 14:33:43 +00:00
RiotRobot
2f67fe3079 v3.88.0 2024-01-04 14:32:30 +00:00
David Langley
2b09f81f60
Merge branch 'develop' into langleyd/rename_org_in_docs 2024-01-03 10:26:34 +00:00
renovate[bot]
11be614a2f
Update typescript-eslint monorepo to v6 (major) (#12096)
* Update typescript-eslint monorepo to v6

* Fix typo

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-02 21:00:15 +00:00
renovate[bot]
a0c8575113
Update dependency prettier to v3 (#12095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 18:56:39 +00:00
renovate[bot]
188aac111b
Update dependency prettier to v3 (#26815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 17:53:39 +00:00
renovate[bot]
6ef7aab959
Update dependency webpack-cli to v5 (#26816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:49:09 +00:00
David Langley
855bb568b9 rename the GH org in links within documentation 2023-12-20 12:21:26 +00:00