Michael Telatynski
eca2f39dbb
Switch from prettier to oxfmt ( #33844 )
...
* Switch from prettier to oxfmt
* Make knip happy
* Make knip happy
* Apply suggestion from @t3chguy
* Rename .oxfmtrc.json to .oxfmtrc.jsonc
* Make oxfmt happier
2026-06-16 12:17:18 +00:00
Michael Telatynski
2f4e6a4ec4
Use vitest for some EW unit tests ( #33816 )
...
* Use vitest for some EW unit tests
* Ensure library builds are done before unit tests
* Stabilise jest tests
* Move more tests over
* Make sonar happier
* Update types/node for happy-dom compat again
* Decrease max-workers to stabilise jest tests
* Split jest over 3 runners to alleviate memory woes
* Switch jest to runInBand
* Attempt to deflake jest tests
* tweak coverage
* tweak coverage
2026-06-15 13:24:33 +00:00
Michael Telatynski
2d24778214
Fix modules dir tsc not running in CI ( #33811 )
...
* Fix modules dir tsc not running in CI
* Switch to nx run-many for ci task
This has smarter scheduling logic for dependant tasks
2026-06-11 10:37:47 +00:00
Michael Telatynski
e9a89d9872
Consolidate vitest CI & coverage ( #33808 )
...
* Consolidate modules vitest coverage
* Use vite-common as base for modules vitest config
* Make knip happier
* Fix coverage paths
* Place modules unit tests alongside src
* Switch to defineProject for better type safety
* Consolidate vitest CI & coverage
Kills off vite-common
* Update comment
* Update lockfile
* Fix shared-components vitest config
* Soften eslint config for tests in modules
* Run eslint on modules/playwright dir too
* Make tsc happy
2026-06-10 16:00:34 +00:00
Michael Telatynski
eaccc01687
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/merge-modules
...
# Conflicts:
# pnpm-lock.yaml
# pnpm-workspace.yaml
2026-06-09 12:39:57 +01:00
renovate[bot]
bebd8f5c1b
Update npm non-major dependencies ( #33758 )
...
* Update npm non-major dependencies
* Hold back unplugin-dts
* Make knip happy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-06-09 09:20:56 +00:00
Michael Telatynski
d6313dfae1
Set --workspace-concurrency=1
2026-06-08 13:21:13 +01:00
Michael Telatynski
cf9ee41d06
DRY
2026-06-08 11:19:13 +01:00
Michael Telatynski
799d33278f
Absorb remainder of element-modules into monorepo
2026-06-08 10:32:12 +01:00
renovate[bot]
2b36a9bf29
Update npm non-major dependencies ( #33742 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 11:00:17 +00:00
renovate[bot]
ab9eef1873
Update nx to v22.7.5 ( #33704 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 17:11:32 +00:00
renovate[bot]
7bc8c0bd28
Update npm non-major dependencies ( #33707 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:15:04 +00:00
Michael Telatynski
35484e5183
Switch to using diff-cover for the Coverage gate ( #33673 )
...
* Switch to using diff-cover for the Coverage gate
Enabling developers to check their PR coverage without waiting for CI
* Remove sonar-project.properties - in automatic mode Sonar will not read this file
* Add note to CONTRIBUTING.md
* Skip sonar in MQ
2026-06-01 12:26:03 +00:00
renovate[bot]
1fb6b778e7
Update pnpm to v11 ( #33573 )
...
* Update pnpm to v11
* Handle breaking changes
* Attach pnpm hash
* Remove redundant packageManager fields
* Make lint-staged happy
* Lockfile pnpm itself too
* Update pnpm/action-setup for better v11 compatibility
* Specify types to make tsc happier
* Fix permissions
* Check ulimit
* Specify minimumReleaseAgeExclude
* Run desktop tests
* Revert "Run desktop tests"
This reverts commit 911eb0ba2e .
* Revert "Check ulimit"
This reverts commit f09eb59d71 .
* Reapply "Check ulimit"
This reverts commit 83227c19ff .
* Run desktop tests
* Switch nodeLinker & remove app-builder-lib patch
* Fix webpack.config.ts
* Fix .stylelintrc.cjs
* Fix `events` package
* Makes types happier
* Make knip happy
* Fix hak build
* Make jest happy
* Make pnpm-link happy
* Remove dead file
* Run playwright tests
* Fix linux hak permissions in ci
* Test
* Remove ulimit checks
* Disable skip
* Update nx
* Tweak line endings
* Update screenshot
* Iterate
* Webpack fallback `events`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-05-29 08:26:59 +00:00
Michael Telatynski
7ea28d3829
Satisfy pnpm audit ( #33616 )
2026-05-26 14:21:13 +00:00
renovate[bot]
d63792f672
Update dependency caniuse-lite to v1.0.30001793 ( #33552 )
...
* Update dependency caniuse-lite to v1.0.30001793
* Update browser support tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Baker <dbkr@users.noreply.github.com >
2026-05-25 14:23:38 +00:00
renovate[bot]
5a2f246577
Update electron ( #33562 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 21:32:32 +00:00
renovate[bot]
c38fed97a2
Update npm non-major dependencies ( #33557 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 21:30:33 +00:00
renovate[bot]
1a78597e72
Update pnpm to v10.33.4 ( #33558 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 19:38:40 +00:00
renovate[bot]
53631faffc
Update dependency nx to v22.7.2 ( #33553 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-22 21:33:04 +00:00
Florian Duros
85aca65a81
Room list: drag and drop rooms into sections ( #33366 )
...
* chore: add dnd kit deps
* chore: patch dnd kit to fix ts error
* feat(sc): add drag-and-drop to room list item and wrapper
* feat(sc): make the room list header a droppable element
* feat(sc): add dnd to room list view
* feat(tags): can tag room as CHAT
* feat(vm): implement `changeRoomSection`
* feat(sc): disable dragging in flat list
* fix: disable keyboard navigation when dragging element
* test(sc): update snapshots
* test(sc): add dnd test
* test(e2e): add e2e tests for room drag and drop
* test(vm): add tests for changeRoomSection
* fix: remove focus visible when dropping with the mouse
* test(playwright): update existing screenshots
* chore(sc): move numbers out of main build
The Ew RecorderWorklet imports shared component bundle. However if the
bundle uses some deps using document/window which, the worklet will not
work.
The solution is to put the used functions into a separate bundle.
* doc(sc): add subpath import into README
* doc: typo barrel/bundle
* test: improve test expect
* refactor: add utils to section tag
* fix: incorrect check in tagRoom
* fix: add doc about dndkit tunning
2026-05-13 09:06:22 +00:00
Michael Telatynski
7af8beea40
Satisfy pnpm audit ( #33459 )
2026-05-11 11:07:19 +00:00
renovate[bot]
0561631002
Update dependency electron to v42 ( #33441 )
...
* Update dependency electron to v42
* Update pnpm onlyBuiltDependencies configuration
Removed 'electron' from onlyBuiltDependencies in pnpm config.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-05-08 13:39:55 +00:00
renovate[bot]
aa31de7e5a
Update dependency lint-staged to v17 ( #33442 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 12:07:25 +00:00
renovate[bot]
4979beb5ca
Update npm non-major dependencies ( #33379 )
...
* Update npm non-major dependencies
* Ditch unplugin-dts.patch
* Make knip happy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-05-07 12:02:08 +00:00
renovate[bot]
a8788b8ae6
Update dependency caniuse-lite to v1.0.30001791 ( #33397 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 17:28:19 +00:00
renovate[bot]
b5a4f5d577
Update dependency axios@>1.0.0 <1.15.0 to v1.15.2 [SECURITY] ( #33389 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 16:10:06 +00:00
renovate[bot]
5491eba611
Update electron ( #33380 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 15:17:48 +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]
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
Michael Telatynski
d3a395b18b
Update @xmldom/xmldom to satisfy pnpm audit ( #33290 )
2026-04-28 09:00:46 +00:00
renovate[bot]
7b89d84acb
Update npm non-major dependencies ( #33246 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-22 13:44:05 +00:00
renovate[bot]
2d16498fe6
Update dependency typescript to v6 ( #32927 )
...
* Update dependency typescript to v6
* Switch to unplugin-vts
Workaround for https://github.com/qmhc/unplugin-dts/issues/467
And tweak tsconfigs
* tweak tsconfig
* Make tsc happy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-04-22 12:28:54 +00:00
renovate[bot]
44a2c9936d
Update react ( #33247 )
...
* Update react
* Pin back react-resizeable-panels as it overwrites onFocus/onBlur
* Roll back react-resizable panels fully
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-04-22 08:44:21 +00:00
renovate[bot]
e568ed8aac
Update dependency caniuse-lite to v1.0.30001788 ( #33245 )
...
* Update dependency caniuse-lite to v1.0.30001788
* Update tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-04-21 20:27:27 +00:00
Richard van der Hoff
1f6d1dbc0d
Avoid nx jest executor for running unit tests ( #33220 )
...
* Avoid nx jest executor for running unit tests
The jest executor mangles the "summary of failing tests" from jest.
* Remove unneded dep on nx/jest
2026-04-21 14:07:54 +00:00
renovate[bot]
4c474f5639
Update electron ( #33221 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-21 12:48:56 +00:00
Michael Telatynski
4afba408c0
Satisfy pnpm audit ( #33142 )
2026-04-17 09:01:27 +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
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
Michael Telatynski
1096ca2066
Iterate
2026-04-10 17:39:46 +01:00
Michael Telatynski
540e620f40
Adjust consumers of playwright-common
2026-04-09 15:22:56 +01:00
renovate[bot]
b1745318fb
Update dependency path-to-regexp@0.1.12 to v1 [SECURITY] ( #33070 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-08 10:43:57 +00:00
renovate[bot]
6e9fc9b8fa
Update npm non-major dependencies ( #33001 )
...
* Update npm non-major dependencies
* Update snapshot
* Patch plist for compatibility with updated @xmldom/xmldom
* Lockfile
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-04-08 07:40:43 +00:00
renovate[bot]
2bef316bed
Update dependency caniuse-lite to v1.0.30001781 ( #32996 )
...
* Update dependency caniuse-lite to v1.0.30001781
* Update tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-04-07 10:02:33 +00:00
renovate[bot]
063e0802f4
Update dependency knip to v6 ( #33008 )
...
* Update dependency knip to v6
* Make knip happy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-04-02 13:38:58 +00:00
renovate[bot]
f1c0e556ab
Update pnpm to v10.33.0 ( #33004 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-31 20:54:22 +00:00
Michael Telatynski
2b3720b4a2
Consolidate Build & Test CI ( #32929 )
...
* Consolidate Build & Test CI
* Add missing workflow dependency
* Fix artifact name clash
* Fix playwright config
* Fix playwright_ew job
* Fix ed tests
* Fix playwright tags
* Iterate
* Fix file reads
* Fix sample-files paths
* Fix PW_TAG
* Fix blob report paths
* Delint
* Fix build-and-test.yaml
* Iterate
* Fix consentHomeserver.ts
* Simplify
* Iterate
* Delint
* Iterate
* Iterate
* Iterate
* Specify shell
* Simplify
* Delete apps/web/playwright/sample-files/index.ts
* Discard changes to apps/web/playwright/sample-files/index.ts
* Exclude playwright-common from coverage gate
* Attempt to speed up arm64 desktop test
* Revert "Attempt to speed up arm64 desktop test"
This reverts commit 8fa8ff0c78 .
* Iterate
* Fix cache key
* Accept python or python3 as per node-gyp
* Accept python or python3 as per node-gypd
* Exclude apps/desktop/hak from coverage gate
2026-03-31 12:52:50 +00:00