1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-23 11:09:01 +03:00

87 Commits

Author SHA1 Message Date
renovate[bot]
e1b9e0c566 Update dependency happy-dom to v21 (#35528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-20 12:50:48 +00:00
renovate[bot]
a7e7fe3253 Update vector-im (#35539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-19 17:43:57 +00:00
renovate[bot]
0545871a76 Update dependency motion to v14 (#35357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-06 22:56:52 +00:00
David Langley
c4e04930d4 Update the univention error strings for the banner module (#35234)
* Update the univention error to refer to central navigation rather than univention by name.

* Update e2e test and screenshot
2026-09-30 10:08:03 +00:00
Michael Telatynski
a96cfb979b Fix banner module's logo_href not working in Univention mode (#35236)
* Fix banner module's logo_href not working in Univention mode

* Update Dockerfile to version modules to make it easy to see what versions are loaded via config.json

* Update docker test
2026-09-29 08:56:05 +00:00
Michael Telatynski
6d644ffe78 Remove legacy Module & Customisation API (#33941)
* Remove legacy Module & Customisation API

in favour of the new runtime modules system

* Delint

* Remove unused i18n string

* Fix tests

* Fix test

* Fix tests

* Iterate

* Fix bad merge

* Bump Module API version

* Bump module-api compatibility ranges

* Update docs

* Fix semver ranges

* Update test module API version

* Too many versions

* Too many versions again
2026-09-11 13:32:48 +00:00
Michael Telatynski
1195d4d914 Tweak Banner module styling (#34903)
* Tweak Banner module styling

Also improve docs

+ Documents `theme` key
+ Wraps the heading title in the anchor
+ Tweaks the default width of the trigger to 69px to match the space panel with its border.
+ Fixes focus lingering

Bumps version in preparation of release

* Improve coverage

* Make knip happy

* Fix missing label

* Fix lockfile

* Iterate

* Make tests happier
2026-09-07 16:15:36 +00:00
renovate[bot]
417f9b3aa5 Update dependency motion to v13 (#34694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-13 13:30:45 +00:00
Michael Telatynski
4aa1a3549e Enable oxlint restriction ruleset (#34307)
* Remove stale max-len disablements

* Remove stale camelCase & naming-convention disablements

* Remove stale ban-ts-comment disablements

* Remove stale no-var disablements

* Remove stale no-empty-property disablements

* Remove stale react rule disablements

* Remove stale no-constant-condition disablements

* Remove stale no-unused-vars disablements

* Remove stale disablements for disabled rules

* fixup camelcase

* Remove dead code

* Tidy code

* Tweak oxlint config

* Use oxlint to apply jsx/tsx extension consistently

* Fix import

* Fix imports

* Rename affected snapshots

* Update more imports

* Enable restriction ruleset

* Make code comply with new rules

* Make code comply with react/button-has-type

* Make code comply with typescript/non-nullable-type-assertion-style

* Comply with node/no-process-env

* Comply with unicorn/prefer-node-protocol

* Comply with unicorn/import-style

* Comply with unicorn/no-process-exit

* Comply with no-proto

* Comply with node/handle-callback-err

* Comply with import/no-commonjs

* Comply with node/no-path-concat

* Comply with unicorn/no-length-as-slice-end

* Comply with unicorn/no-document-cookie

* Comply with unicorn/prefer-module

* Comply with typescript/prefer-literal-enum-member

* Comply with jsx-a11y/anchor-ambiguous-text

* Tweak oxlint config

* Fix resolves

* Iterate

* Iterate

* Iterate

* Iterate

* Iterate

* Iterate

* Iterate
2026-08-04 09:15:07 +00:00
Michael Telatynski
1bec06ca52 Wire up GHA workflow to release modules (#34544)
* Wire up GHA workflow to release modules

* Iterate
2026-08-04 08:29:40 +00:00
Michael Telatynski
dfa6a58073 Add additional configuration options to Banner module (#34384)
* Add additional configuration options to Banner module

* Iterate

* Iterate
2026-07-28 14:18:50 +00:00
Michael Telatynski
b51c5ed8a7 Tweak oxlint config & delint our code (#34301)
* Remove stale max-len disablements

* Remove stale camelCase & naming-convention disablements

* Remove stale ban-ts-comment disablements

* Remove stale no-var disablements

* Remove stale no-empty-property disablements

* Remove stale react rule disablements

* Remove stale no-constant-condition disablements

* Remove stale no-unused-vars disablements

* Remove stale disablements for disabled rules

* fixup camelcase

* Remove dead code

* Tidy code

* Tweak oxlint config
2026-07-17 07:55:31 +00:00
Michael Telatynski
15c85ec50f Switch from eslint to oxlint (#34166)
* Fix type imports

* Fix jsdoc

* Fixup types

* Fix stray awaits on non-thenables

* Fixup imports

* Fix splats

* Fix this-context on callbacks

* Memoise react contexts

* Prefer find/flatMap

* Make oxlint happier about our React keys

* Avoid unsafe default function params

* Fixup jsdoc

* Fixup contexts

* Switch from eslint to oxlint

* Some oxlint-related tweaks

* Iterate

* Partial revert to defer some changes and shrink diff

* Iterate

* Add eslint-plugin-element-call and enable the copyright rule

* Set strictStorePkgContentCheck

* Iterate

* Make sonar happy

* Fix new lints
2026-07-10 09:47:41 +00:00
Michael Telatynski
5002f2929f Fix CI/CD pnpm error around minimumReleaseAge (#33908)
* Update pnpm

* Fix @types/node dep reference

* disable allowBuilds for js-sdk

* disable allowBuilds for js-sdk for git too

* Iterate

* Iterate
2026-06-19 11:12:59 +00:00
Michael Telatynski
1094ab256c Update npm package name from framer-motion to motion (#33887)
to make Renovate happier
2026-06-17 10:19:11 +00:00
Michael Telatynski
44c540eca0 Tweak modules to be disabled if config is missing (#33806)
* 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

* Tweak modules to be disabled if config is missing

* Restore blank line

* Improve coverage

* Potential fix for pull request finding 'Unused variable, import, function or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-16 08:41:40 +00:00
Michael Telatynski
af74f511ed Make tsc happier 2026-06-08 11:42:00 +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]
ee50bb87df Update react to v6 2026-06-04 13:11:34 +00:00
Michael Telatynski
cfab5cc659 Iterate NODE_ENV 2026-06-04 13:42:01 +01:00
Michael Telatynski
f5d93099e3 Re-add externalGlobals 2026-06-04 12:47:25 +01:00
Michael Telatynski
9d9991d838 Use rolldownOptions.transform.define 2026-06-04 12:18:22 +01:00
Michael Telatynski
82b5397c7d Use rolldownOptions.output.globals 2026-06-04 11:36:15 +01:00
Michael Telatynski
2321dc8f63 Use esmExternalRequirePlugin 2026-06-04 11:11:29 +01:00
renovate[bot]
2a6e185be9 Update vite 2026-06-04 08:13:41 +00:00
Michael Telatynski
fcffb91979 Merge pull request #287 from element-hq/renovate/vite
Update vite
2026-06-03 17:48:02 +01:00
Michael Telatynski
5b8233d210 Merge pull request #279 from element-hq/renovate/react
Update react
2026-06-03 17:30:26 +01:00
renovate[bot]
46b6254996 Update vite 2026-06-03 16:15:38 +00:00
renovate[bot]
d9e0bd9bf7 Update vector-im 2026-06-03 14:23:47 +00:00
renovate[bot]
e8d6e4cdc9 Update react 2026-06-03 14:22:19 +00:00
Michael Telatynski
ac32d219d7 Merge pull request #275 from element-hq/t3chguy/banner-title
Allow the banner title to differ from `brand`
2026-05-28 17:18:41 +01:00
Michael Telatynski
7242d1727d Allow the banner title to differ from brand 2026-05-28 14:33:53 +01:00
renovate[bot]
7f286de61f Update dependency typescript to v6 2026-04-29 20:10:19 +00:00
Michael Telatynski
f816c28eea Update tests/screenshots
for https://github.com/element-hq/element-web/pull/33211
2026-04-22 15:57:39 +01:00
Michael Telatynski
484ea4676e Iterate 2026-04-13 10:51:27 +01:00
Michael Telatynski
4cb10399bd Merge pull request #233 from element-hq/t3chguy/fix-banner 2026-04-07 12:36:31 +01:00
dependabot[bot]
6ab5d7d3c5 build(deps-dev): bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 7.3.1 to 7.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 20:43:24 +00:00
Michael Telatynski
4731caa37c Update screenshot 2026-04-02 15:43:13 +01:00
Michael Telatynski
5223383698 Update screenshots 2026-04-02 15:26:26 +01:00
Michael Telatynski
efb697fc56 Merge pull request #232 from element-hq/t3chguy/banner-h2 2026-04-02 10:04:11 +01:00
renovate[bot]
60698a2b78 Update dependency @vector-im/compound-design-tokens to v8 2026-03-31 14:34:08 +00:00
Michael Telatynski
e772a104c2 Iterate 2026-03-31 13:17:57 +01:00
Michael Telatynski
f2608caf34 Iterate 2026-03-31 12:32:27 +01:00
Michael Telatynski
21396c25be Iterate styles 2026-03-31 12:05:17 +01:00
Michael Telatynski
c6280dd875 Debug screenshot 2026-03-31 11:45:36 +01:00
Michael Telatynski
0607a32595 Stabilise banner h2 2026-03-31 09:43:09 +01:00
David Baker
055a127841 Pin react deps to exact version in package.json
Yarn had somehow confused itself and got into a state where it refused
to install react 19.2.4, so much so that even renovate thought it had
upgraded the package (https://github.com/element-hq/element-modules/pull/208)
when it hadn't.

Until we switch to pnom and can use catalog:, pin them to exact version which
seems to make yarn play ball again.
2026-03-16 17:58:23 +00:00
David Langley
64d5bef3e7 Migrate playwright tests from tests/ to e2e/ convention
All modules now use e2e/ for playwright tests, consistent with
element-modules-private. This avoids conflicts between vitest (which
uses tests/) and playwright project discovery.
2026-03-04 15:55:57 +00:00
renovate[bot]
1d9664ef10 Update npm non-major dependencies 2026-03-01 16:05:52 +00:00