577 Commits

Author SHA1 Message Date
Richard van der Hoff
0d46bc924c Fix "Error: No request context set" in credentials fixture (#145)
Make sure that we've run the `context` fixture first, so that the request API
is configured
2025-11-27 19:40:29 +00:00
Richard van der Hoff
4c928d2854 Avoid mergeTests in test fixture declarations (#138)
Normally, one can find the documentation on a playwright test fixture by
finding its declaration (i.e., you can ctrl-click on the fixture name and find
its documentaion).

However, `mergeTests` re-declares the type, making it much harder to find the
documentation on a given fixture.

It's easy enough to avoid `mergeTests`: we just structure our `test.extend`
calls as a strict hieirarchy.
2025-11-27 17:13:22 +00:00
R Midhun Suresh
3b31bbf4a9 Bump version to 2.1.0 2025-11-27 17:16:56 +05:30
R Midhun Suresh
76b07d736c Make script compatible with yarn berry 2025-11-27 13:23:16 +05:30
David Baker
56662c53e9 Add humanizeTime to the module i18n API
So modules can access it simply with the right context etc
2025-11-26 16:47:58 +00:00
Skye Elliot
fd152c9c7e
Implement a shared Banner component. (#31266)
* feat: Create composer `Banner` shared component.

* fix: Yarn resolution issues corrupting package store.

* chore: Revert "fix: Yarn resolution issues corrupting package store."

This reverts commit 2c1335420331e9cf086cad5c68f7c7432af4b3a5.

* fix: Revert lockfile changes.

* chore: Resolve linting errors.

* chore: Update playwright screenshots.
2025-11-26 15:13:55 +00:00
David Langley
32cce82790
add back yarn (#31284) 2025-11-26 09:32:26 +00:00
renovate[bot]
b33b1f3d01
Update dependency @storybook/icons to v2 (#31337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 23:09:17 +00:00
renovate[bot]
08a1525937
Update react monorepo (#31318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 19:43:37 +00:00
renovate[bot]
4a62e87205
Update all non-major dependencies (#31326)
* Update all non-major dependencies

* 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>
2025-11-25 18:24:10 +00:00
renovate[bot]
e7eeb98c9c
Update dependency @types/lodash to v4.17.21 (#31327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 16:50:06 +00:00
renovate[bot]
c4f22cc3b3
Update storybook to v10.0.8 (#31319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-11-25 16:49:56 +00:00
Florian Duros
ef180bf89d chore(EW module): bump to v1.6.0 2025-11-21 16:30:14 +01:00
Florian Duros
c570936d33 Merge pull request #135 from element-hq/florianduros/rooms-hide-pinned-message-banner 2025-11-21 15:38:33 +01:00
Florian Duros
7518d1c068 Add ExtraApi#getVisibleRoomBySpaceKey (#134) 2025-11-21 15:31:17 +01:00
renovate[bot]
99ee1f95ad Pin dependencies (#63)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-19 20:09:05 +01:00
R Midhun Suresh
5de9d5d24f
Bump version (#31263) 2025-11-18 12:32:49 +00:00
dependabot[bot]
0788c3a207 Bump glob in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [glob](https://github.com/isaacs/node-glob).


Updates `glob` from 11.0.1 to 11.1.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v11.0.1...v11.1.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 11.1.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 07:36:22 +00:00
David Baker
250d6571fe
Fix pill buttons in dialogs (#31246)
* Fix pill buttons in dialogs

Add the magic class that makes the buttons not be broken by the
dialog button styles.

* Update snapshot
2025-11-17 15:14:34 +00:00
Florian Duros
17066c03fd chore: update element-web-module-api.api.md 2025-11-17 15:57:28 +01:00
Florian Duros
a66fd6e976 feat: add option to add the right panel of a room view 2025-11-17 15:13:40 +01:00
Michael Telatynski
e2fd873f5e
Update storybook to v10 (#31234)
* Update dependency @storybook/test-runner to ^0.24.0

* Storybook migration

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

* Add missing file

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

* Update yarn.lock

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

* Make jest happier

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>
2025-11-13 16:33:51 +00:00
renovate[bot]
d85e5fca8d
Update dependency vite to v7.1.11 [SECURITY] (#31048)
* Update dependency vite to v7.1.11 [SECURITY]

* Iterate

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>
2025-11-12 12:32:59 +00:00
Michael Telatynski
44c3d767ce Merge pull request #126 from element-hq/renovate/major-eslint-plugins 2025-11-12 12:24:19 +00:00
Michael Telatynski
c2f4535153 Delint 2025-11-12 12:16:31 +00:00
Michael Telatynski
6a4c529083 Delint 2025-11-12 12:16:31 +00:00
Michael Telatynski
2612dcd8e0 Merge branch 'main' into renovate/vitest-sonar-reporter-3.x 2025-11-12 12:01:06 +00:00
renovate[bot]
e197f0ec4b Update vitest monorepo to v4 (#128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 12:00:07 +00:00
renovate[bot]
4125ebea79 Update dependency vitest-sonar-reporter to v3 2025-11-12 11:46:24 +00:00
renovate[bot]
c2c873520c
Update dependency eslint-plugin-storybook to v10.0.6 (#31220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 11:34:55 +00:00
Richard van der Hoff
e31efda9b4 Apply suggestion from @richvdh 2025-11-06 11:45:58 +00:00
R Midhun Suresh
24aa759544
Add license (#31179) 2025-11-05 16:44:59 +00:00
Richard van der Hoff
49ad9c1d9c Start Ryuk ourselves 2025-11-05 16:23:16 +00:00
David Baker
c4ef57b5f1
Fix the slow test reporter (#31170)
Only runs on develop so we didn't notice
2025-11-05 11:16:48 +00:00
Richard van der Hoff
2af8e3c21f Warn about linked node modules under podman
Thanks to a podman bug, the symlink workaround doesn't work there. Let's emit a
noisy warning.
2025-11-04 23:49:31 +00:00
Richard van der Hoff
28384f1112 playwright-screenshots: clean up output and error handling
Somebody wrote those `pushd` and `popd` lines without testing
them. Redirections bind tighter than `||` so those lines were always spamming
the console.

Using `set -e` is more reliable than always checking exit codes anyway.
2025-11-04 23:47:09 +00:00
Richard van der Hoff
6502ffcbe0 Disable ryuk reaper in the playwright container
... thus making it possible to use `testcontainers` inside unprivileged
containers.
2025-11-04 23:46:13 +00:00
Richard van der Hoff
4cfa5b3265 Use DOCKER_HOST env var to find docker socket 2025-11-04 23:04:44 +00:00
David Langley
514dd07a28
Fix test:storybook:update (#31173) 2025-11-04 17:27:34 +00:00
David Baker
18a5565b70 Bump shared components version 2025-11-03 17:25:06 +00:00
David Baker
b0cdbf5eff
Make shared component build work in isolation (#31066)
* Make shared component build work in isolation

 * Add deps that were missing because they were getting picked up
   from element-web main but shared-components needs itself
 * Exclude test files from dts generation
 * Bump version

* Change all the shared-component import to be the built artifact

* Don't randomly inhale eslint configs in parent dirs please

* maybe we don't need this anymore?

* maybe fix build

* Maybe fix docker build

* More build faff

 * build:res on the parent as part of shared component prepare
 * link shared component repo inn docker build

* 💅

* 💅x2

* Try converting the translation keys to a .d.ts file manually

so it gets bundled rather than left as a relative import to the json
file

* add the script

* Add this back for 2nd time now I think

* Shouldn't need this anymore

* patch-package on prepare

because we're patching a dev dependency so it won't be there if we're
installed as a dependency

* Unused import

* Prettier compliance

* Only use counterpart from shared components

as per comment

* Import shared components CSS

* Prettier

* Call the one from shared components

rather than recurse infinitely

* Hopefully make tests work

* wake up, comment goes before import

* Fix lint errors

* Fix dupe TranslationKey export

* Update compound-web to fix type error

An update to @types.react adds the 'hint' value to the enum of the
'popover' attribute and this version of compound-web uses the maching
verson of @types/react so they don't conflict.

* Maybe, hopefully, get the types working?

Please?

* Add copyright header to i18nkeys

as eslint complains otherwise since it's now in src

* prettier

* stop running shared-component tests in EW

* update snapshots

because flex is now from an external stylesheet I guess

* More snapshots

* Manual class update

* Avoid bundling compound bits

Because a) it's silly and b) it means we end up bundling a copy of
floating-ui too which causes absolute madness with its useDelayGroup
contexts.

* ignore test util files for coverage

* Add !important

because the styles are being applied in a different order now

* Another !important because css order has changed

* Try adding it here to make the test files ignored

* More !important

* commit yarn lock change

* Add shared components coverage file

* Update snapshots

Because the line height was being overridden to 22.5px somehow by
something I can't find, and now isn't: surely the normal 1.5rem is
more sensible.

* Update snapshots, attempt 2

* Another !important

* More snapshot updates

* Add test for i18n wrappers

& add test script

* lint

* Prettier

* Hopefully run shared component tests

* don't need this bit for non-matrix

* install ew deps

* rigfht coverage location

* Rename job here too

* Try different coverage filename

* Fix copyrights & comment

* Typo

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-11-03 16:26:47 +00:00
renovate[bot]
a9bb046e52
Update storybook to v9.1.16 (#31105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 11:59:07 +00:00
Florian Duros
9b8c26ff22 Merge pull request #106 from element-hq/dependabot/npm_and_yarn/npm_and_yarn-fd296dbd23 2025-10-30 13:30:35 +01:00
R Midhun Suresh
a1cd21244f Reset patch version as well 2025-10-29 20:35:53 +05:30
R Midhun Suresh
b7385d8936 Update package.json 2025-10-29 20:21:27 +05:30
Florian Duros
07ab08a6f9 Merge pull request #114 from element-hq/florianduros/ew-api-room-view-props 2025-10-29 10:42:34 +01:00
Florian Duros
afa2984645 refactor(builtins): remove roomId from RoomViewProps 2025-10-29 10:36:55 +01:00
renovate[bot]
94ab980dc4
Update dependency eslint-plugin-storybook to v10 (#31111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-29 09:14:28 +00:00
R Midhun Suresh
ef9732c68f Merge pull request #113 from element-hq/midhun/multiroom/navigation
Add `openRoom` action to Navigation
2025-10-28 21:16:39 +05:30
Florian Duros
ca6443e4a2 chore: update api.md 2025-10-28 16:18:10 +01:00