69072 Commits

Author SHA1 Message Date
Richard van der Hoff
be82bdfdf3 InviteDialog: factor out startDmOrSendInvites
Factor out the logic of calling `startDm` or `inviteUsers` to a helper
function. We're going to need to call this from a second location soon, so this
is useful groundwork.
2026-04-16 17:19:12 +01:00
Richard van der Hoff
c9a8d71707 Merge branch 'rav/playwright_nx_outputstream' into active_branches_base 2026-04-16 17:18:47 +01:00
Richard van der Hoff
19741d0696 Merge branch 'rav/playwright_screenshots_output_again' into active_branches_base 2026-04-16 17:18:47 +01:00
Richard van der Hoff
87461659eb Merge branch 'rav/compound_web_9_2' into active_branches_base 2026-04-16 17:18:47 +01:00
Richard van der Hoff
bbd7126f3b Merge branch 'rav/nx_analytics' into active_branches_base 2026-04-16 17:18:47 +01:00
Richard van der Hoff
db4a23fab2 Merge branch 'rav/extract_dmroom_tile' into active_branches_base 2026-04-16 17:18:47 +01:00
Richard van der Hoff
58ab7a97ec Merge remote-tracking branch 'origin/develop' into rav/compound_web_9_2 2026-04-16 17:17:34 +01:00
Richard van der Hoff
33baae45d6 Configuration for nx output under playwright
When playwright starts the development web server, have it tell nx to use the
`stream` output style, which is somewhat clearer than the
default. (Specifically, it distinguishes between output from different tasks,
so you can see where any errors are coming from.)
2026-04-16 15:28:37 +01:00
Richard van der Hoff
6a72071da1 Annotate output from playwright-screenshots scripts
... to make it easier to see where it is coming from

