Skip to content

Add support for Widget & Room Header Buttons module APIs#32734

Merged
dbkr merged 15 commits into
developfrom
dbkr/widget-toggles
Mar 13, 2026
Merged

Add support for Widget & Room Header Buttons module APIs#32734
dbkr merged 15 commits into
developfrom
dbkr/widget-toggles

Conversation

@dbkr

@dbkr dbkr commented Mar 5, 2026

Copy link
Copy Markdown
Member

Implements element-hq/element-modules#219

A lot of this change is swapping out the widget Container type for a union type so only the type has to be imported over the module boundary. This could be split out of needed although these changes are all fairly obvious.

The rest is just implementing the module APIs (most of which are copied from the old module API) and adding tests for them, plus a couple of places where the enum is changing that weren't covered by tests.

Checklist

Which have just changed because of the enum
@dbkr
dbkr marked this pull request as ready for review March 11, 2026 12:48
@dbkr
dbkr requested a review from a team as a code owner March 11, 2026 12:48
@dbkr
dbkr requested review from Half-Shot and florianduros March 11, 2026 12:48
Comment thread apps/web/src/modules/ExtrasApi.ts Outdated
Co-authored-by: Florian Duros <florianduros@element.io>
@dbkr
dbkr added this pull request to the merge queue Mar 13, 2026
Merged via the queue into develop with commit 09bbf79 Mar 13, 2026
44 checks passed
@dbkr
dbkr deleted the dbkr/widget-toggles branch March 13, 2026 14:00
rbondesson pushed a commit to ZacksBot/element-web that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants