Commit Graph

69201 Commits

Author SHA1 Message Date
renovate[bot] f92ea72fa8 Update nginxinc/nginx-unprivileged:alpine-slim Docker digest to 1df9285 (#33384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 14:22:58 +00:00
renovate[bot] 8dd219c109 Update dependency @axe-core/playwright to v4.11.3 (#33387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 14:18:27 +00:00
renovate[bot] 81f2ba5ac9 Update rust:bullseye Docker digest to 85f9d38 (#33386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 14:09:38 +00:00
renovate[bot] 06da429c7e Update pnpm to v10.33.3 (#33383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 14:00:58 +00:00
renovate[bot] 8511a6190b Update dependency nx to v22.7.1 (#33378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 13:57:31 +00:00
renovate[bot] b6a172c01a Update actions/add-to-project action to v2 (#33381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 13:47:03 +00:00
renovate[bot] 06eab4c17b Update SimenB/github-actions-cpu-cores action to v3 (#33382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 13:45:11 +00:00
Kamil Wolter 9adaabae66 Update home page CSS (#32723)
* Update home page CSS

* Update home-thin-viewport snapshot

* Update window-custom-theme snapshot

* Update window-custom-theme snapshot after develop merge
2026-05-05 11:24:52 +00:00
David Baker 53d5986b16 Add null check to room directory test (#33353)
It had a waitFor but still flaked because it threw an exception
accessing undefined.
2026-05-05 10:10:41 +00:00
Bart van der Braak c9c52a3526 Fix Typo in manifest.json (#33369) 2026-05-04 18:56:16 +00:00
Zack a9edffead8 prevent replay hover from restarting playback (#33364)
* prevent replay hover from restarting playback

* Fix issue with hover, it's supposed to be a FileBody and not an actual video on replay

* Add test for replay video on hover
2026-05-04 11:53:31 +00:00
ElementRobot b3f9fc1a0c [create-pull-request] automated change (#33363)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-05-04 07:37:31 +00:00
Ginger bd369a5109 Properly save undefined id tokens from OIDC login (#33345)
* Properly save `undefined` id tokens from OIDC login

* Fix tests

* Fix tests again

* Fix lints
2026-05-01 13:31:34 +00:00
Robin 244a2ca011 Show the right cursor when hovering over a space (#33351)
Fixes a regression in b0ee6f5323 where a 'grab' cursor would be shown when hovering over a space, even though the most salient way to interact with it is by clicking.
2026-05-01 12:05:28 +00:00
Will Hunt 38c3d4f8a3 Playwright test for pasting files (#33350)
* Add tests for pasting

* Add tests for pasting files.

* Remove redundant fn

* rm comment
2026-05-01 11:25:49 +00:00
David Baker 990efa20db Include tsx test files in common vite config (#33342)
* Include tsx test files in common vite config

Otherwise we miss a bunch of the shared component tests

* Add storybook/preview-api to optimizeDeps

which is what vitest is telling me to do, which will hopefully stop
it flaking out.
2026-05-01 09:58:11 +00:00
David Baker 5e935207c5 Make DateUtils test non-timezone dependent (#33343)
This was failing locally because my dev box is set to local time rather
than UTC and so the Date class's special date parsing was interpreting
some of the dates as a different day.

Use Date's methods to build the actual date we want so we're not reliant on
the date objet's parsing - that's not what we're trying to test.
2026-05-01 09:15:40 +00:00
ElementRobot a6bf56fcbd [create-pull-request] automated change (#33347)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-05-01 07:23:43 +00:00
Ginger 87d724000e Set type in auth dict for m.oauth UIA stage (#33344)
* Set `type` in auth dict for `m.oauth` UIA stage

* Update tests
2026-05-01 07:08:06 +00:00
Florian Duros c2e5aa7adc Room list: add collapse/expand all sections (#33318)
* chore: update compound design tokens

* feat(sc): add collapse/expand button to room list header

* feat: add new events to broadcast section state

* feat(vm): add expand/collpase event to room list events

* test: add e2e tests

* chore: fix company name in copyright

* chore: use two differant actions for collapse/expand

* Update apps/web/src/viewmodels/room-list/RoomListHeaderViewModel.ts

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

* test: fix existing tests

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-30 14:32:43 +00:00
Michael Telatynski a7ab72af11 Use frozen-lockfile in Dockerfile pnpm install (#33333) 2026-04-30 13:15:55 +00:00
Will Hunt af20018ea2 Playwright tests for file uploads (#33319)
* Refactor tests to use helper method for composer uploads.

* Add drag and drop tests

* lint

* Add commentary

* fixup test

* More precise selector
2026-04-30 12:49:27 +00:00
rbondesson b0ee6f5323 Add CSS cascade layers for Compound, shared components, and app/web styles (#33302)
* Layer Compound and shared component CSS

* Layer app theme CSS

* Remove !important flags from ActionBarView

* Remove unnecessary !important statements from shared components

* Avoid dead code errors for *.pcss just because layer is specified after @import url

* Remove unnecessary !important styling

* Override Banner defaults in RoomStatusBarView

* Updated snaps

* Updated snaps

* Fix styling of media body in app/web

* Fix styling for Compound anchors

* Fix styling issues in app/web

* More styling fixes

* Fix a problem extracting css for HTMLExport

* Revert changes

* Fix for theme styling

* Add test to improve coverage

* Prettier

* Fix styling issues

* Add data-kind attribute to avoid global styling override

* Update screenshot that now is correct

* Revert data-kind attribute

* Handle LinkPreview styling in .pcss

* Fix flaky test: Avoid racing the lazy-loaded ManageEventIndexDialog

* Take care of review comments

* Updated snaps

* Updated snaps again after merge

* Remove !important from RoomStatusBar
2026-04-30 11:54:49 +00:00
Michael Telatynski f2d355bb2c Fix lockfile 2026-04-30 11:03:39 +01:00
RiotRobot ccbfdb7aa9 Merge branch 'master' into develop 2026-04-30 09:58:45 +00:00
RiotRobot cc00c4c5a8 v1.12.17 2026-04-30 09:55:38 +00:00
renovate[bot] febecb8e56 Update testcontainers docker digests (#33340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 08:45:21 +00:00
Clemens 0f9b5f4ab9 fix: pnpm lint does not work (#33327)
Since sometime after v1.12.15, the first subcommand of `pnpm lint` (`pnpm -r lint:types`)
adds files to the tree that do not conform to the prettier requirements
tested in the second step of `pnpm lint` (`pnpm lint:prettier`).

This change adds the affected paths to the `.prettierignore` file to make the lint pass.
2026-04-30 08:29:36 +00:00
Michael Telatynski 208e8ca1a1 [Backport] Fix OIDC login callback handling on Element Desktop (#33337) 2026-04-30 08:51:08 +01:00
Michael Telatynski 30484ef126 DRY vite configs using a shared config (#33334)
* Fix OIDC login callback handling on Element Desktop

* Add unit tests

* Iterate

* Fix lcov reporter

* DRY vite configs using a shared config

* Iterate

* Revert change to electron-builder.ts

* Iterate
2026-04-30 07:44:29 +00:00
Michael Telatynski 98b56a3d2f Refactor QR link flow to use new SDK methods (#33309)
* Refactor QR link flow to use new SDK methods

Requires https://github.com/matrix-org/matrix-js-sdk/pull/5283
For element-hq/wat-internal#188
Split out from https://github.com/element-hq/element-web/pull/33184

* Link to js-sdk branch

* Update tests

* Simplify

* Revert js-sdk linking

* Use js-sdk isSignInWithQRAvailable API to simplify code
2026-04-30 07:43:59 +00:00
Michael Telatynski aeefdfd751 Remove duplicated UI in appearance settings (#33336)
* Remove duplicated UI

This setting is available on the same tab in a higher up section already

* Update screenshot
2026-04-29 15:53:00 +00:00
Michael Telatynski 6aee85aef5 Fix OIDC login callback handling on Element Desktop (#33332)
* Fix OIDC login callback handling on Element Desktop

* Add unit tests

* Iterate

* Fix lcov reporter

* Fix coverage paths

* Fix coverage upload

* Ensure `.test.ts` files don't get included in the desktop package

* Fix coverage artifact name

* Delint

* Tidy coverage name

* Improve coverage
2026-04-29 14:05:38 +00:00
Michael Telatynski 5ff302539e Harden settings types (#33311)
* Harden settings types

* Fix types

* Update apps/web/src/emojipicker/recent.ts

Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>

* Fix suggestion

---------

Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>
2026-04-29 08:46:09 +00:00
Will Hunt 4bee845010 Show user status in timeline (#32991)
* Use other branch

* All the changes that got lost

* Fix merge

* Ensure emoji can only be one character long

* Fixup labs feature

* Remove redundant check

* Update snapshot

* update snapshot

* add snapshot

* unpin

* fix pnpm lock

* undo pn[m lockfile changes altogether

as we shouldn't actually need any afaik

* update snpahot for changed IDs

* Snapshot update

* Snapshot update

* There is now another section

* more snapshots

* more snapshot

* More snapshots

* oh come on snapshots

* actual snapshot update

* Fix sonar issues

* just update the thing manually

* [screams internally]

* Update snapshot

* test for useUserStatus

* Make useUserStatus actually truncate

* Split out slash command to its own file

& add test

* Remove irrelevant comment

* doc

* Comment on non-obvious error message

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-04-29 08:14:22 +00:00
ElementRobot 4c3cb0754b [create-pull-request] automated change (#33325)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-04-29 07:22:26 +00:00
renovate[bot] e85dc97450 Update dependency storybook-addon-vis to v4.2.2 (#33313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 15:20:25 +00:00
Will Hunt 2b943768ea Disable URL Preview setting if disabled on the homeserver (#33279)
* Disallow URL Previews if disabled by homeserver.

* Cleanup nonsense

* cleanup

* cleanup

* fixes

* Remove import

* Add an error handler

* cleanup
2026-04-28 15:08:22 +00:00
renovate[bot] 72d316df79 Update dependency @typescript-eslint/eslint-plugin to v8.59.0 (#33315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:34:21 +00:00
renovate[bot] 881b15d1de Update testcontainers docker digests (#33312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:27:04 +00:00
renovate[bot] 980a405f76 Update dependency nx to v22.7.0 (#33316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:21:00 +00:00
renovate[bot] e9ce54928f Update pnpm to v10.33.2 (#33314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:14:23 +00:00
renovate[bot] 9a5f940787 Update dependency mailpit-api to v2 (#33317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:14:05 +00:00
RiotRobot 32d884c86d Reset matrix-js-sdk back to develop branch 2026-04-28 12:19:58 +00:00
RiotRobot 9a1913b4ff Merge branch 'master' into develop 2026-04-28 12:19:18 +00:00
RiotRobot ca258f5be9 v1.12.16 2026-04-28 12:16:04 +00:00
RiotRobot 743851896a Upgrade dependency to matrix-js-sdk@41.4.0 2026-04-28 12:07:55 +00:00
Michael Telatynski 5f770bfe4c Go to welcome on logout (#33306)
* Go to welcome on logout

Instead of login, for QR login project

* Update tests

* Add tests

* Delint

* Update comments
2026-04-28 10:24:47 +00:00
Florian Duros c363d2eb82 Room list: edit or remove custom sections (#33283)
* feat(sc): add section menu to section header

* feat(rls): add edit and remove sections

* feat(dialog): add editing mode to CreateSectionDialog

* feat(dialog): add remove section dialog

* feat(vm): wire up vm and stores

* test: update existing snapshots

* test(e2e): add playwright tests to edit and remove a section

* chore: fix remove section i18n key

* fix: able to send empty sections

* chore: update create section editing docs

* chore: remove useless fallback

* chore: add logs when section is unknown

* feat: use different wording when removing an empty section

* fix: only animate the chevron icon in the section header

* fix: change dialog subtitle weight to medium
2026-04-28 10:16:34 +00:00
Zack 1dd5748d6f Update shared-components story titles to match component paths (#33157)
* Align shared-components Storybook titles with their current paths.

* Rechange the structure for better navigation on storybook

* Update Placement of RoomlistToast to correct catagory

* Update for easier reading

* Adding space for better reading.

* Add spacing for Timeline Event

* add spacing to timeline meta for better reading

* add spacing for better reading for timeline reaction

* Fix wrong placement of Imagebody

* Final Update of structure of shared components

* Update storybook for urlpreviewgroupview
2026-04-28 09:55:48 +00:00