Skip to content

Conversation

@PaStucky
Copy link

@PaStucky PaStucky commented Jul 3, 2025

Improve accessibility of the search dialog.

Status before change

  • When search dialog is open, the first search result is read by the screen reader
  • There is no way of making the screen reader read out the search input field

Goal of this task

  • Improve readability of the search dialog

Changes

  • When the first search result is selected and the user presses key up, the screen reader reads out the search input field
  • Navigation the results is not changed for all other cases

PaStucky and others added 4 commits July 3, 2025 09:33
…t X by default. (element-hq#30172)

* Reapply "Update the mobile_guide page to the new design. (element-hq#30006)" (element-hq#30104)

This reverts commit c51823d.

* Use Element X as the default mobile_guide_app_variant when omitted.

* Fix a build error on Windows.

Additionally revert "Remove unnecessary <%= require %> usages" and let webpack handle all of the assets (without a manual copy rule).

* Exclude mobile_guide from coverage gate

It has playwright tests

* Revert the re-introduction of <%= require %>

* Fix snapshot tests on mobile_guide.

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* chore: add `hideJumpToBottomButton` option to playwright screenshot

* test: hide jump to bottom button in release announcement test
@PaStucky PaStucky requested a review from dreypka July 3, 2025 11:06
uhoreg and others added 25 commits July 3, 2025 13:34
* remove resetCrossSigning flag, which is no longer in use

* drop unnecessary check for cross-signing

The only place where verifyUser is called already checks that cross-signing is
set up.  (The function name is also incorrect, since it checks for the
cross-signing key, and not for 4S.)

* avoid calling accessSecretStorage to set up cross-signing or 4S

Send the user to the Encryption settings tab instead

* only create secret storage when specifically asked to

* deprecate using accessSecretStorage to create new 4S

* also remove the obsolete snapshot

* add tests

* Tweak comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
…ment-hq#30258)

* Fix the default mobile_guide links.

Whilst the script should update these if it fails these should link to Element X which is now the default app that we link out to from this page.

* Rename the mobile_guide_app_variant values to be clearer.

Also handle invalid config values by defaulting to Element X.

* Rename snapshots to match new app variant identifiers.
* test: retry failing assertion in room list

* test: fix click on room not visible after scroll
…hq#30252)

* Add support for allowDownloadingMedia

* Add tests.

* Allow downloading when no event is associated.

* fix lint

* Update module API

* Update lock file too

* force CI
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
* Fix transparent verification checkmark in dark mode

Fixes Issue element-hq#28285

* Add white background to E2E Warning Icon

Also adapted the testcases to the new background.
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…t-hq#30278)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…0e (element-hq#30273)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
…#30286)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
renovate bot and others added 30 commits July 22, 2025 16:13
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

* refactor: move Flex component in shared components

* refactor: update imports

* refactor: remove Flex pcss file

* fix: Flex component css override

* test: update snapshots

* fix: html export

* chore: add css module support to jest

* chore: keep old copyright

* refactor: change `mx_Flex` in `ErrorView` to `mx_ErrorView_flexContainer`

* test: update snapshots

* refactor: move Box component in shared components

* refactor: update import and css override

* test: update snapshots
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
* Script for updating storybook screenshots

Requires element-hq/element-modules#43

* Prettier
* feat: change color of public room icon

* test: update room avatar snapshot

* test(e2E): update screenshots
* chore: add tooltip provider to storybook preview

* chore: order story alphabetically
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
So the shared components screenshot generator works
A forthcoming change to the js-sdk will add a new event shield reason. To avoid
a compile-time failure, add a `default` case to the code handling those
reasons.
* feat: change unencrypted and public pill to blue

* test: update snapshots

* test(e2e): update screenshots
The js-sdk now exposes a new event shield reason, which we should handle
correctly.
* Work around jest bug that swallows console output

Hacky workaround for jestjs/jest#15747

* Fix unit test

* Only write logs if there are some to write

* Another test fix
…ent-hq#30408)

* fix: e2e icon for encrypted room

* test(e2e): add screenshot for grey shield in encrypted room
... to see what exactly it thinks is wrong with the session

This may be useful in debugging
element-hq#30337 and
element-hq#29708. but will likely be
useful in any case.
* Allow Element Call to send call notifications

Currently Element Web is responsible for sending the call notification event, but this is planned to be changed soon. As of the upcoming Element Call 0.14.0 release, it will request the capability to send call notifications itself, and we should auto-approve this capability.

* Add reaction capability missing from test

Element Call does in fact request this one.
* MatrixChat-test: clean up better in `afterEach`

Make the MatrixChat tests behave better by letting them finish their work in an
`act` in afterEach. Otherwise we can end up mounting new components during
cleanup, which run tasks in the background

* MatrixChat-test: clean up dispatcher test

This test was kicking off a dispatcher job which would then open a
UserDeviceSettings dialog once the test had finished. That would then throw
exceptions because some of the mock environment had been torn down.

We're just testing that it opens the right dialog, so better to intercept
`createDialog`.

Aso add an `act` to reduce warnings, and replace a `flushPromises` with a
`waitFor` to make the test more robust.
Now that we have better logging for our tests
(element-hq#30405), I'd like to re-enable
this test so we can try and understsnd what makes it fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.