556 Commits

Author SHA1 Message Date
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
Florian Duros 81212a3c16 feat(builtins): add hideHeader and hideComposer props to RoomViewProps and renderRoomView 2025-10-28 16:06:28 +01:00
R Midhun Suresh 879c5c47f6 Update doc 2025-10-28 16:36:39 +05:30
R Midhun Suresh 74acfb84aa Add openRoom to Navigation 2025-10-28 16:36:01 +05:30
dependabot[bot] 10d73fa0ea 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.1.6 to 7.1.11
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.11/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 10:10:32 +01:00
R Midhun Suresh 4698f68d8a Merge pull request #109 from element-hq/midhun/multiroom/client-api
Allow modules to access a part of `MatrixClient` functionality
2025-10-27 18:11:17 +05:30
R Midhun Suresh 4381032d63 Update API doc 2025-10-24 00:30:01 +05:30
R Midhun Suresh 4ee9b05608 Return a watchable 2025-10-24 00:29:18 +05:30
R Midhun Suresh af3d476a70 Convert to property 2025-10-24 00:28:54 +05:30
R Midhun Suresh 97e1462474 Updat api doc 2025-10-24 00:08:45 +05:30
R Midhun Suresh 200d52a162 Add Stores API 2025-10-24 00:08:43 +05:30
R Midhun Suresh 6b4f33bee1 Update API doc 2025-10-23 23:45:36 +05:30
R Midhun Suresh 04379cc089 Return watchable in account data api 2025-10-23 23:41:08 +05:30
R Midhun Suresh cd9a21ac93 Add onFirstWatch and onLastWatch to watchable
So that we can create custom watchable objects that can add/remove event
listeners as necessary.
2025-10-23 23:38:31 +05:30
David Baker a6316d99d5 bump shared components version 2025-10-23 15:56:17 +01:00
R Midhun Suresh 17f1a54a1f Fix comment 2025-10-23 16:11:50 +05:30
R Midhun Suresh 7c40be9054 Change method to property 2025-10-23 16:07:07 +05:30
Florian Duros 0e6bacffed Replace ViewWrapper by useMockedViewModel (#31067)
* feat: replace `ViewWrapper` by `useMockedViewModel`

* feat: update existing story
2025-10-23 08:06:06 +00:00
R Midhun Suresh 4930da1e97 Update api doc 2025-10-23 12:43:10 +05:30
R Midhun Suresh 051fd6e8fe Add method to render room avatar 2025-10-23 12:39:11 +05:30
R Midhun Suresh b9a90b2bfc Render RoomView instead of simply returning it 2025-10-23 12:38:36 +05:30
R Midhun Suresh d0923c7b76 Update api doc 2025-10-23 12:22:39 +05:30