64878 Commits

Author SHA1 Message Date
Michael Telatynski
0141643be0
Move element-web into apps/element-web
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-11 10:14:28 +00:00
Michael Telatynski
5979fc198a
Merge branch 't3chguy/pnpm' of ssh://github.com/element-hq/element-web into t3chguy/element-web-monorepo 2026-02-11 10:05:27 +00:00
Michael Telatynski
46db71b3c2
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/element-web-monorepo
# Conflicts:
#	apps/element-web/playwright/e2e/settings/encryption-user-tab/other-devices.spec.ts
#	apps/element-web/src/device-listener/DeviceListenerCurrentDevice.ts
#	apps/element-web/src/device-listener/DeviceState.ts
#	package.json
#	yarn.lock
2026-02-11 10:02:33 +00:00
Michael Telatynski
7528f66a25
Move element-web into apps/element-web
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-11 10:02:01 +00:00
Michael Telatynski
6c5ec44dd9
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/pnpm
# Conflicts:
#	yarn.lock
2026-02-11 09:50:21 +00:00
Florian Duros
9360f0e5e2
Update MVVM examples and guidelines (#32437)
* doc: update MVVM examples and guidelines

* doc: typo `costlyDescriptionLoading`

Co-authored-by: R Midhun Suresh <hi@midhun.dev>

* doc: typo `costlyDescriptionLoading`

Co-authored-by: R Midhun Suresh <hi@midhun.dev>

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2026-02-10 17:36:54 +00:00
Michael Telatynski
dfe01e4f18
Improve pnpm-link script
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-10 17:10:13 +00:00
Richard van der Hoff
2540c8a8af
Add logging around key-storage-out-of-sync handling (#31985)
... because unpicking this was a nightmare
2026-02-10 16:42:14 +00:00
RiotRobot
6613c3f87a Reset matrix-js-sdk back to develop branch 2026-02-10 16:05:48 +00:00
RiotRobot
858b6b6147 Merge branch 'master' into develop 2026-02-10 16:05:17 +00:00
RiotRobot
d7f94f89dc v1.12.10 v1.12.10 2026-02-10 16:01:35 +00:00
ElementRobot
8a21062476
Fix room list not being cleared (#32436) (#32438)
* Fix room list not being cleared

RoomListV3 was lacking an onNotReady which meant that the room list
would sometimes not be cleared between logins.

* Fix return type



---------


(cherry picked from commit 81b111371fba05085d50493ceafd84639d59c9e7)

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
Co-authored-by: Florian Duros <florianduros@element.io>
2026-02-10 15:48:00 +00:00
Skye Elliot
f6352afc6e
Update globalBlacklistUnverifiedDevices on setting change (#31983)
* fix: Update `globalBlacklistUnverifiedDevices` on setting change

Signed-off-by: Skye Elliot <actuallyori@gmail.com>

* fix: Use `SettingLevel.DEVICE` filter on blacklisted device watcher

* tests: Add playwright test for blacklist unverified devices toggle

* docs: Correct test step description

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

* tests: Add test for local vs global blacklist unverified devices

* tests: Ensure local toggle overrides global toggle.

* tests: Add unit tests for blacklistUnverifiedDevices listener

---------

Signed-off-by: Skye Elliot <actuallyori@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2026-02-10 15:26:57 +00:00
RiotRobot
0575ca9598 Upgrade dependency to matrix-js-sdk@40.2.0 2026-02-10 15:18:37 +00:00
David Baker
81b111371f
Fix room list not being cleared (#32436)
* Fix room list not being cleared

RoomListV3 was lacking an onNotReady which meant that the room list
would sometimes not be cleared between logins.

* Fix return type

Co-authored-by: Florian Duros <florianduros@element.io>

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2026-02-10 14:46:53 +00:00
Michael Telatynski
cc0838c100
Use catalogs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-10 13:32:53 +00:00
Michael Telatynski
a76a0a1dd1
Add bug report link for Element flatpak app 2026-02-10 13:11:02 +00:00
Andy Balaam
09884c6bd1
Extract the "this device" logic from DeviceListener (#32420)
* Extract logic for this device from DeviceListener

* Remove a listener that I assume we forgot in DeviceListener

* Use a code block for JSON in a comment

Co-authored-by: Skye Elliot <actuallyori@gmail.com>

* Rename to DeviceListenerCurrentDevice

---------

Co-authored-by: Skye Elliot <actuallyori@gmail.com>
2026-02-10 11:52:36 +00:00
Florian Duros
753e94f165
Use act from @test-utils in SC (#32432)
* test: use `act` from `@test-utils` in SC

* chore: add rules to enforce use of act from `@test-utils`
2026-02-10 11:10:56 +00:00
Michael Telatynski
8ecbb8351f
Merge remote-tracking branch 'origin/t3chguy/pnpm' into t3chguy/pnpm 2026-02-10 10:59:59 +00:00
Michael Telatynski
c632e6982f
Update playwright-common
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-10 10:59:49 +00:00
Michael Telatynski
1d37a5f1c2
Merge branch 'develop' into t3chguy/pnpm 2026-02-10 10:14:51 +00:00
Florian Duros
1b76f2b72c
Put view prefix to room list item file and folder (#32418)
* chore: put `view` prefix to room list item file and folder

* chore: add missing `storybook-static` in gitignore

* test: update visual tests
2026-02-10 09:49:08 +00:00
Florian Duros
d5b1bc7e65
Change branding info in SC storybook (#32422)
* fix: change branding info in SC storybook

* doc: put storybook link in README
2026-02-09 15:26:21 +00:00
Andy Balaam
563f6d338c
Extract the "other devices" logic from DeviceListener (#32419)
* Extract the other devices logic from DeviceListener

* Remove unneeded async modifier on dismissUnverifiedSessions
2026-02-09 15:14:25 +00:00
Andy Balaam
562f7cc2bd
Move SlashCommands and SlashCommands-test into subdirs (#31979)
* Move SlashCommands into slash-commands

* Move SlashCommands test prep into a function that can be re-used from multiple files

* Move slash command tests into separate files

* Fix super-linear regexes and test some more slash commands

* Move splitAtFirstSpace tests into a separate file

* Test for parseCommandString

* Make parseCommandString able to handle leading whitespace and tabs

* Implement parseCommandString using splitAtFirstSpace

* Extract emoticons slash commands into a separate file and share their code
2026-02-09 11:08:51 +00:00
Michael Telatynski
6589e0b6df
Add A-Electron label to bug-desktop.yml template 2026-02-09 10:38:46 +00:00
Florian Duros
1053f99bda
Fix format for i18n files in storybook build (#31992)
* fix: correct format for i18n files in storybook build

* refactor: rename `json` var to `jsonStr`
2026-02-09 10:18:39 +00:00
Michael Telatynski
b071ea8c59
Discard changes to src/vector/index.ts 2026-02-09 10:11:26 +00:00
Michael Telatynski
731f73ebb2
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/pnpm
# Conflicts:
#	package.json
#	packages/shared-components/yarn.lock
#	yarn.lock
2026-02-09 09:27:19 +00:00
Michael Telatynski
c2f1793bb0
Switch element-web to ESM (#31977)
* Switch element-web to ESM

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

* Update testcontainers imports

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

* Fix modernizr cjs

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

* Fix modernizr cjs ignore files

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

* Move modernizr sonar exclusion to exclude everything

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

* Update playwright tests for esm compat

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-09 08:39:11 +00:00
ElementRobot
de8ed98b53
[create-pull-request] automated change (#31991)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-09 06:52:38 +00:00
ElementRobot
77922d2217
[create-pull-request] automated change (#31987)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-07 06:30:31 +00:00
Michael Telatynski
c825e40a82
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-06 12:56:40 +00:00
Michael Telatynski
50d7770e9d
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-06 12:54:41 +00:00
Michael Telatynski
f5c4bade9c
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/pnpm
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

# Conflicts:
#	packages/shared-components/package.json
#	packages/shared-components/yarn.lock
2026-02-06 12:49:02 +00:00
Michael Telatynski
b11eaa355f
Test matrix-web-i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-06 12:46:41 +00:00
David Langley
242dc5ceb9
0.0.2 release with room list (#31982) 2026-02-06 12:20:26 +00:00
Michael Telatynski
db16726165
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/pnpm
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

# Conflicts:
#	package.json
#	packages/shared-components/yarn.lock
#	res/css/views/rooms/RoomListPanel/_RoomListSkeleton.pcss
#	yarn.lock
2026-02-06 10:17:23 +00:00
Michael Telatynski
f4221b9b56
Add pnpm-link utility
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-06 10:15:47 +00:00
Florian Duros
abdb307279
Publish shared components storybook (#31907)
* doc: add typedoc generation for shared component

* ci: add SC doc publish

* ci: push doc on changes on develop

* ci: fix working directory

* doc: add typedoc generation into storybook

* doc: build i18n files for storybook static sites

* ci: change workflow to deploy storybook

* chore: exclude non-ui tests from vitest visual tests

* chore: try to fix error in CI

* doc: fix broken link in README

* doc: add typedoc missing export plugin

Add https://github.com/Gerrit0/typedoc-plugin-missing-exports to avoid
to have to explicit export all the types which are not used outside SC

* doc: add mapping to external docs

* fix: remove shebang
2026-02-06 10:01:42 +00:00
Michael Telatynski
446aeb24ae
Merge branch 't3chguy/esm' of ssh://github.com/element-hq/element-web into t3chguy/pnpm
# Conflicts:
#	package.json
#	packages/shared-components/yarn.lock
#	yarn.lock
2026-02-06 09:30:52 +00:00
ElementRobot
56d9a5d93e
[create-pull-request] automated change (#31981)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-06 09:05:31 +00:00
ElementRobot
e8ddff0ad8
[create-pull-request] automated change (#31980)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-02-06 06:36:25 +00:00
David Langley
6da1412de8
Migrate the room list view to shared components (#31921)
* Add NotificationDecoration component

Add the NotificationDecoration component to shared-components.
This is a leaf component that renders notification badges and indicators
for rooms/items including mentions, unread counts, call indicators, etc.

* Add RoomListItem component

Add the RoomListItem component to shared-components.
Includes context menu, hover menu, notification menu, and more options menu.

* Add RoomListPrimaryFilters component

Add filter chips component for filtering the room list by
unread, people, rooms, favourites, mentions, invites, and low priority.

* Update VirtualizedList component

Update VirtualizedList to support the room list virtualization requirements.

* Add RoomList component

Add RoomList component that renders a virtualized list of room items.
Includes story mocks for testing.

* Add RoomListView component

Add RoomListView component that composes RoomList with filters,
empty states, and loading skeleton.

* Export room-list components from shared-components

Add exports for RoomListView, RoomListItem, RoomListPrimaryFilters, and RoomList.
Include i18n strings for room list components.

* Add RoomListItemViewModel

Add view model for individual room list items.
Manages per-room subscriptions and updates only when specific room data changes.

* Add RoomListViewViewModel

Add view model for the room list view.
Manages room list state, filtering, keyboard navigation, and child view models.

* Integrate shared components into RoomListView

Update RoomListView to use the new ViewModels and shared components.
Includes i18n string updates for element-web.

* Remove old room list implementation

Remove old ViewModels, hooks, and view components that are now
replaced by the shared-components implementation.

* Update sliding-sync playwright test

Update test expectations for new room list implementation.

* Add figma links

* Move viewModels to the right folder

* Rename to RoomListEmptyStateView

* Update VirtualizedRoomListView naming

* Update screenshots and snapshots

* Move viewmodel tests to the right location and fix some imports

* lint

* Use unknown as an Opaque type rather than any. It discourages property access within shared components and can still be cast back in EW.

* Update screenshots for new shared component rendering params

* Make room order tests deterministic
2026-02-05 21:05:14 +00:00
renovate[bot]
6dba71a453
Update dependency @playwright/test to v1.58.1 (#31957)
* Update dependency @playwright/test to v1.58.1

* Update snapshots & screenshots

* Another screenshot

* Un-focus room tile and scroll it into view

possibly some change in what ends up focused after a popup disappears

* uncomment the screenshots

* Correct screenshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-02-05 16:41:48 +00:00
Hiroshi Shinaoka
8de804d0c0
fix: Remove state_key: null from Seshat search results (#31524)
* fix: Remove state_key: null from Seshat search results

Seshat includes "state_key": null for non-state events, which causes
matrix-js-sdk to incorrectly treat them as state events. This prevents
encrypted messages from rendering properly in search results.

This fix removes the null state_key from search results and context
events before passing them to the SDK.

* test: cover local search null state_key edge cases

* test: satisfy strict types in searching coverage test

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-02-05 16:19:02 +00:00
Michael Telatynski
41a0e5dd18
Update playwright tests for esm compat
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-05 12:30:58 +00:00
Michael Telatynski
94b1bfb590
Move modernizr sonar exclusion to exclude everything
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-05 12:04:21 +00:00
Michael Telatynski
ed87a2bed1
Fix modernizr cjs ignore files
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-05 11:50:16 +00:00