Files
element-web/modules/widget-toggles
Michael Telatynski 44c540eca0 Tweak modules to be disabled if config is missing (#33806)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy

* Tweak modules to be disabled if config is missing

* Restore blank line

* Improve coverage

* Potential fix for pull request finding 'Unused variable, import, function or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-16 08:41:40 +00:00
..
2026-06-08 11:42:00 +01:00
2026-03-06 11:02:11 +00:00
2026-06-08 11:59:47 +01:00

Widget Toggles Module

Adds room header buttons for widgets in the room.

This module needs to be configured to control what widget types get buttons added for them. The following config snippet enables the module and configures it to add buttons for both custom and jitsi widgets:

"modules": [
    "/modules/widget-toggles/lib/index.js"
],
"io.element.element-web-modules.widget-toggles": {
    "types": ["m.custom", "jitsi"]
}