Florian Duros
dd1db8c14b
Room list: center focus outline of room list item ( #32637 )
...
* fix: in room list item, replace bottom padding by top and bottom
Outline focus is not aligned when only using a padding bottom. Replace
by a padding-top and a padding-bottom.
The padding top is not added on the first item and the padding bottom
neither on the last item
* test: update snapshot
* test: update storybook screenshot
* test: update screenshot
* chore: use css var instead of duplicating the logic
* chore: add new stories for first and last item case
* test: add new screenshots following the new stories
2026-02-25 19:45:22 +00:00
Michael Telatynski
9e802ebca6
Add missing README.md
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-25 17:13:42 +00:00
Michael Telatynski
4ee6ec55f1
Update file paths in localazy.json for new structure ( #32629 )
...
* Update file paths in localazy.json for new structure
* Update path for en_EN.json in workflow
2026-02-25 15:55:57 +00:00
Andy Balaam
59ccc1111a
Revert 'Hide the names of banned users behind a spoiler tag#32424' ( #32635 )
...
* Revert 'Hide the names of banned users behind a spoiler tag#32424'
* Empty commit to trigger test re-run
2026-02-25 15:53:30 +00:00
Michael Telatynski
f6d72f12db
Update docs for new repo structure ( #32630 )
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-25 15:48:37 +00:00
David Langley
c9d7142267
Merge pull request #204 from element-hq/langleyd/module-api-release-1.10.0
...
Release element-web-module-api 1.10.0
2026-02-25 15:19:19 +00:00
Florian Duros
9590d22abe
chore: avoid story with custom font size to affect of room list item stories in docs page ( #32612 )
2026-02-25 13:28:21 +00:00
David Langley
3ac2b36657
bump to 1.10.0
2026-02-25 13:08:11 +00:00
David Baker
db3af8e653
Fix misaligned cross in complete security dialog ( #32614 )
...
* Fix misaligned cross in complete security dialog
* It's not a dialog
* Need to wait for login to finish
* Add screenshot
* Move snapshot to thr right place
2026-02-25 13:00:25 +00:00
David Langley
226824890a
Merge pull request #198 from element-hq/langleyd/widget-lifecycle-module-api
...
Widget lifecycle module api
2026-02-25 12:58:43 +00:00
Zack
e26cbba541
Refactor Reactions Row Button to shared-components ( #31993 )
...
* Refactoring of ReactionRowButton to shared component MVVM
* Removal of old component and creation of unit tests
* Update
* Update tests
* Update tests to mimic VM
* Update Lint Spacing
* Added onKeyDown to follow wcag rules
* Remove Unused code
* Update screenshots
* Removal of unessecery test and story
* Update snapshot
* Refactor reactions row VMs to granular setters and merge cheap snapshot updates
* Elist Fix
* Revert ReactionRowButtonToolTip Test
* Fix ReactionsRowButtonViewModel tooltip sync to use tooltip setProps
* Add dedicated ReactionsRowButtonViewModel unit tests for setters, tooltip sync, and click actions
* Better Wording On Functions
* Update snapshot
* Update packages/shared-components/src/message-body/ReactionsRowButton/ReactionsRowButtonView.tsx
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* use native button and tighten view model
* Update Snapshots + small fixes on reactionrow
* Removal of Null on viewmodel and adapting ReactionRow
* Update test and removal of unused test since me MVVMD ReactionRowButton
* align assertions with refactored update behavior
* FIx issue with classNames component
* Update snapshot
* Removal of old test snapshot
* Update Snapshot
* Implement Css + Snapshot Updates
* Update Snapshot and css to match old component style
* restore MatrixClientContext fallback in ReactionsRow for export/test rendering
* restore client fallback in ReactionsRow to preserve export rendering
* Remove Unused Pcss FIle
* Update Css
* Update misstake always having button default to disabled render
* Remove unsimiler css to original component
* Update Snapshot to reflect css adjustments
* Update css
* Update font to compund
* Update css to reflect old component
* Update css to compund
* Update Snapshot and css
* Update css
* Update HTML snapshot
* Update css
* Update Css
* Update snapshots
* Update HTML snapshot
* Update css + snapshot
* Update HTML snapshot
* Removal of mx css
* Update snapshot based on css removal
* Update Html snapshot
* Apply suggestion from @florianduros
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* remove setContext from ReactionsRowButtonViewModel
* Update packages/shared-components/src/message-body/ReactionsRowButton/ReactionsRowButtonView.tsx
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* add tooltipVm to ReactionsRowButtonViewSnapshot
* added compound token variables
* remove className from content and count inner elements
* use useMatrixClientContext() directly for ReactionsRowButtonViewModel
* Update snapshots
* Update snapshot + fix Typescript error on test file
* Removal of line-height in css
* Added line-height back and removed font: inherit;
* derive ReactionsRowButton className/ariaLabel types from HTML button attrs
* Update packages/shared-components/src/message-body/ReactionsRowButton/ReactionsRowButtonView.tsx
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* Update src/viewmodels/message-body/ReactionsRowButtonViewModel.ts
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* Update src/viewmodels/message-body/ReactionsRowButtonViewModel.ts
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* Update test/viewmodels/message-body/ReactionsRowButtonViewModel-test.tsx
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* Update snapshots and lint issues
* Update model to respond to changes
* Update aria label on view
---------
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
2026-02-25 11:18:03 +00:00
Michael Telatynski
05598a3229
Merge pull request #32622 from element-hq/t3chguy/move
...
Move element-web codebase to subdir `apps/web` in monorepo
2026-02-25 09:46:31 +00:00
David Langley
83d752cfd7
Add MaybePromise
2026-02-25 09:33:48 +00:00
Michael Telatynski
bc0f998cdd
fixup: codeowners
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-25 08:55:35 +00:00
Michael Telatynski
058c944421
fixup: docs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-25 08:54:50 +00:00
Michael Telatynski
21a98083bb
Update CODEOWNERS
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:05 +00:00
Michael Telatynski
e84ae7a6d6
Update workflows
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:04 +00:00
Michael Telatynski
41d6094cc0
Make knip happy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:04 +00:00
Michael Telatynski
ee8094ded6
Update pnpm-lock.yaml
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:04 +00:00
Michael Telatynski
8b0031f87f
Update pnpm workspace packages config
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:04 +00:00
Michael Telatynski
056f0f03d6
Remove nx implicitDependencies
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:04 +00:00
Michael Telatynski
99fe2d8716
Add .lintstagedrc config
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:03 +00:00
Michael Telatynski
8b61b89ee7
Consolidate prettier on monorepo root
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:03 +00:00
Michael Telatynski
b8509d249b
Fixup paths
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 21:27:03 +00:00
RiotRobot
10973d792e
Merge branch 'master' into develop
2026-02-24 16:56:16 +00:00
RiotRobot
0f2aa5d32b
v1.12.11
2026-02-24 16:55:44 +00:00
Michael Telatynski
848f664fc3
Create root package.json
...
and clean up apps/web/package.json
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 15:46:47 +00:00
Michael Telatynski
91a3cb03c1
mv element.io @types __mocks__/ debian docker module_system/ playwright res src test webapp Dockerfile .dockerignore .eslintignore .stylelintrc.cjs babel.config.cjs recorder-worklet-loader.cjs .modernizr.json components.json config.json config.sample.json package.json project.json tsconfig.json tsconfig.module_system.json jest.config.ts playwright.config.ts webpack.config.ts build_config.sample.yaml apps/web/
...
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts
And a couple of gitignore tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 15:43:58 +00:00
RiotRobot
013f1ce791
v1.12.11
2026-02-24 14:10:50 +00:00
David Baker
b4af54a773
Set js-sdk version to 41.0.0
2026-02-24 15:06:26 +01:00
Michael Telatynski
e7509c92a1
Document monorepo shape
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 13:02:40 +00:00
Michael Telatynski
1c5694e625
Remove deprecated config, param & component ( #32607 )
...
* Remove long-deprecated `welcomePageUrl` config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Remove deprecated EC `analyticsID` param in favour of `posthogUserId`
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Remove use of deprecated RoomName component in favour of useRoomName hook
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 11:04:05 +00:00
Michael Telatynski
7a0ed5443f
Remove rimraf ( #32618 )
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 10:05:18 +00:00
Will Hunt
a991509733
Support downstream js-sdk changes in hs/slots/refactor-membership ( #32615 )
2026-02-24 09:33:48 +00:00
Michael Telatynski
e907d4978d
Simplify notifier-platform code for closing notifications ( #32609 )
...
* Simplify notifier-platform code for closing notifications
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Add test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-23 17:40:38 +00:00
Florian Duros
9c050c58b7
Enforce usage of CSF3 story in storybook ( #32610 )
...
* chore: enforce usage of CSF3 story by eslint
* chore: migrate remaining stories to CSF3
2026-02-23 17:14:25 +00:00
Michael Telatynski
39317123c7
Attach playwright bot logs as log files ( #32608 )
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-23 16:52:31 +00:00
Florian Duros
6d870c3935
Room list: fix keyboard navigation ( #32585 )
...
* feat: add visual feedback of selection in `VirtualizedList` story
* fix: keyboard navigation when focused element is no longer in the dom
* fix: selection delay when the list is scrolled
* fix: room list item scroll issue
Avoid to use margin https://virtuoso.dev/react-virtuoso/#caveats
* test: add tests
* test(e2e): update snapshots
* test: update room list item screenshot
2026-02-23 16:27:07 +00:00
Florian Duros
b08cf5fdaa
Fix documentation of view component in storybook and migrate to CSF3 format ( #32604 )
...
* chore: add a way to keep story doc in wrapper
* chore: use `withViewDocs`
* doc: update SC readme
* doc: update copyright
2026-02-23 16:03:49 +00:00
Michael Telatynski
77670eb369
Add lint rule to protect against this access on unbound methods ( #32578 )
...
* Add Actions to ViewModel utility types and specify `this: void` signature
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Add https://typescript-eslint.io/rules/unbound-method/ linter to shared-components
also fix stray lint config which doesn't apply to SC
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Add https://typescript-eslint.io/rules/unbound-method/ linter to element-web
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix genuine issues identified by the linter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Specify this:void on i18napi
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update Module API
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Add comment for MapToVoidThis
Added utility type to map VM actions to unbound functions.
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-23 15:37:58 +00:00
Michael Telatynski
87b28b725c
Stabilise flaky playwright tests ( #32601 )
...
* Stabilise flaky playwright tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Stabilise flaky tests screenshotting CIDER pills
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-23 13:38:04 +00:00
Andy Balaam
41f8ffff4d
Hide the names of banned users behind a spoiler tag ( #32424 )
2026-02-23 13:33:06 +00:00
Florian Duros
f4acc4b0bc
Room list: remove bold effect on selected room ( #32593 )
...
* feat(room list): remove bold effect on room name when selected
* test(room list): update snapshots
* test(room list): update e2e tests
* test: update screenshhit
2026-02-23 13:13:07 +00:00
Will Hunt
f1cdbae59c
Update URL Preview playwright tests to use new endpoint ( #32573 )
...
* Update URL Preview playwright tests to use new endpoint
For https://github.com/matrix-org/matrix-js-sdk/pull/5191
* Drop extra preview test
* Adopt axe, fixup paths, etc for url previews
* work dammit
* begone unwanted screenshot
* Make github happy?
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-23 10:50:18 +00:00
Florian Duros
62523b2bf1
Storybook: clear font size in room list item story ( #32594 )
...
* chore: clean added font size in room list item story
* test: fix screenshot
2026-02-23 09:14:38 +00:00
Michael Telatynski
73e2770246
Merge pull request #203 from element-hq/dependabot/npm_and_yarn/npm_and_yarn-57e1ad1f90
2026-02-23 09:05:27 +00:00
ElementRobot
c8b971ea72
[create-pull-request] automated change ( #32600 )
...
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com >
2026-02-23 06:47:37 +00:00
dependabot[bot]
a0d4df56c0
build(deps): bump bn.js in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [bn.js](https://github.com/indutny/bn.js ).
Updates `bn.js` from 4.12.1 to 4.12.3
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/commits/v4.12.3 )
---
updated-dependencies:
- dependency-name: bn.js
dependency-version: 4.12.3
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-22 14:06:56 +00:00
Michael Telatynski
cd061ee9f5
Merge pull request #202 from element-hq/dependabot/npm_and_yarn/npm_and_yarn-f1bf2b0a19
2026-02-22 14:05:47 +00:00
renovate[bot]
352feb2787
Update dependency eslint-plugin-storybook to v10.2.10 ( #32553 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-22 14:05:36 +00:00