Also, add a blank line before starting playwright itself
2026-04-16 15:27:40 +01:00
Richard van der Hoff
97d2f3d659 Add analytics config to nx
There doesn't seem to be any way to stop nx wanting to add this config setting,
so I think we just have to add it.
2026-04-16 15:22:46 +01:00
Richard van der Hoff
88db0de3d9 More snapshot updates 2026-04-16 14:40:58 +01:00
Michael Telatynski
30f442208a
Fix React hydration issues (#32958)
* Add more playwright axe tests to settings dialogs

* Add utility to jest setupTests to detect React hydration errors

* Iterate jest utility

* Fix axe issue heading-order

* Fix div-in-p issues

* Fix setupTests.ts

* Fix heading order

* Make types happier

* Fix hydration issues of thead containing text nodes

* Update tests

* Fix form-in-form React hydration issues

* Fix li-in-li React hydration issues

* Fix checked in form without onChange React hydration issue

* Fix styling bleeding from _common.pcss

* Update snapshots

* Fix more remaining issues

* Remove _common.pcss h2 rule altogether

* Fix test

* Update snapshots

* Iterate

* Iterate

* Update snapshots

* Simplify diff

* Test

* Update screenshots

* Update screenshot
2026-04-16 13:35:40 +00:00
Richard van der Hoff
2864516be9 update shared-components snapshots 2026-04-16 14:35:11 +01:00
Florian Duros
d7f5546294
Room list: add custom section creation in SC (#33138)
* feat: add way to create custom section in SC

* feat: disable custom section in vms

* chore: include design tokens icons in vitest config

* test: update screenshot

* chore: use one react import
2026-04-16 13:14:10 +00:00
Richard van der Hoff
d7f626b536 update snapshots 2026-04-16 12:15:22 +01:00
Richard van der Hoff
3556e98bfb Upgrade to compound 9.2.0
... to pick up the export of PageHeader
2026-04-16 12:07:57 +01:00
Michael Telatynski
64d3802efe
Fall back to OIDC response_mode query if fragment unsupported (#33169)
* Fall back to OIDC response_mode query if fragment unsupported

* Tidy comments

* Fix test
2026-04-16 11:07:39 +00:00
Richard van der Hoff
e9878f8264 Factor DMRoomTile out to its own file
I'm going to use this from a new component
2026-04-16 11:16:34 +01:00
Richard van der Hoff
583eae63f7
Simplifications in InviteDialog (#33156)
* InviteDialog: simplify users section for CallTransferDialog

The majority of `renderMainTab` is enpty for the call transfer dialog, so we
may as well inkine the bits that aren't.

* Simplify `renderMainTab`

Now that this is unused for CallTransfer, we can simplify

* Remove redundant eslint-disable

eslint seems happy without this, and we shouldn't be disabling lints for a
whole file anyway
2026-04-16 09:03:26 +00:00
Zack
d4aea25600
Phase 1 Refactor MImageBody to shared component (#33093)
* Phase 1 Refactor MImageBody to shared component

* blurhash package added into shared components

* Added image snapshots

* Correct the GIF label css design

* Update snapshot for GIF

* crop image correctly

* Update snapshot to reflect updates

* typo fix

* update css to compund variables

* Added tsdoc to function

* Fix inaccurate css and text values in stories

* use const enum instead

* Add i18n to shared components + added string

* Correct css comment information

* Update lockfile
2026-04-16 08:59:32 +00:00
renovate[bot]
aa0abdb43a
Update dependency matrix-seshat to v4.2.0 (#33168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-16 08:50:54 +00:00
renovate[bot]
3e63216822
Update cloudflare/wrangler-action digest to 9acf94a (#33167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-16 08:41:26 +00:00
Michael Telatynski
475b89ec46
Update check-regexp to exclude 'Report results'
As this runs on workflow_run so gets clobbered by non-develop runs
2026-04-16 09:55:27 +01:00
Michael Telatynski
b495628e6f
Fix element-web start not building module-api (#33161) 2026-04-16 07:58:43 +00:00
Richard van der Hoff
ef5fad8d6a
BaseDialog: fix comment (#33159)
This comment was a half-truth
2026-04-15 15:57:40 +00:00
renovate[bot]
93ab87c4a1
Migrate Renovate config (#33160)
* Migrate config .github/renovate.json

* Prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-15 15:53:22 +00:00
Michael Telatynski
e8b4b9b6ed
Teach renovate about hakDependencies (#33147)
* Teach renovate about hakDependencies

* Update testcontainers-docker slug
2026-04-15 14:56:49 +00:00
renovate[bot]
421fbe4a52
Update storybook (#33125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-15 10:33:42 +00:00
renovate[bot]
35b9b12eae
Update nx to v22.6.5 (#33124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-15 09:36:09 +00:00
Michael Telatynski
de4a1e6d35
Switch OIDC to response_mode=fragment (#33100)
* Refactor: kill off `parseQs` in favour of URLSearchParams

* Consolidate app-load url parameter handling

* Switch to responseMode=fragment
2026-04-15 09:35:02 +00:00
Michael Telatynski
5475edbbc5
Fix layered.sh linking js-sdk incorrectly (#33143)
* Simplify layered.sh

pnpm link already installs dependencies, this was causing the prepare script to run twice

* Improve logging in fetchdep and make linter happier

* Fix incorrectly linking js-sdk
2026-04-15 08:59:27 +00:00
renovate[bot]
dfdd438ae6
Update eslint-plugins (#33123)
* Update eslint-plugins

* Hold back esbuild to unbreak vitepress

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-15 08:48:15 +00:00
ElementRobot
c106abd721
[create-pull-request] automated change (#33092)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-04-15 08:35:12 +00:00
Michael Telatynski
181b06b3c8
Fix static analysis CI gate not working (#33146)
* Debug CI

* Debug CI

* Fix ci final job

* Revert test change
2026-04-14 20:14:28 +00:00
renovate[bot]
b63c3646bd
Update docker (#33145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 15:40:35 +00:00
Michael Telatynski
201f5dfd90
Fix build-and-test.yaml skip behaviour for downstream runs 2026-04-14 16:22:48 +01:00
Zack
80cf9e5b4a
Shared Components Restructure, Cherry Picked | Room Shell Structure (#32917)
* refactor(shared-components): move composer and right-panel tree

* refactor: cleanup remaining structure leftovers

* test(shared-components): add room shell visual baselines

* Correct Path
2026-04-14 13:20:15 +00:00
Michael Telatynski
cc9549da0a
Skip bulk of CI in pull_request renovate runs (#33141)
* Skip bulk of CI in pull_request renovate runs

Relying instead on running the full suite in the merge queue to lower the impact of Renovate on the github actions concurrency limits in the org

* Iterate
2026-04-14 13:17:32 +00:00
Michael Telatynski
9151640d40
Exclude binary files from Sonar analysis (#33144)
* Exclude png files from Sonar analysis

They just cause errors

`11:39:29.466 WARN  Invalid character encountered in file /home/runner/work/element-web/element-web/apps/web/res/vector-icons/152.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.`

* Modify sonar-project.properties for exclusions

Updated sonar.exclusions to include additional file types.
2026-04-14 13:15:36 +00:00
Zack
f615968835
Refactoring readMarkerForEvent into ReadMarkerView in shared-components (#32777)
* Refactoring readMarkerForEvent  into ReadMarketView in shared-components

* Use shared ReadMarkerView in MessagePanel

* Rename ReadMarkerView to ReadMarker

* Fix Prettier

* Update snapshots screenshots

* Use plain props for ReadMarker

* Fix Prettier

* Move ReadMarker into room timeline

* Replace ReadMarker nested ternary

* Update snapshot
2026-04-14 11:56:52 +00:00
Andy Balaam
9a8ffbe0bd
playwright-common utilities for handling toasts (#33119)
* playwright-common utilities for handling toasts

* Set element-web-playwright-common version to 3.1.0

* Add comments to explain the linear hierarchy of fixtures
2026-04-14 11:49:27 +00:00
renovate[bot]
733c685d5e
Update actions/upload-pages-artifact action to v5 (#33140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 10:52:30 +00:00
renovate[bot]
abefefc981
Update zizmorcore/zizmor-action action to v0.5.3 (#33139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 10:50:38 +00:00
renovate[bot]
91e9a0058c
Update typescript (#33133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-14 10:29:34 +00:00
renovate[bot]
e2197307b4
Update dependency @casualbot/jest-sonar-reporter to v2.5.1 (#33122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-14 10:14:48 +00:00
renovate[bot]
c982a4c89b
Update testcontainers to v11.14.0 (#33126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-14 09:58:40 +00:00
Zack
1670015ef7
Fix missing Storybook autodocs descriptions for shared components (#33135) 2026-04-14 09:53:29 +00:00
renovate[bot]
5d2c0de9e2
Update actions/upload-artifact digest to 043fb46 (#33130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-14 09:14:29 +00:00
renovate[bot]
65c744f16c
Update actions/github-script action to v9 (#33127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-14 09:10:26 +00:00
Zack
a7cd6eac31
Shared Components Restructure, Cherry Picked | Restructure Room-List Tree (#32915)
* refactor(shared-components): restructure room-list tree

* refactor(web): rename room-list parent viewmodel

* test(shared-components): add room-list visual baselines

* fix(room-list): address review feedback

* Fix Prettier

* Move AvatarWithDetails from avatar folder to core

* Update stories title to reflect correct path

* Fix AvatarWithDetails barrel export path

* Remove stale DateSeparatorView barrel export

* Move AvatarWithDetails visual baseline

* Shorten shared-components visual snapshot paths

* Revert "Shorten shared-components visual snapshot paths"

This reverts commit 91880ff5fb10408aa0091175b53ce3c86c6975a9.

* Move room list notification decoration files up a level
2026-04-14 08:51:36 +00:00