* Pass current language into Jitsi
Jitsi itself now uses the current language of the user. However, this does not yet apply to the welcome page of the Jitsi widget that says "Join conference", which is only hard-coded to
english for now.
Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>
* Map between Element and Jitsi language codes
---------
Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>
* Jitsi requests 'io.element.requires_client' capability if auth token is provided
* Added a comment that Jitsi should request 'requires_client' capability to hide the popup icon in the Element if auth token is provided.
---------
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
* Remove ClientReady and WidgetReady hacks from the Jitsi wrapper
By registering widget API listeners earlier and simply blocking the
execution of all actions until the Jitsi wrapper has finished setting
up, sending a WidgetReady action becomes no longer necessary.
The ClientReady action is likewise not necessary, because in practice
getting a ready event means the client and the widget have already been
happily talking back and forth for capability negotiation.
* Rename audioDevice/videoDevice to audioInput/videoInput
* Combine HangupCall and ForceHangupCall into one action
* Apply misc code review suggestions
* Rename PostCSS files to `.pcss`
* Make Stylelint happy
* Make Stylelint happy v2
* Update CompatibilityView.tsx
* Update res/css/structures/ErrorView.pcss
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
* Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/pcss
Conflicts:
package.json
res/css/_components.scss
res/css/structures/_NotificationPanel.pcss
res/css/views/dialogs/_SpotlightDialog.pcss
res/css/views/rooms/_EventTile.pcss
res/css/views/rooms/_ReadReceiptGroup.pcss
yarn.lock
* Only use CI_PACKAGE mode on develop, it skips minification which can find some errors
* Keep name to not break existing PRs
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
If you forget to call preventDefault in widget action handlers,
matrix-widget-api logs a bunch of errors complaining that the action is
unsupported/unhandled, even if it isn't.
* No longer skip the prejoin screen in video rooms
* Enable joining with specific devices
* Start widget API listeners earlier
so that they're instantly ready for use, rather than being stuck behind
the config loading
* Revert "Start widget API listeners earlier"
This reverts commit 2c1bb08832.
* Tell the client when the Jitsi wrapper is ready to receive events
* Fix video rooms getting stuck on Jitsi Meet's prejoin screen
* Document voice rooms labs flag
Signed-off-by: Robin Townsend <robin@robin.town>
* Add join and mute handlers to Jitsi wrapper
Signed-off-by: Robin Townsend <robin@robin.town>
* Document voice rooms labs flag
Signed-off-by: Robin Townsend <robin@robin.town>
* Mark voice rooms as in development
Signed-off-by: Robin Townsend <robin@robin.town>
* ack at the end of widget event handlers
Signed-off-by: Robin Townsend <robin@robin.town>
* Move acks back before suspend points
Signed-off-by: Robin Townsend <robin@robin.town>