Commit Graph

146 Commits

Author SHA1 Message Date
Michael Telatynski b90a32bea4 Fix web-docs.element.dev deployment (#32922)
* Fix docs

* Switch to vitepress for doc generation

* Run doc build in CI

* Switch docs build to layered
2026-03-25 17:10:06 +00:00
Michael Telatynski ec47986ef5 Fix emoticon slash commands including stale buffers (#32928) 2026-03-25 17:06:35 +00:00
Florian Duros 1025d60001 Avoid excessive re-render when setting same reference/value in snapshot (#32918)
* perf: avoid excessive re-render when setting same value in snapshot

* test: update tests
2026-03-25 15:23:11 +00:00
renovate[bot] d0a564d578 Update dependency electron to v41.0.3 (#32926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-25 15:16:41 +00:00
Michael Telatynski d4fb08b392 Absorb element-desktop into monorepo (#32903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: RiotRobot <releases@riot.im>
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: Ben Banfield-Zanin <benbz@element.io>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
Co-authored-by: R Midhun Suresh <rmidhunsuresh@gmail.com>
Co-authored-by: Aditya Cherukuru <145639927+aditya-cherukuru@users.noreply.github.com>
Co-authored-by: Guilhem Saurel <guilhem.saurel@laas.fr>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-03-25 11:19:42 +01:00
ElementRobot e3456a7d1e [create-pull-request] automated change (#32913)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-03-25 06:45:33 +00:00
Michael Telatynski 8305c52251 Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 15:12:05 +00:00
Michael Telatynski 6d21687ca9 Make tsc happier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 15:03:52 +00:00
Michael Telatynski ffb5e1620d Docs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 15:00:08 +00:00
Michael Telatynski bb598f5e34 Prettier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 14:59:56 +00:00
Michael Telatynski 8d4921d74d Doc tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 14:41:56 +00:00
Michael Telatynski 8b8539d941 Combine remaining workflows
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 14:41:35 +00:00
Michael Telatynski 4d72aa22e3 Update links to old repo
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 13:33:49 +00:00
Michael Telatynski 8025a1e951 Deduplicate files
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 13:32:51 +00:00
Michael Telatynski 7f79229f67 Consolidate other .github files
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 13:13:01 +00:00
Michael Telatynski 4698bff4e8 Consolidate related workflows
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 13:08:10 +00:00
Michael Telatynski afa23c23a8 Make desktop linters happy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 13:02:58 +00:00
Michael Telatynski 1db62bcdfd Consolidate localazy config
and remove desktop localazy workflows

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 12:59:24 +00:00
Michael Telatynski 5ea477eca8 Consolidate linters
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 12:57:31 +00:00
Michael Telatynski 9185f666e0 Consolidate package.json/dependencies
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 12:52:59 +00:00
Michael Telatynski 4bbc4627a1 Merge remote-tracking branch 'element-desktop/t3chguy/absorb-ed' into t3chguy/absorb-ed 2026-03-24 12:20:46 +00:00
Michael Telatynski 30a8afab6f Move everything to apps/desktop subdirectory
Some bits will need to be moved back out after the merge

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-24 12:17:18 +00:00
RiotRobot eb8ca0bf5d Reset matrix-js-sdk back to develop branch 2026-03-24 11:30:21 +00:00
RiotRobot 67f36c28b2 Merge branch 'master' into develop 2026-03-24 11:29:41 +00:00
RiotRobot f72e09173b v1.12.13
Docker / Docker Buildx (push) Failing after 57s
2026-03-24 11:26:49 +00:00
RiotRobot b49a29f3df Upgrade dependency to matrix-js-sdk@41.2.0 2026-03-24 11:23:51 +00:00
Zack 4f3a1a2cc6 Refactor and Move RedactedBodyView To Shared Components (#32772)
* refactoring and creation of shared-components for reductedBodyView

* move redacted message rendering to shared MVVM view

* Update snapshots + fix lint errors

* Remove MatrixClientPeg and use reguler react matrix client context

* Stop resyncing redacted body view models with mxEvent

* Fix redacted_because test fixtures for stricter event typing

* Simplify redacted body client access

* Watch timestamp setting in redacted body view model

* Refactor redacted and decryption failure body factories into MBodyFactory

* Prettier Fix

* Refactor FileBody into same pattern for consitancy
2026-03-24 10:02:07 +00:00
Michael Telatynski d7843bb9b8 Set playwright maxFailures in CI (#32878)
So if you have a totally hosed EW build you're not waiting an hour to find out
2026-03-24 08:43:31 +00:00
Michael Telatynski 9e031f887f Revert "Increase playwright runners to 2 in CI (#32877)" (#32892)
This reverts commit 89261bbe00.
2026-03-23 21:09:54 +00:00
DLCSharp 54d3ab9e69 Fix presence indicators not showing without cache (#32880)
* Fix presence indicators not showing on initial login without cache

* Fix lint exhaustive-deps : useEffect room
2026-03-23 18:09:42 +00:00
Gustavo Ribeiro 4530635db9 Show space name instead of 'Empty room' after creation (#32886)
* Fix #32682: Show space name instead of 'Empty room' after creation

When creating a new space, the setup screens showed 'Empty room' or
'New room' instead of the chosen name.

The 'createSpace' function nested 'name' and 'topic' inside
'createOpts'. However, the creation flow expects them at the top
level of the options object. This caused the name to be undefined.

This patch modifies SpaceCreateMenu.tsx to move these properties to
the top-level. It also updates SpaceCreateMenu-test.tsx with a
regression test to verify the fix and prevent future regressions.

* fix: format SpaceCreateMenu test with prettier
2026-03-23 17:55:39 +00:00
renovate[bot] 41b97c1e97 Update ghcr.io/element-hq/synapse:develop Docker digest to ce702a0 (#32890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-23 17:43:17 +00:00
Michael Telatynski fc391169da Update nginx default config around caching (#32884)
* Update nginx default config around caching

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

* Update README around caching

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-03-23 16:40:10 +00:00
renovate[bot] bb1d376d5d Update ghcr.io/element-hq/matrix-authentication-service:main Docker digest to f467079 (#32889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-23 15:49:56 +00:00
Éloi Rivard aecdbc38cf fix: strip ephemeral query params from OIDC redirect URI (#32875)
getOidcCallbackUrl() was building the redirect_uri from window.location.href,
which may contain ephemeral params such as `updated` (appended on auto-update of element-web).
This caused a redirect_uri mismatch on authorization servers.
2026-03-23 15:21:03 +00:00
R Midhun Suresh 99e6ede9f1 Implement collapsible panels for the new room list (#32742)
* Add `react-resizable-panels` library

* Implement a custom SeparatorView

* Add a `LeftResizablePanelView`

* Add a custom `GroupView`

* Export everything from shared-components

* Make it possible to track width/collapse state through settings

* Add a view model to drive the views

* Render views without disrupting the old room list

* Fix lint error

* Disable user interaction on collapsed panel

* Prevent widgets fron hijacking pointer events

* Expand to full width on separator click

* Separator should be shown when focused via keyboard

* Update tests

* Use data-attribute for hover

* Write stories for SeperatorView

* Write vite tests for SeparatorView

* Write tests for LeftResizablePanelView

* More tests

* Fix lint errors

* Fix flakey border on the roomlst

* Fix storybook axe violation

* Update snapshots

* Fix playwright tests

* Fix sonarcloud issues

* Use translated string

* Add better js-doc comments

* Rename `ResizerSnapshot` to `ResizerViewSnapshot`

* Externalize react-resizable-panels

* Link figma designs to stories

* Write playwright tests

* Update screenshots

* Fix lint errors

* Update more screenshots

* Update more screenshots

* Fix flaky toast test

* Update apps/web/playwright/e2e/crypto/toasts.spec.ts

Co-authored-by: Andy Balaam <andy.balaam@matrix.org>

* Fix indentation

---------

Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2026-03-23 13:33:32 +00:00
Michael Telatynski 89261bbe00 Increase playwright runners to 2 in CI (#32877) 2026-03-23 09:17:19 +00:00
ElementRobot e4f69693c3 [create-pull-request] automated change (#32882)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-03-23 06:51:47 +00:00
renovate[bot] 3c23fd21ac Update npm non-major dependencies (#32843)
* Update npm non-major dependencies

* Update knip patch

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

* Make knip happy

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>
2026-03-20 19:41:13 +00:00
renovate[bot] 16b12dea95 Update dependency webpack-cli to v7 (#32847)
* Update dependency webpack-cli to v7

* Remove stale webpack cli args

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>
2026-03-20 16:11:11 +00:00
ElementRobot 09f56ed3b6 [Backport staging] Fix soft crash of room list when trying to open a room (#32872)
* Fix soft crash of room list when trying to open a room (#32864)

* fix: soft crash of room list trying to get item vm

* test: add test to check roomMap recovery and cleared when needed

(cherry picked from commit 9358096ac6)

* test: fix room list vm usage in test

https://github.com/element-hq/element-web/pull/32819 has renamed the vm
but this PR isn't in the base branch of the backport

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2026-03-20 15:44:40 +00:00
renovate[bot] 793c4ff110 Update css (#32552)
* Update css

* Patch weak types in postcss-mixins

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>
2026-03-20 15:17:07 +00:00
renovate[bot] b2c19d4ed9 Update dependency caniuse-lite to v1.0.30001780 (#32835)
* Update dependency caniuse-lite to v1.0.30001780

* Update test

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>
2026-03-20 13:56:25 +00:00
Florian Duros 9358096ac6 Fix soft crash of room list when trying to open a room (#32864)
* fix: soft crash of room list trying to get item vm

* test: add test to check roomMap recovery and cleared when needed
2026-03-20 13:36:58 +00:00
Michael Telatynski 8f01b2b3db Optimise docker context (#32870)
* Optimise docker context

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

* Optimise docker context further

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

* Debug

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-03-20 13:26:32 +00:00
renovate[bot] 04d96a6b2d Update ghcr.io/element-hq/matrix-authentication-service:main Docker digest to 8065b36 (#32827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:18:23 +00:00
renovate[bot] 46a46dff59 Update dependency @matrix-org/analytics-events to ^0.33.0 (#32839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:18:03 +00:00
renovate[bot] ba670a67ad Update nginxinc/nginx-unprivileged:alpine-slim Docker digest to 4011c42 (#32830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:17:22 +00:00
renovate[bot] 865e6bddb1 Update docker.io/docker/dockerfile Docker tag to v1.22 (#32841)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:09:46 +00:00
renovate[bot] 258c0c8f2d Update Node.js to 4bfbd78 (#32831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:08:09 +00:00