69191 Commits

Author SHA1 Message Date
Michael Telatynski
8d7c5bb515
Update vis screenshots for MessageViewTimestamp
Fixes develop breakage due to misconfigured branch protections

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-20 10:51:27 +00:00
Michael Telatynski
13a8647085
Ensure we use Inter font in Shared Components Storybook (#32584)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-20 10:08:19 +00:00
Michael Telatynski
af46f689f8
Bump transitive dev deps to silence security warnings (#32579)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-20 09:56:17 +00:00
Michael Telatynski
30c27af170 Update API report for @element-hq/element-web-module-api 2026-02-20 09:33:28 +00:00
Michael Telatynski
d51eb5dfd3 Specify ThisType on i18nApi 2026-02-20 09:32:58 +00:00
rbondesson
ca3bc30f90
Refactor MessageTimestamp using MVVM and move to shared-components (#31988)
* Create a MessageTimestampView in shared components

* Switching to use shared component and view model in element-web

* Add .mx_MessageTimestamp tp _common.pcss since it is used extensively in element-web

* Added comments to view model

* Updating after Add options for consistent screenshots

* Moved rendering of late icon to EventTile

* Update shared component snaps

* Added I18nContext.Provider to Modal.tsx and HtmlExport.tsx to make them work with shared components

* Avoid circular dependencies for ModuleApi

* Adjust role and wire handlers in view model

* Change to role="link"

* Revert I18nContext.Provider changes

* Updated snapshot

* Provide I18nContext for shared-components used inside dialogs and html-export rendered in a separate root.

* Add patch for react-sdk-module-api to shared components

* Add setProps to MessageTimeViewModel and useEffect on wrappers

* Added more tests to improve coverage

* Changes after PR review

* Use specific setters in the viewmodel more relating to the business logic.

* Remove unused CSS properties

* New snapshot after merge

* Removed aria-hidden logic and display tooltips in stories

* Remove await for toolitp in HasInhibitTooltip story

* Add screenshots with visible tooltips

* Fixes after merge and review comments

* Updated snapshots for unit tests

* Removed one test since tooltips are not rendered to snapshots
2026-02-20 09:29:26 +00:00
Michael Telatynski
f90b329490
Update docker bake to not load in CI 2026-02-20 09:18:43 +00:00
Michael Telatynski
9c33deeac4
Add .pnpm-store to .gitignore
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-20 09:07:47 +00:00
Michael Telatynski
0410990c5b
Merge remote-tracking branch 'origin/develop' into develop 2026-02-20 09:05:10 +00:00
Michael Telatynski
6363899f2c
Bump js-sdk lock
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-20 09:05:01 +00:00
ElementRobot
87ae8a1a45
[create-pull-request] automated change (#32586)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-20 08:49:33 +00:00
Andy Balaam
88c7d1ea66
Emit events from DeviceListenerCurrentDevice instead of delegating to DeviceListener (#32451)
* Emit events from DeviceListenerCurrentDevice instead of delegating to DeviceListener

* Make CurrentDeviceEvents a const enum

* Break out event emitting into its own class so the instance can be persistent
2026-02-19 16:43:42 +00:00
Michael Telatynski
0b0ac65149
Add continuous delivery for playwright-server docker image (#32522)
* Fix playwright-screenshots.sh script

gcut is a macos thing, use awk for stability

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

* Tweak playwright-screenshots.sh to pull image from ghcr before building

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

* Add missing dependency in playwright-common

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

* Add nx to prettierignore

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

* Add continuous delivery workflow for playwright-server image

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

* Switch to nx affected

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

* Prefix calls to nx with pnpm

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

* Pass GITHUB_TOKEN to nx affected

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

* Use explicit buildx builder

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

* Specify NX_DEFAULT_OUTPUT_STYLE

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

* Remove test trigger

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

* Fix image name

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-19 16:28:51 +00:00
ElementRobot
d19208bee3
resolve undefined this in onClick handler (#32576) (#32583)
* resolve undefined this in onClick handler

* add regression test for bound DisambiguatedProfileViewModel onClick

* Update docs

* add regression for sender profile click mention insertion

* Eslint Fix

(cherry picked from commit 134c7cde46447bf865fe1b3b136d2c1c4c6eb64f)

Co-authored-by: Zack <zazi21@student.bth.se>
2026-02-19 16:10:05 +00:00
Michael Telatynski
a9e76dbb8a Update stale screenshots playwright reporter
At some point it seems that playwright changed how reporters are passed flakes.

https://github.com/microsoft/playwright/pull/39145 needs to land to fully fix the reporter though
2026-02-19 16:04:42 +00:00
Michael Telatynski
38dbfb7a62
Fix issues with shared-components prettier (#32581)
Ignore file ignores if running prettier directly in SC
Also was missing storybook-static

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-19 15:16:53 +00:00
renovate[bot]
c6dd0dfe00
Update dependency @playwright/test to v1.58.2 (#32548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-19 13:58:17 +00:00
Zack
134c7cde46
resolve undefined this in onClick handler (#32576)
* resolve undefined this in onClick handler

* add regression test for bound DisambiguatedProfileViewModel onClick

* Update docs

* add regression for sender profile click mention insertion

* Eslint Fix
2026-02-19 13:55:52 +00:00
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
David Langley
4614d2f395 Remove WidgetKind and fix header 2026-02-18 18:43:26 +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
David Baker
b22a2528b9
Merge pull request #2861 from element-hq/renovate/npm-minor-patch
Update npm non-major dependencies
2026-02-18 18:11:19 +00:00
renovate[bot]
cbe1c7fc1a
Update npm non-major dependencies 2026-02-18 17:49:46 +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
e6ea9beba5
Make renovate happier with github action 2026-02-18 16:09:59 +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
David Baker
92c06935d6
Merge pull request #2862 from element-hq/renovate/aws-actions-configure-aws-credentials-6.x
Update aws-actions/configure-aws-credentials action to v6
2026-02-18 15:48:28 +00:00
David Baker
3713687df4
Merge pull request #2858 from element-hq/renovate/playwright
Update playwright to v1.58.2
2026-02-18 15:43:39 +00:00
David Baker
1f20b853de
Merge pull request #2857 from element-hq/renovate/nodenv-minor-patch
Update Node.js to v24.13.1
2026-02-18 15:43:02 +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
David Baker
a25204ae2a
Merge pull request #2854 from element-hq/renovate/docker
Update docker/build-push-action digest to 10e90e3
2026-02-18 14:50:54 +00:00
David Langley
a5ec21bd06 Update element-web-module-api.api.md 2026-02-18 13:18:03 +00:00
David Langley
5bb1d3d461 Add widget permissions module api 2026-02-18 13:17:53 +00:00
dependabot[bot]
8c07f02bda
Bump tar from 7.5.7 to 7.5.8 (#2864)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.8.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.8)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.8
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 12:32:36 +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
David Baker
d33240d8fa
Merge pull request #2859 from element-hq/renovate/electron
Update dependency electron to v40.4.1
2026-02-18 11:41:35 +00:00
David Baker
d74b1dac99
Merge pull request #2856 from element-hq/renovate/rust-bullseye
Update rust:bullseye Docker digest to 70a5d01
2026-02-18 11:39:39 +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]
fd13ff4975
Update dependency electron to v40.4.1 2026-02-17 17:37:21 +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
David Baker
e2d263cd05
Merge pull request #2860 from element-hq/renovate/electron-builder
Update electron-builder to v26.7.0
2026-02-17 17:35:57 +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