Commit graph

62622 commits

Author SHA1 Message Date
Richard van der Hoff
27b138b52d
Enable disabled cypress test (#11979)
I can't for the life of me make this fail locally, so let's have a go on CI.
2023-11-29 17:21:11 +00:00
Michael Telatynski
e897d7360d
Migrate user-view.spec.ts from Cypress to Playwright (#11944)
* Migrate user-view.spec.ts from Cypress to Playwright

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

* Add bot support & update screenshot

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

* Add screenshot

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

* Use JSHandle

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

* Remove stale snapshots

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

* Update element-web-test.ts

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-29 16:39:27 +00:00
Michael Telatynski
2160f29473
Fix invisible avatar on home page (#11977)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-29 16:18:29 +00:00
Michael Telatynski
2dbf6a8767
Playwright - retain video on failure (#11971)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-29 16:01:41 +00:00
Michael Telatynski
1b3f473c10
Migrate settings/* from Cypress to Playwright (#11949)
* Migrate location.spec.ts from Cypress to Playwright

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

* Migrate location.spec.ts from Cypress to Playwright

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

* Migrate appearance-user-settings-tab.spec.ts from Cypress to Playwright

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

* Migrate device-management.spec.ts from Cypress to Playwright

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

* Migrate general-room-settings-tab.spec.ts from Cypress to Playwright

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

* Migrate general-user-settings-tab.spec.ts from Cypress to Playwright

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

* Migrate preferences-user-settings-tab.spec.ts from Cypress to Playwright

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

* Migrate security-user-settings-tab.spec.ts from Cypress to Playwright

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

* Add screenshots

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

* Add screenshot

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

* Deflake

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

* Update screenshots

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

* Update screenshots

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

* Move settings into subclass

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-29 13:50:13 +00:00
Andy Balaam
8b7f49e74e
Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk (#11903)
* Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk

* Remove unit tests that rely on receipt timestamps

Previously, if we found a receipt for an unknown event, we would use the
receipt timestamp and declare all events before that time to be read.
Now, we ignore such "dangling" receipts until we find the event they
refer to.

This new behaviour is more correct, but does lead to more messages being
considered unread.

This commit deletes tests that checked for the old behaviour.

* Check for a missing thread in determineUnreadState

* Fix incorrect way to find room timeline

* More realistic test setup to support new receipt code

* Update snapshot to expect a room to be unread when there are no receipts

* Formatting fixes

* Update snapshot to show menu and notif button

* Disable some flaky tests

* Disable some flaky tests

* Fix test to make a threaded receipt for an event that is actually in the thread

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2023-11-29 13:36:52 +00:00
Johannes Marbach
fb963b9242
Merge pull request #26674 from vector-im/Johennes-patch-1 2023-11-29 12:54:47 +01:00
Michael Telatynski
e207798a8f
Allow for running playwright tests upstream (#11959)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-29 11:42:00 +00:00
ElementRobot
30c37de29d
[create-pull-request] automated change (#11974)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2023-11-29 11:18:34 +00:00
Johannes Marbach
e493ef1cdb
Undry the workflow 2023-11-29 11:44:55 +01:00
Johannes Marbach
98e860a8a8
Enable label sync workflow 2023-11-29 11:26:52 +01:00
Andy Balaam
c5377bc228
Prevent flaky Jest test by pre-loading WASM (#11975)
Fixes https://github.com/vector-im/element-web/issues/26650
2023-11-29 10:11:53 +00:00
Johannes Marbach
bcec77c946
Merge pull request #26673 from vector-im/Johennes-patch-1 2023-11-29 10:55:21 +01:00
Johannes Marbach
482a52d4e3 Pretty it up 2023-11-29 10:42:03 +01:00
Johannes Marbach
377a7e4308
Replace quotes 2023-11-29 10:34:06 +01:00
Johannes Marbach
be646418bf
Add missing labels for label sync
This adds all the labels that element-web has over element-meta to labels.yml. There is some deduplication to do that we can take care of over time. This at least should ensure that we don't lose anything we have to day while still benefiting from label sync.
2023-11-29 10:30:30 +01:00
renovate[bot]
11695d3227
Update actions/setup-node action to v4 (#11969)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 09:07:26 +00:00
Johannes Marbach
16df760ac2
Merge pull request #26672 from vector-im/johannes/sync-labels 2023-11-29 09:46:15 +01:00
renovate[bot]
b4988de04b
Update definitelyTyped (#11963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 08:36:48 +00:00
Kerry
1ffa1c9c18
Fix: Space scope header overflow (#11933)
* fix spacing for scope header

* extract scope header into component, apply line clamp

* update ThirdPartyMemberInfo styles

* pass onClose to ThirdPartyRoomMemberInfo

* rethemendex

* add View3pidInvite to actions enum, replace uses

* extract out action handler

* push card instead, test

* comment

* reinstate data-testid

* fix typo in styles
2023-11-29 08:25:34 +00:00
Johannes Marbach
7cb841a4cd Adapt label-sync workflow to new version of upstream workflow 2023-11-29 08:34:04 +01:00
Johannes Marbach
4d0a34bb26
Merge pull request #11973 from matrix-org/midhun/fix-cypress-workflow 2023-11-29 08:04:04 +01:00
ElementRobot
43acadf2e3
Merge pull request #26671 from vector-im/actions/localazy-download
Localazy Download
2023-11-29 07:16:30 +01:00
t3chguy
5de3af52ab [create-pull-request] automated change 2023-11-29 06:07:31 +00:00
R Midhun Suresh
ff98d5bed0
Allow passing knapsack token as secret in workflow 2023-11-29 11:09:00 +05:30
renovate[bot]
8dcddb50d5
Update dependency @types/jest to v29.5.10 (#11964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 21:46:52 +00:00
renovate[bot]
2407e6cc72
Update dependency @sentry/browser to v7.81.1 (#11881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 21:45:57 +00:00
renovate[bot]
93f07e43dc
Update matrix-org/netlify-pr-preview action to v3 (#11970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 21:45:51 +00:00
Kerry
cd985d6d6a
make room info button to open room details (#11951) 2023-11-28 21:15:21 +00:00
renovate[bot]
c686766767
Update dependency typescript to v5.3.2 (#11967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:40:11 +00:00
renovate[bot]
e2978ebb98
Update actions/checkout action to v4 (#11968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:22:17 +00:00
renovate[bot]
078de43293
Update linkify to v4.1.3 (#11965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:20:22 +00:00
renovate[bot]
d0fdf27770
Update all non-major dependencies (#11961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:19:53 +00:00
renovate[bot]
5ff984640d
Update babel monorepo to v7.23.4 (#11962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:19:53 +00:00
renovate[bot]
bfa50913e1
Update dependency typescript to v5.3.2 (#26668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 18:58:48 +00:00
renovate[bot]
74460e6545
Update dependency @types/jest to v29.5.10 (#26667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 18:44:55 +00:00
renovate[bot]
ad2b4d8dfd
Update all non-major dependencies (#26664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 18:44:39 +00:00
renovate[bot]
6f6fd0c5be
Update babel monorepo to v7.23.4 (#26665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 18:43:43 +00:00
renovate[bot]
28bf0f7a2c
Update docker/build-push-action digest to 4a13e50 (#26663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 18:42:49 +00:00
renovate[bot]
3c8df025c1
Update definitelyTyped (#26666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 18:41:57 +00:00
RiotRobot
ba2ef79d2a v1.11.51-rc.0 2023-11-28 17:29:10 +00:00
RiotRobot
709049ab7c Upgrade matrix-js-sdk to 30.2.0-rc.0 2023-11-28 17:29:10 +00:00
RiotRobot
db513593b4 Upgrade matrix-react-sdk to 3.86.0-rc.2 2023-11-28 17:29:02 +00:00
Michael Telatynski
198ea60677
Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-28 17:26:07 +00:00
RiotRobot
572bca4037 v3.86.0-rc.2 2023-11-28 17:09:47 +00:00
Michael Telatynski
e97e378805
Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-28 17:05:14 +00:00
RiotRobot
5afae541c1 v3.86.0-rc.1 2023-11-28 16:49:50 +00:00
Michael Telatynski
ad0b90b2c1
Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-28 16:46:46 +00:00
RiotRobot
31f3b8208f v3.86.0-rc.0 2023-11-28 16:22:30 +00:00
RiotRobot
5075d20944 Upgrade matrix-js-sdk to 30.2.0-rc.0 2023-11-28 16:22:28 +00:00