element-web/playwright/sample-files
Will Hunt 13c4ab2cf4
Add support for hiding videos (#29496)
* start hide

* Move useSettingsValueWithSetter to useSettings

* Add new setting showMediaEventIds

* Add a migration path

* Add an action button to hide settings.

* Tweaks to MImageBody to support new setting.

* Fixup and add tests

* add description for migration

* docs fixes

* add type

* i18n

* appese prettier

* Add tests for HideActionButton

* lint

* lint

* First pass at support for previewing/hiding images.

* Add a test for video files.

* First pass at supporting hiding video files.

* Use a hook for media visibility.

* Drop setting hook usage.

* Fixup MImageBody test

* Fixup tests

* Support functional components for message body rendering.

* Add a comment

* Move props into IProps

* Use new wrapping logic

* lint

* fixup

* allow for a delay for the image to render

* remove .only

* lint

* Fix jest test

* Fixup tests.

* make tests happy

* Improve comments

* review fixes

* unbreak test
2025-03-24 14:38:34 +00:00
..
1sec-long-name-audio-file.ogg Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
1sec.ogg Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
5secvid.webm Add support for hiding videos (#29496) 2025-03-24 14:38:34 +00:00
element.png Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
example-module.js Initial support for runtime modules (#29104) 2025-02-06 23:54:18 +00:00
matrix-org-client-versions.json Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
riot.png Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
upload-first.ogg Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
upload-second.ogg Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
upload-third.ogg Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00