64905 Commits

Author SHA1 Message Date
David Baker
d597fc61d6
Don't cache if not installing deps (#32577)
* Force create pnpm cache directory

As commented otherwise the job fails if no deps are installed

* Don't cache if install isn't set

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove cache force creation

* Revert to original fix

* back to simple version, with fixed indent

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-19 12:59:53 +00:00
Florian Duros
e8d97a9b5a
Room list: make room list item scales with large font size (#32523)
* fix(sc): make room list item scale with large font

* fix: align room avatar view when using large font

* test(sc): add story for large font

* test(sc): update snapshots

* test(sc): add story with zoom
2026-02-18 18:14:43 +00:00
renovate[bot]
6c0d131652
Update Node.js to 38edad6 (#32547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-18 18:11:55 +00:00
renovate[bot]
b8e7bc2410
Update nginxinc/nginx-unprivileged:alpine-slim Docker digest to c9448f9 (#32546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-18 16:51:53 +00:00
Michael Telatynski
48432782e7
Tidy & consolidate workflows (#32517)
* Rebuild static_analysis as ci.yaml using matrix strategy

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

* Disable fail-fast

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

* Delete long-unused pending reviews automation

EW lacks the header to show it anymore

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-18 16:41:14 +00:00
Michael Telatynski
ba95f7f26b
Use Compound buttons in auth screens (#32562)
* Use Compound buttons in auth screens

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

* Simplify

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

* Replace brandClass with testid

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

* Fix tests

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

* Update screenshots

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

* Replace OIDC native Continue buttons too

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

* Fix contrast issues on legacy sso buttons

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

* Tidy css

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

* Update test

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-18 16:07:25 +00:00
renovate[bot]
88b9605a9e
Update matrix-org/matrix-web-i18n digest to abf1868 (#32545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-18 15:34:43 +00:00
renovate[bot]
97a14276b8
Update ghcr.io/element-hq/synapse:develop Docker digest to b935cb0 (#32544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-18 12:14:00 +00:00
renovate[bot]
dfa6b0ecae
Update ghcr.io/element-hq/matrix-authentication-service:main Docker digest to a28fb98 (#32543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-18 11:35:13 +00:00
renovate[bot]
7eb457febb
Update cloudflare/wrangler-action digest to da0e0df (#32541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-18 11:34:47 +00:00
R Midhun Suresh
cb220afc46
Track room list sorting algorithm changes (#32556)
* Update analytics package

* Add method for tracking event

* Track event on resort

* Add test

* Fix lint
2026-02-18 10:06:22 +00:00
Michael Telatynski
177bc4dad4
Update sso_redirect_options to work for Native OIDC (#32537)
* Remove long deprecated option `sso_immediate_redirect`

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

* Remove stale experimental comment about Native OIDC support

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

* Extract redirectToSso from loadApp

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

* Fix maintaining deeplink when going via auto sso

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

* Improve error

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

* Update `sso_redirect_options` to work for Native OIDC

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

* Update existing test for log changes

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

* Add tests

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-18 09:49:53 +00:00
rbondesson
5417fce489
Refactor EncryptionEvent using MVVM and move to shared-components (#32531)
* Refactor EncryptionEvent using MVVM and move to shared-components

* Added viewmodel and unit tests for bothe viewmodel and component.

* Added test for custom-class

* Update EventTileFactory and RoomView to use the new component

* Clean up unused language strings from element-web

* Changed how the view model is created

* Make sure the initial snapshot mimics the previous component

* Optimizing viewmodel initial snapshot and update

* Updated playwright screenshots
2026-02-18 06:28:34 +00:00
renovate[bot]
b19aab4bcf
Update actions/setup-node digest to 6044e13 (#32539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 17:36:59 +00:00
renovate[bot]
ec3972e88b
Update npm non-major dependencies (#32550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 17:27:18 +00:00
renovate[bot]
aaef2cb756
Update docker/build-push-action digest to 10e90e3 (#32542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 17:23:38 +00:00
renovate[bot]
3453b755b8
Update actions/stale digest to b5d41d4 (#32540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 17:22:37 +00:00
renovate[bot]
032dfe1ba4
Update actions/checkout digest to de0fac2 (#32538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 16:55:32 +00:00
David Baker
4db252fbb8 Fix js-sdk back to being develop 2026-02-17 14:39:27 +00:00
David Baker
b1254201db Other half of the merge 2026-02-17 14:34:48 +00:00
David Baker
d606c4966a Merge branch 'staging' into develop 2026-02-17 14:33:44 +00:00
Michael Telatynski
35040ced82
Fix Windows webpack build (#32534)
* Fix develop CD

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

* Remove previous fix attempt

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

* Discard changes to .github/workflows/build.yml

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-17 13:36:04 +00:00
renovate[bot]
6cda8c69be
Update ghcr.io/element-hq/matrix-authentication-service:main Docker digest to da0f6f0 (#32533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 12:54:22 +00:00
David Baker
2d88cb451f
Default useOnlyCurrentProfiles to true (#32524)
* Default useOnlyCurrentProfiles to true

As per comment, start by setting this to true by default with intention to remove.

* Update screenshots

* Snapshot
2026-02-17 12:06:32 +00:00
Michael Telatynski
d6484a28c8
Add stream to Webpack config externals
Should fix issue for develop CD when building on Windows

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-17 12:14:00 +00:00
Michael Telatynski
a3b9a3aec1
Add async_hooks to Webpack config externals
Should fix issue for develop CD when building on Windows
2026-02-17 12:06:31 +00:00
Michael Telatynski
b933d16e5f
Use Renovate to bump testcontainers digests (#32532)
* Use Renovate to bump testcontainers digests

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>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-17 11:45:13 +00:00
Florian Duros
33af62965a
Fix storybook build & run it in CI as dry-run (#32488)
* feat: add dry run of storybook build in merge queue

* Reuse build from storybook build job

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

* Use nx to build library before building storybook

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-17 10:41:11 +00:00
Michael Telatynski
8a85efcfd6
Switch CI nx outputStyle to stream-without-prefixes (#32530)
* Add NX_SKIP_LOG_GROUPING to tests workflow

* Switch CI nx outputStyle to stream-without-prefixes

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-17 10:28:21 +00:00
Florian Duros
55cc7ba597
Room list: update the visuals in order to have better contrast (#32421)
* fix(sc): use correct icon size for room list icons

* feat(sc): implement new selection and hover design for room list item

* feat(sc): set room list item height

* chore(sc): add story for long room and message preview

* fix(sc): use correct letter-spacing for room list item

* feat(sc): use new padding for room list filters

* feat(sc): update room list header style

* test(sc): update unit tests

* test(sc): update visual tests

* test: update playwright screenshots

* doc: update figma link in item story

* test: fix sliding sync test

The notification pop up was at the top of the room list filters (less
top padding) and it was unable to click on the People filter.

* chore: fix `VirtuaalizedRoomListView` comment

* test: update playwright screenshot

* fix(sc): add ellipsis on room name
2026-02-17 09:58:16 +00:00
Will Hunt
d6317b671f
Add Playwright tests for URL previews. (#32519)
* Add Playwright tests for message previews.

* Fix displayName

* update snapshots
2026-02-16 14:19:02 +00:00
Florian Duros
67fcbd1678
Keep custom theme active after reload (#32506)
* fix: keep custom theme active after reload

* test: add e2e test

* test: fix matrix chat test
2026-02-16 11:23:32 +00:00
Florian Duros
04ef3a2d5d
doc: remove DOCKER_HOST note in playwright doc (#32518)
Since https://github.com/element-hq/element-web/pull/32502 and
https://github.com/element-hq/element-web/pull/32489 this is not an
issue anymore
2026-02-16 10:41:47 +00:00
Michael Telatynski
be843c4baa
Use typescript for webpack config (#32507)
* Move declaration.d.ts to @types

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

* Load customisations.json without `require`

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

* Remove webpack rule from when we were consuming shared-components ts vs js

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

* Avoid hardcoding paths to modules in webpack config

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

* Convert webpack config to typescript

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

* Stub js webpack/postcss plugins

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

* Patch broken rollup types until https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/870 is released

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

* Install @types/postcss-import

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

* Fix fdir relying on @types/picomatch

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

* Update pnpm-lock.yaml

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-16 10:10:24 +00:00
ElementRobot
d0b53a6a6c
[create-pull-request] automated change (#32516)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-16 06:47:20 +00:00
Michael Telatynski
2a450e2520
Fix usage of nx in npm scripts (#32505)
* Fix usage of nx in npm scripts

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

* Tidy project.json

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 16:44:20 +00:00
David Langley
4912c6e71b
Set history visibility to "invited" for DMs and new non-public rooms when creating a room (#31974)
* Set history visibility to "invited" for DMs and non-public rooms

* Update e2e tests and screenshots

* lint

* Revert screenshot

* Add test that an override of historyVisibility still works
2026-02-13 14:10:43 +00:00
Ally Robinson
2ff5183806
Update font format from 'ttf' to 'truetype' (#32493)
As per css docs `ttf` isn't a valid format specifier. Instead, for '.ttf' fonts you need to use `truetype`.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@supports#font-format
2026-02-13 13:58:42 +00:00
Michael Telatynski
d684945877
Specify nx output style in CI (#32500)
to avoid confusing the gha logger

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 13:01:55 +00:00
Michael Telatynski
b3ca5c73c3
Run only browser in docker for test:playwright:screenshots (#32502)
* Rename playwright-screenshots script to -experimental

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

* Run only browser in docker for test:playwright:screenshots

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

* Fix playwright config for non-remote runs

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 12:50:43 +00:00
Michael Telatynski
bbaca2b390
Fix linters (#32503)
Prettier doesn't support nested ignore files - https://github.com/prettier/prettier/issues/17099

The eslint rules no longer applied, we fixed the issues they were ignoring

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 12:44:55 +00:00
S1m
226b260319
Fix videos on Firefox (#32497)
* Fix videos on Firefox

Videos are using cross-origin requests, and Firefox
blocks them before passing to the service worker if
the element doesn't have the crossorigin attribute to
give CORS support

* React needs camelCase attr names

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-02-13 12:44:11 +00:00
Andy Balaam
1af3ae70f8
Move DeviceListener into the device-listener directory (#32434)
* Move DeviceListener into the device-listener dir

* Provide device-listener/index.ts
2026-02-13 10:31:18 +00:00
Michael Telatynski
68fc0123ac
Fix localazy download by using pnpm (#32498)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 10:22:42 +00:00
Michael Telatynski
1c008df5c0
Fix package.sh pnpm clean -> nx
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 10:40:25 +00:00
Michael Telatynski
615a4e4385
Switch pnpm catalogMode back to manual 2026-02-13 10:38:00 +00:00
Michael Telatynski
b3b6574638
Run only the browser in docker for storybook screenshots (#32489)
* Remove old screenshots

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

* Add experimental playwright-screenshots.sh utility and use it for shared-components `test:storybook:update`

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

* Tidy up

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

* Iterate based on review

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 10:20:16 +00:00
Florian Duros
d7ca3dbd1d
Add .pnpm-store to gitignore (#32499)
* chore: add .pnpm-store to gitignore

* Update .gitignore

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 09:55:02 +00:00
Michael Telatynski
9aa0dab2a8
Tidy package.json (#32487)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-13 08:52:53 +00:00
ElementRobot
6937ca0a21
[create-pull-request] automated change (#32494)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-13 06:34:38 +00:00