2017-08-28 00:44:35 -04:00
|
|
|
# Riot Widgets
|
|
|
|
|
|
|
|
Riot uses some special interaction with the integration manager to make for a clean user experience.
|
|
|
|
|
|
|
|
|
|
|
|
### Edit Widget button
|
|
|
|
|
|
|
|
Ends up calling `$scalar_ui_url?integ_id=...&screen=...` alongside the standard parameters for the scalar token and room ID.
|
|
|
|
|
|
|
|
**`screen` known values**:
|
|
|
|
* `type_jitsi`
|
|
|
|
* `type_etherpad`
|
|
|
|
* `type_grafana`
|
|
|
|
* `type_youtube`
|
|
|
|
* `type_googledocs` - may be a bug? See [vector-im/riot-web#4917](https://github.com/vector-im/riot-web/issues/4917)
|
|
|
|
* `type_customwidget`
|
|
|
|
|
|
|
|
### Permissions
|
|
|
|
|
|
|
|
* Creators of widgets do not get prompted for permission to load
|
2017-08-28 01:32:16 -04:00
|
|
|
* Only people with permission to add widgets can remove widgets (otherwise it just revokes permission)
|
2017-08-28 00:44:35 -04:00
|
|
|
* Only creators of widgets can edit them
|