Skip to content

Add widget toggles module and the new APIs it needs#217

Closed
dbkr wants to merge 4 commits intomainfrom
dbkr/widget-toggles
Closed

Add widget toggles module and the new APIs it needs#217
dbkr wants to merge 4 commits intomainfrom
dbkr/widget-toggles

Conversation

@dbkr
Copy link
Copy Markdown
Member

@dbkr dbkr commented Mar 5, 2026

New APIs added:

  • Widget API for listing widgets, getting and editing their containers
  • Function on Extras API to add room header buttons

New APIs added:
 * Widget API for listing widgets, getting and editing their containers
 * Function on Extras API to add room header buttons
@dbkr dbkr added the enhancement New feature or request label Mar 5, 2026
@langleyd
Copy link
Copy Markdown
Member

langleyd commented Mar 5, 2026

"widget wiggles module" 😆

@dbkr dbkr changed the title Add widget wiggles module and the new APIs it needs Add widget toggles module and the new APIs it needs Mar 6, 2026
@dbkr
Copy link
Copy Markdown
Member Author

dbkr commented Mar 6, 2026

Wow, had absolutely no idea my fingers came out with that!

@dbkr
Copy link
Copy Markdown
Member Author

dbkr commented Mar 6, 2026

Closing in favour of split out PRs, #220 and #219

@dbkr dbkr closed this Mar 6, 2026
github-merge-queue bot pushed a commit to element-hq/element-web that referenced this pull request Mar 13, 2026
* Add support for Widget & Room Header Buttons module APIs

To support element-hq/element-modules#217

* Update for new api

* Test addRoomHeaderButtonCallback

* Extra mock api

* Test for widgetapi

* Convert enum

* Convert other enum usage

* Add tests for widget context menu move buttons

Which have just changed because of the enum

* Add tests for moving the widgets

* Fix copyright

Co-authored-by: Florian Duros <florianduros@element.io>

* Update module API

* A little import/export

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants