Commit Graph

3293 Commits

Author SHA1 Message Date
RiotRobot
4961e23253 Reset matrix-js-sdk back to develop branch 2024-08-20 11:37:35 +00:00
RiotRobot
43fa2e533f Reset matrix-js-sdk back to develop branch 2024-08-13 12:25:53 +00:00
RiotRobot
7bd04185b5 Reset matrix-react-sdk back to develop branch 2024-08-13 12:25:43 +00:00
RiotRobot
62fe7e5024 Merge branch 'master' into develop 2024-08-13 12:25:32 +00:00
RiotRobot
dc9e929758 Upgrade dependency to matrix-react-sdk@3.106.0 2024-08-13 12:14:53 +00:00
RiotRobot
ad8da83079 Reset matrix-js-sdk back to develop branch 2024-08-13 12:13:12 +00:00
RiotRobot
95b2f3ed60 Merge branch 'master' into develop 2024-08-13 12:13:04 +00:00
RiotRobot
b3daf21561 Upgrade dependency to matrix-js-sdk@34.3.0 2024-08-13 12:07:31 +00:00
RiotRobot
269a9dfd22 Upgrade dependency to matrix-js-sdk@34.3.0 2024-08-13 12:07:21 +00:00
Florian Duros
284cd4082b
Update @vector-im/compound-design-tokens (#12876)
* Update `@vector-im/compound-design-tokens`

* Update jest snapshots

* Update playwright snapshots

* Use `--cpd-font-body-lg-semibold` for toast

* Use `--cpd-font-body-lg-semibold` for other elements

* Remaining heading fix
2024-08-09 12:32:37 +00:00
Florian Duros
b230e8ae62
Update @vector-im/compound-design-tokens 2024-08-09 12:29:38 +02:00
Andrew Ferrazzutti
aa17b85823 Update dependencies for MSC4157
Namely, update the widget-sdk to avoid seeing a permissions dialog when
opening the Element Call widget.
2024-08-07 13:26:13 -04:00
Andrew Ferrazzutti
a437c677bb
Support delayed events (MSC4140) for call widget (#12714)
The Widget API spec for delayed events is defined by MSC4157.

Also support "parent" delayed events, which were in a previous version
of MSC4140 and may be reintroduced or be part of a new MSC later.
2024-08-07 15:06:30 +00:00
David Langley
5d16a38b17
Rich text Editor: Auto-replace plain text emoticons with emoji (#12828)
* Detect autoReplaceEmoji setting

* Add plain text emoticon to emoji replacement for plain and rich text modes of the RTE.

* Use latest wysiwyg

* lint

* fix existing jest tests and docs

* Add unit tests

* Update wysiwyg to fix flakes.

* fix wording of tests and comments

* use useSettingValue
2024-08-07 08:39:55 +00:00
RiotRobot
cbcb0be14a Upgrade dependency to matrix-react-sdk@3.106.0-rc.1 2024-08-06 12:37:22 +00:00
RiotRobot
557a40fad5 Upgrade dependency to matrix-js-sdk@34.3.0-rc.1 2024-08-06 12:28:35 +00:00
RiotRobot
018c4f4f42 Upgrade dependency to matrix-js-sdk@34.3.0-rc.1 2024-08-06 12:28:27 +00:00
RiotRobot
cd196acfd1 Upgrade dependency to matrix-js-sdk@34.3.0-rc.0 2024-08-06 12:05:31 +00:00
RiotRobot
f42dca2e08 Upgrade dependency to matrix-js-sdk@34.3.0-rc.0 2024-08-06 12:05:23 +00:00
Michael Telatynski
ca8d63af37
Revert: Re-add olm dependency which is needed for types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-06 12:00:35 +01:00
Michael Telatynski
fe720ecbc4
Re-add olm dependency which is needed for types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-06 11:59:03 +01:00
Michael Telatynski
8893393f79
Reset matrix-react-sdk back to develop branch 2024-08-06 11:48:49 +01:00
Michael Telatynski
e9e9bce1ad
Reset matrix-js-sdk back to develop branch 2024-08-06 11:48:30 +01:00
Michael Telatynski
2fd4c4f6c4
Merge branch 'master' into develop 2024-08-06 11:47:56 +01:00
Michael Telatynski
3fff7bfeca
Reset matrix-js-sdk back to develop branch 2024-08-06 11:47:36 +01:00
Michael Telatynski
a7bc0e4612
Merge branch 'master' into develop 2024-08-06 11:46:52 +01:00
RiotRobot
54f818b64d Upgrade dependency to matrix-react-sdk@3.105.1 2024-08-06 10:29:36 +00:00
Dariusz Niemczyk
03a6b59eb5
feat: Add autoformat and lint for ts/tsx files (#26453)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-30 15:55:34 +01:00
Dariusz Niemczyk
dd20741b87
feat: Add autoformat and lint for ts/tsx files (#11806)
* feat: Add autoformat and lint for ts/tsx files

* Iterate

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

* Iterate

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-30 14:20:50 +00:00
Michael Telatynski
59e526e318
Update unsupported browser react component to new designs (#27857) 2024-07-30 14:16:19 +01:00
Michael Telatynski
b0392b8fc3
Update toast styles to match Figma (#12833)
* Warn users on unsupported browsers before they lack features

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

* Update Learn more link

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

* Iterate

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

* Iterate

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

* Update toast styles to match Figma

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

* Remove test code

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

* update tests

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

* Update tests

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

* Update snapshots

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-30 12:57:15 +00:00
RiotRobot
181f91a7e8 Upgrade dependency to matrix-react-sdk@3.104.0 2024-07-30 12:48:59 +00:00
RiotRobot
9a3f00a621 Upgrade dependency to matrix-js-sdk@34.2.0 2024-07-30 12:39:59 +00:00
RiotRobot
3e903dad86 Upgrade dependency to matrix-js-sdk@34.2.0 2024-07-30 12:39:53 +00:00
Michael Telatynski
a12c1874f9
Warn users on unsupported browsers before they lack features (#12830)
* Warn users on unsupported browsers before they lack features

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

* Update Learn more link

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

* Iterate

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

* Iterate

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

* Add comments

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-29 16:05:34 +00:00
Timo
3c370c6cbc
Remove MatrixRTC realted import ES lint exceptions using a index.ts for matrixrtc (#12780)
* update restricted import rules for matrixrtc

* review

* upgrade matrix-js-sdk

* add missing import
2024-07-25 12:49:41 +00:00
renovate[bot]
d6e3be31d8
Update dependency yaml to v2.5.0 2024-07-24 13:45:43 +00:00
Michael Telatynski
af144e28d8
Merge pull request #27277 from element-hq/renovate/css
Update css
2024-07-24 13:22:43 +00:00
renovate[bot]
98568bd2ad
Merge pull request #27828 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-07-24 13:05:07 +00:00
Michael Telatynski
95f3d3c2b7
Hold back postcss
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-24 13:59:48 +01:00
renovate[bot]
6af3afa6fb
Update all non-major dependencies 2024-07-24 12:57:44 +00:00
Michael Telatynski
a177fef95b
Merge pull request #27830 from element-hq/renovate/definitelytyped
Update definitelyTyped
2024-07-24 12:57:10 +00:00
Michael Telatynski
dc72285f6f
Merge pull request #27836 from element-hq/renovate/matrix-org
Update dependency matrix-widget-api to v1.7.0
2024-07-24 12:36:42 +00:00
renovate[bot]
042f7a9a58
Update dependency posthog-js to v1.149.1 (#12823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 12:36:41 +00:00
Michael Telatynski
054484bc42
Merge pull request #27835 from element-hq/renovate/jest
Update dependency @casualbot/jest-sonar-reporter to v2.3.1
2024-07-24 12:30:31 +00:00
renovate[bot]
8568578095
Update css 2024-07-24 12:22:43 +00:00
renovate[bot]
260eec2fb7
Update dependency matrix-widget-api to v1.7.0 2024-07-24 12:12:45 +00:00
renovate[bot]
939ddbbee3
Update dependency @casualbot/jest-sonar-reporter to v2.3.1 2024-07-24 12:12:26 +00:00
Michael Telatynski
4ec06daf3e
Merge pull request #27829 from element-hq/renovate/babel-monorepo
Update babel monorepo
2024-07-24 12:04:04 +00:00
Michael Telatynski
d43767dfa8
Merge pull request #27831 from element-hq/renovate/typescript
Update dependency typescript to v5.5.4
2024-07-24 12:03:53 +00:00
Michael Telatynski
971d6736a3
Merge pull request #27832 from element-hq/renovate/typescript-eslint-monorepo
Update typescript-eslint monorepo to v7.16.1
2024-07-24 12:03:42 +00:00
renovate[bot]
75e7fd5e87
Update dependency stylelint to v16.7.0 2024-07-24 11:42:53 +00:00
renovate[bot]
2f88b3d1fd
Update typescript-eslint monorepo to v7.16.1 2024-07-24 11:42:17 +00:00
renovate[bot]
cffdaa6281
Update dependency typescript to v5.5.4 2024-07-24 11:42:01 +00:00
renovate[bot]
916b883de1
Update definitelyTyped 2024-07-24 11:41:47 +00:00
renovate[bot]
45410dc883
Update babel monorepo 2024-07-24 11:41:25 +00:00
RiotRobot
630be696b1 Upgrade dependency to matrix-react-sdk@3.104.0-rc.1 2024-07-24 11:34:34 +00:00
renovate[bot]
36d02aeda0
Update dependency @vector-im/compound-web to v5.5.0 (#12818)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 11:33:18 +00:00
ElementRobot
0e2ba42ad7
[Backport staging] Update compound-design-tokens to satisfy compound-web peer dependency (#12820)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-24 11:22:21 +00:00
renovate[bot]
efbd207324
Update dependency @testing-library/jest-dom to v6.4.8 (#12810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 10:57:55 +00:00
renovate[bot]
bacf738ac8
Update all non-major dependencies (#12815)
* Update all non-major dependencies

* Prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-24 10:53:13 +00:00
renovate[bot]
20c205e425
Update dependency blob-polyfill to v9 (#12819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 10:02:47 +00:00
renovate[bot]
fc86c5df7f
Update stylelint (#12817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:59:11 +00:00
renovate[bot]
8b55139f8b
Update dependency @sentry/browser to v8.19.0 (#12816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:58:57 +00:00
renovate[bot]
bbd583aadc
Update typescript-eslint monorepo to v7.16.1 (#12814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:58:31 +00:00
renovate[bot]
0b87caca24
Update playwright monorepo to v1.45.3 (#12813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:58:19 +00:00
renovate[bot]
12f086eec9
Update dependency typescript to v5.5.4 (#12812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:58:07 +00:00
renovate[bot]
182c81b864
Update dependency @types/node to v18.19.41 (#12811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:57:39 +00:00
renovate[bot]
ae74e40474
Update babel monorepo (#12809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 09:56:08 +00:00
Michael Telatynski
ae18bb9ba4
Update compound-design-tokens to satisfy compound-web peer dependency (#12808)
* Update compound-design-tokens to satisfy compound-web peer dependency

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

* Update snapshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-24 09:49:33 +00:00
RiotRobot
7f66d65796 Upgrade dependency to matrix-react-sdk@3.104.0-rc.0 2024-07-23 12:09:34 +00:00
Michael Telatynski
03e6280b6a
Upgrade dependency to matrix-js-sdk@34.2.0-rc.0 2024-07-23 13:03:26 +01:00
Michael Telatynski
4eff82fa5e
Upgrade dependency to matrix-js-sdk@34.2.0-rc.0 2024-07-23 13:03:11 +01:00
Michael Telatynski
be846e6516
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into staging
# Conflicts:
#	package.json
2024-07-23 12:52:57 +01:00
David Baker
9f27685a54 Polyfill Intl.Segmenter
This fixes Element on older versions of Firefox by adding a Polyfill
for Intl.Segmenter. The Polyfill is conditionally imported so it only
inflates the initial bundle size by about 100 bytes. On browsers that
need it, the polyfill is quite large at 317Kb.

Users on these browser will still see the 'unsupported browser' screen,
but will be able to click through to use the app anyway. This keeps the
Intl.Segmenter modernizr check but this would also happen due to
https://github.com/element-hq/element-web/pull/27674
2024-07-23 11:57:12 +02:00
renovate[bot]
e097cc00d0
Update playwright monorepo to v1.45.2 (#12783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 16:27:46 +00:00
RiotRobot
d0a8365be1 Upgrade dependency to matrix-js-sdk@34.1.0 2024-07-16 12:22:06 +00:00
Michael Telatynski
f7a078d250
Update right panel base card styling to match Compound (#12768)
* Update base card styling to match Compound

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

* Update screenshot

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-16 09:03:35 +00:00
renovate[bot]
5f10ccb5e4
Update dependency @types/lodash to v4.17.7 (#12747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 06:51:03 +00:00
Michael Telatynski
e6d9eccf1b
Add test reporter to prevent stale screenshots (#12743)
* Split up slow Playwright tests

To optimise parallelism

Deals with:

```
Slow test file: read-receipts/redactions.spec.ts (5.4m)
Slow test file: read-receipts/new-messages.spec.ts (3.9m)
Slow test file: read-receipts/high-level.spec.ts (3.6m)
Slow test file: read-receipts/editing-messages.spec.ts (3.1m)
Slow test file: read-receipts/reactions.spec.ts (2.2m)
Slow test file: crypto/crypto.spec.ts (2.4m)
Slow test file: settings/appearance-user-settings-tab/appearance-user-settings-tab.spec.ts (1.2m)
Slow test file: composer/composer.spec.ts (1.1m)
Slow test file: crypto/verification.spec.ts (1.1m)
```

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

* Move around snapshots

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

* Add test reporter to prevent stale screenshots

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

* Iterate

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

* Fix test

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

* Iterate

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

* Remove darwin screenshots which should not have been checked in

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

* Fix absolute vs relative path mismatch

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

* Revert "Remove darwin screenshots which should not have been checked in"

This reverts commit 1e189977fa9ec873339fc02b2b231a314809b2d5.

* Iterate

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

* Revert "Revert "Remove darwin screenshots which should not have been checked in""

This reverts commit 5144b9b28e31ca543b2c5d02820c3f957dbd8c04.

* Iterate

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

* Remove stale screenshots

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

* Revert "Remove stale screenshots"

This reverts commit 9beae9974557c1ffa99c2372da280bb0da407bd1.

* Apply same sanitization as Playwright for file name consistency

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

* add dev dep

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

* Remove stale screenshots

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

* Discard changes to playwright/flaky-reporter.ts

* Update end-to-end-tests.yaml

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-15 18:23:20 +00:00
Michael Telatynski
b4ef5d3cc3
Fix HTML export missing a bunch of Compound variables (#12774) 2024-07-15 11:33:41 +01:00
renovate[bot]
ba7cf60cd8
Update dependency @vector-im/compound-web to v5.4.0 (#12773)
* Update dependency @vector-im/compound-web to v5.4.0

* Update snapshots

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-07-12 15:27:51 +00:00
renovate[bot]
d030a7d86f
Lock file maintenance 2024-07-10 16:16:51 +00:00
Richard van der Hoff
19f9f98564
Element-R: Report events with withheld keys separately to Posthog. (#12755)
* Remove refs to deprecated method

`MatrixEvent.isEncryptedDisabledForUnverifiedDevices` is now deprecated

* Report new posthog code for withheld message keys
2024-07-10 09:22:59 +00:00
renovate[bot]
fff0985bf4
Update dependency @sentry/browser to v8.16.0 (#12757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 17:40:06 +00:00
renovate[bot]
454e9346a2
Update all non-major dependencies (#12756)
* Update all non-major dependencies

* Iterate

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-07-09 17:39:26 +00:00
renovate[bot]
93d5d2b39b
Update dependency @vector-im/compound-design-tokens to v1.5.0 (#12758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 17:02:37 +00:00
renovate[bot]
8e1561b1c7
Update dependency matrix-web-i18n to v3.3.0 2024-07-09 16:45:16 +00:00
renovate[bot]
579e9a3d3f
Update dependency katex to v0.16.11 2024-07-09 15:56:52 +00:00
renovate[bot]
07f78326e6
Update typescript-eslint monorepo to v7.15.0 (#12752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 15:54:02 +00:00
renovate[bot]
feb5a491ef
Update dependency rimraf to v6 (#12754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 15:53:02 +00:00
renovate[bot]
7ceb151761
Update dependency @sentry/browser to v8.15.0 (#12749)
* Update dependency @sentry/browser to v8.15.0

* Fix type import

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-07-09 15:22:40 +00:00
Michael Telatynski
167bcdf9d9
Merge pull request #27700 from element-hq/renovate/rimraf-6.x
Update dependency rimraf to v6
2024-07-09 15:01:49 +00:00
renovate[bot]
d053cd26f8
Update dependency @playwright/test to v1.45.1 (#12746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 14:58:15 +00:00
renovate[bot]
f4aec6a0fe
Update dependency @vector-im/compound-design-tokens to v1.4.0 (#12750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 14:56:30 +00:00
renovate[bot]
9be495af4c
Update all non-major dependencies (#12744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 14:55:07 +00:00
renovate[bot]
2891679220
Update dependency typescript to v5.5.3 (#12748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 14:54:50 +00:00
Michael Telatynski
118f71ea3b
Merge pull request #27698 from element-hq/renovate/typescript
Update dependency typescript to v5.5.3
2024-07-09 14:50:05 +00:00
Michael Telatynski
b1d94de413
Merge pull request #27697 from element-hq/renovate/definitelytyped
Update dependency @types/lodash to v4.17.6
2024-07-09 14:47:38 +00:00
renovate[bot]
4a25cc4b43
Update dependency rimraf to v6 2024-07-09 14:37:33 +00:00
renovate[bot]
fd65226b1a
Update typescript-eslint monorepo to v7.15.0 2024-07-09 14:37:22 +00:00
renovate[bot]
722923befd
Update dependency typescript to v5.5.3 2024-07-09 14:36:56 +00:00
renovate[bot]
fdefe624d2
Update dependency @types/lodash to v4.17.6 2024-07-09 14:36:45 +00:00
RiotRobot
6e5b6b4f36 Upgrade dependency to matrix-js-sdk@34.1.0-rc.3 2024-07-09 13:16:40 +00:00
RiotRobot
4d6cea0b7a Upgrade dependency to matrix-js-sdk@34.1.0-rc.2 2024-07-09 12:19:24 +00:00
RiotRobot
8580b13649 Merge remote-tracking branch 'origin/develop' into staging 2024-07-09 11:58:22 +00:00
R Midhun Suresh
cf8b87fd14
Add tabs to the right panel (#12672)
* Create new method for header button behaviour

With the introduction of tabs, the behaviour of the header buttons is
changed as follows:
- Close any right panel if open
- Open the correct right panel if no panel was open before

The old method (and behaviour) is retained as showOrHidePhase.

* Implement tabs in the right panel

There are three tabs: Info, People and Threads

* Remove unwanted code from RoomSummaryCard

- Remove the menu item for opening the memberlist since that is now
  taken of by the tabs.
- Remove the close button

* Remove code for focusing close button from tac item

See https://github.com/matrix-org/matrix-react-sdk/pull/12410

There's no longer a close button to focus so we instead focus the thread
tab. This is done in RightPaneltabs.tsx so we just need to remove this
code.

* Introduce a room info icon to the header

This was previously present in the legacy room header but not in the new
header.

* BaseCard changes

- Adds id, ariaLabelledBy and role props to implement tab accessibility.
- Adds hideHeaderButtons prop to hide header buttons (think back and
  close buttons).
- Change confusing header rendering code:
  header is not rendered ONLY when no header is passed AND
  hideHeaderButtons is true.

* Refactor repeated code into function

Created a new function createSpaceScopeHeader which returns the
component if the room is a space room. Previously this code was
duplicated in every component that uses SpaceScopeHeader component.

* Pass BaseCard attributes and use helper function

Actually using the code from the last two commits

* Add, update and remove tests/screenshots/snapshots

* Fix distance between search bar and tabs

* Update compound

* Update screenshots/snapshots
2024-07-09 11:36:50 +00:00
RiotRobot
1e060de31a Upgrade dependency to matrix-js-sdk@34.0.0 2024-07-08 12:20:01 +00:00
Richard van der Hoff
a7542dc0ac
Remove dependency on libolm (#12704)
* Remove dependency on libolm

We no longer use this (and haven't for some time, afaict).

* Make olm a dev dep

* Revert "Make olm a dev dep"

This reverts commit f733cdfaf0d7af198b89a10021a976e8f4fff632.
2024-07-05 10:20:47 +00:00
SuperKenVery
e288f61f0a
Prevent Element appearing in system media controls (#10995)
* Use WebAudio API to play notification sound

So that it won't appear in system media control.

* Run prettier

* Chosse from mp3 and ogg

* Run prettier

* Use WebAudioAPI everywhere

There's still one remoteAudio. I'm not sure what it does. It seems it's
only used in tests...

* Run prettier

* Eliminate a stupid error

* Iterate

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

* Update setupManualMocks.ts

* Iterate

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

* delint

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

* Iterate

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

* Iterate

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

* mocks

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

* mocks

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

* Iterate

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

* Iterate

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

* Simplify

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

* covg

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-04 18:08:06 +00:00
RiotRobot
8febc65bb9 Upgrade dependency to matrix-js-sdk@34.0.0-rc.1 2024-07-04 12:51:13 +00:00
Michael Telatynski
0434929ee5
Replace deprecated temporal proposal polyfill (#12636)
* Replace deprecated temporal proposal polyfill

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

* Switch polyfill

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

* Rounding

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-07-03 17:02:10 +00:00
Florian Duros
53ea045c54
Update @vector-im/compound-web (#12718)
* deps: update `@vector-im/compound-web`

* feat: use new EditInPlace

* e2e: update snapshots
2024-07-02 12:35:13 +00:00
Florian Duros
7d8623de89
Fix Match system theme toggle (#12719)
* deps: force react-id version

* e2e: use checkbox name
2024-07-02 08:39:22 +00:00
renovate[bot]
d8a671d753
Update dependency posthog-js to v1.141.3 (#12700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 21:45:39 +00:00
renovate[bot]
ffbb903eb6
Update all non-major dependencies (#12681)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 17:14:16 +00:00
renovate[bot]
d379103352
Update dependency typescript to v5.5.2 (#27637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-25 16:59:08 +01:00
Michael Telatynski
844a318eb2
Merge pull request #27636 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-06-25 14:55:13 +00:00
Michael Telatynski
205f0f9f30
Merge pull request #27638 from element-hq/renovate/typescript-eslint-monorepo
Update typescript-eslint monorepo to v7.14.1
2024-06-25 14:52:20 +00:00
renovate[bot]
59512f9808
Update dependency eslint-plugin-unicorn to v54 (#12693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:22:34 +00:00
renovate[bot]
894b4e738d
Update dependency @types/uuid to v10 (#12692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:20:43 +00:00
Michael Telatynski
703ad190f8
Merge pull request #27635 from element-hq/renovate/stylelint
Update stylelint
2024-06-25 14:18:35 +00:00
Michael Telatynski
1237fbf74c
Merge pull request #27639 from element-hq/renovate/major-definitelytyped
Update dependency @types/uuid to v10
2024-06-25 14:17:49 +00:00
renovate[bot]
5c50605f52
Update typescript-eslint monorepo to v7.14.1 (#12689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:17:04 +00:00
renovate[bot]
4bf8766885
Update dependency typescript to v5.5.2 (#12688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-25 16:59:07 +01:00
renovate[bot]
8c3cc6159e
Update dependency @vector-im/compound-web to v4.10.0 (#12687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:16:19 +00:00
renovate[bot]
8977a05387
Update matrix-org (#12683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:15:55 +00:00
renovate[bot]
3aba3f6fab
Update dependency @types/node to v18.19.39 (#12682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:14:19 +00:00
renovate[bot]
91779e0351
Update stylelint (#12684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:14:06 +00:00
renovate[bot]
7da394bf1d
Update dependency @playwright/test to v1.45.0 (#12685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:14:06 +00:00
renovate[bot]
4e6674bbfb
Update dependency @sentry/browser to v8.11.0 (#12686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 14:14:04 +00:00
Michael Telatynski
137b20b784
Merge pull request #27634 from element-hq/renovate/definitelytyped
Update dependency @types/node to v16.18.101
2024-06-25 13:59:30 +00:00
renovate[bot]
734e698c7e
Update dependency eslint-plugin-unicorn to v54 2024-06-25 13:40:04 +00:00
renovate[bot]
ba9f962570
Update dependency @types/uuid to v10 2024-06-25 13:39:53 +00:00
renovate[bot]
1dca6b60c3
Update typescript-eslint monorepo to v7.14.1 2024-06-25 13:39:45 +00:00
renovate[bot]
4e47b75f0f
Update all non-major dependencies 2024-06-25 13:39:11 +00:00
renovate[bot]
55634304b0
Update stylelint 2024-06-25 13:38:57 +00:00
renovate[bot]
eb2ff67e7b
Update dependency @types/node to v16.18.101 2024-06-25 13:38:47 +00:00
RiotRobot
1906af291d Upgrade dependency to matrix-js-sdk@34.0.0-rc.0 2024-06-25 12:51:38 +00:00
Florian Duros
f59bd6d403
Update @vector-im/compound-web (#12675)
* update deps: `@vector-im/compound-web`

* test: update snapshots
2024-06-24 12:51:10 +00:00
David Baker
e49f8e033d
Update to compound-web 4.8.0 (#12650) 2024-06-20 09:09:20 +00:00
Florian Duros
04e1d7f6c0
Update @vector-im/compound-web & fix jest snapshot updates (#12637)
* Update `@vector-im/compound-web`

* Fix floating-ui version
2024-06-19 12:34:55 +00:00
renovate[bot]
8ace19112d
Update definitelyTyped (#12647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-19 10:46:47 +00:00
renovate[bot]
36998f10db
Update typescript-eslint monorepo to v7.13.1 (#12645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-19 09:41:33 +00:00
renovate[bot]
3d8c89020f
Update dependency js-xxhash to v4 (#12646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 09:28:41 +00:00
Michael Telatynski
f8b3be682a
Merge pull request #27603 from element-hq/renovate/all-minor-patch
Update dependency webpack to v5.92.0
2024-06-19 09:24:27 +00:00
renovate[bot]
c209edc878
Update all non-major dependencies (#12642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 09:22:27 +00:00
renovate[bot]
d09793547f
Update dependency emojibase-regex to v15.3.2 (#12644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 09:20:49 +00:00
renovate[bot]
aa9851dc4e
Update dependency webpack to v5.92.0 2024-06-19 08:49:26 +00:00
renovate[bot]
437b5241b9
Update typescript-eslint monorepo to v7.13.1 2024-06-19 08:49:02 +00:00
Michael Telatynski
d6f35a53f7
Replace deprecated babel proposal plugins (#12635)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-19 08:47:47 +00:00
Michael Telatynski
42943f3ffc
Merge pull request #27598 from element-hq/t3chguy/deprecated-babel-plugins
Replace deprecated babel proposal plugins
2024-06-18 16:14:39 +00:00
Michael Telatynski
2fd4e474cb
Replace deprecated babel proposal plugins
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-18 16:33:22 +01:00
RiotRobot
cf1eddf0ea Reset matrix-js-sdk back to develop branch 2024-06-18 12:22:29 +00:00
RiotRobot
cee4a754d7 Reset matrix-react-sdk back to develop branch 2024-06-18 12:22:19 +00:00
RiotRobot
72354161e2 Merge branch 'master' into develop 2024-06-18 12:22:01 +00:00
RiotRobot
42c0c19556 Upgrade dependency to matrix-react-sdk@3.101.0 2024-06-18 12:17:05 +00:00
RiotRobot
d3a0925e42 Upgrade dependency to matrix-js-sdk@33.1.0 2024-06-18 11:56:40 +00:00
renovate[bot]
28dc65508f
Update dependency @sentry/browser to v8.9.1 (#12597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 11:52:14 +00:00
RiotRobot
1c59fb534c Reset matrix-js-sdk back to develop branch 2024-06-18 12:15:19 +00:00
RiotRobot
085fa1cf72 Merge branch 'master' into develop 2024-06-18 12:15:05 +00:00
RiotRobot
85685a27d6 Upgrade dependency to matrix-js-sdk@33.1.0 2024-06-18 11:56:41 +00:00
David Baker
650b9cb0cf
Add in-progress view to display name EditInPlace (#12609)
* Add in-progress view to display name EditInPlace

Requires https://github.com/element-hq/compound-web/pull/180

* Update to new compound-web

for editinplace component with spinner

* Update snapshots

for https://github.com/element-hq/compound-web/pull/178

* Update screenshots

* Remove margin

which isn't necessary now there's no 'Remove' link on the bottom

* Update screenshots
2024-06-14 14:16:13 +00:00
RiotRobot
4360f5a63e Upgrade dependency to matrix-react-sdk@3.101.0-rc.1 2024-06-14 12:29:18 +00:00
RiotRobot
65a87f1a53 Upgrade dependency to matrix-js-sdk@33.1.0-rc.1 2024-06-14 12:22:22 +00:00
RiotRobot
83f238aad2 Upgrade dependency to matrix-js-sdk@33.1.0-rc.1 2024-06-14 12:22:13 +00:00
Michael Telatynski
8c49f3f2ea
Update gfm.css to github-markdown-css (#12613)
* Update gfm.css to github-markdown-css

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

* Update screenshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-13 16:27:37 +00:00
Michael Telatynski
c94e3f00ed
yarn.lock
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-13 12:01:27 +01:00
renovate[bot]
596f297094
Update dependency prettier to v3.3.2 2024-06-11 14:40:18 +00:00
renovate[bot]
6fedf89eaa
Update dependency @sentry/browser to v8 (#12567)
* Update dependency @sentry/browser to v8

* Migrate

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

* 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-06-11 14:21:31 +00:00
renovate[bot]
81cd53a225
Update all non-major dependencies (#12601)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 14:21:30 +00:00
renovate[bot]
b77218e65a
Update all non-major dependencies 2024-06-11 14:03:08 +00:00
renovate[bot]
9c84c3e689
Update dependency fake-indexeddb to v6 (#12568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-11 12:58:30 +00:00
Michael Telatynski
d615e69a86
Merge pull request #27552 from element-hq/renovate/fake-indexeddb-6.x
Update dependency fake-indexeddb to v6
2024-06-11 12:56:15 +00:00
Michael Telatynski
24fafe2588
Merge pull request #27550 from element-hq/renovate/stylelint
Update stylelint
2024-06-11 12:55:16 +00:00
Michael Telatynski
1e06e3083f
Merge pull request #27549 from element-hq/renovate/definitelytyped
Update dependency @types/lodash to v4.17.5
2024-06-11 12:55:02 +00:00
renovate[bot]
05ea9651b7
Update dependency uuid to v10 (#12599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 12:54:10 +00:00
renovate[bot]
2282c6c1cc
Update matrix-org (#12533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-11 12:50:01 +00:00
renovate[bot]
8e9f3a786c
Update dependency fake-indexeddb to v6 2024-06-11 12:45:25 +00:00
renovate[bot]
50f5c15027
Update stylelint 2024-06-11 12:44:43 +00:00
renovate[bot]
c513f724d1
Update dependency @vector-im/compound-design-tokens to v1.3.0 (#12564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-11 12:44:17 +00:00
renovate[bot]
65b43d8dc7
Update dependency @types/lodash to v4.17.5 2024-06-11 12:43:54 +00:00
renovate[bot]
5a1751f395
Update typescript-eslint monorepo to v7.13.0 (#12598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 12:43:53 +00:00
renovate[bot]
9673df67de
Update dependency @testing-library/jest-dom to v6.4.6 (#12596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 12:43:39 +00:00
renovate[bot]
a3a436ad64
Update typescript-eslint monorepo to v7.13.0 2024-06-11 12:28:49 +00:00
RiotRobot
369ae1208e Upgrade dependency to matrix-react-sdk@3.101.0-rc.0 2024-06-11 12:15:49 +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
renovate[bot]
82073aea3e
Update typescript-eslint monorepo to v7.12.0 2024-06-07 15:28:51 +00:00
renovate[bot]
fa5bd19368
Update definitelyTyped 2024-06-07 12:50:03 +00:00
renovate[bot]
3ce0d78961
Update babel monorepo to v7.24.6 2024-06-07 11:28:04 +00:00
renovate[bot]
ceafad32f9
Update babel monorepo to v7.24.6 (#12561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 18:55:58 +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
renovate[bot]
39d0017411
Update typescript-eslint monorepo to v7.11.0 (#12566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 09:53:45 +00:00
renovate[bot]
99b24851d8
Update dependency stylelint to v16.6.1 (#12565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 16:29:47 +00:00
renovate[bot]
c95fd179ba
Update dependency @sentry/browser to v7.116.0 (#12563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 13:51:36 +00:00
renovate[bot]
58664e7e7d
Update dependency @playwright/test to v1.44.1 (#12562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 12:50:01 +00:00
renovate[bot]
7cd822fa08
Update definitelyTyped (#12551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:03: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