Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Implement always-on-screen capability for widgets #2053

Merged
merged 3 commits into from
Jul 13, 2018

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jul 11, 2018

As per https://github.com/matrix-org/matrix-doc/issues/1354

This doesn't actually put the widget in the top left when you're in another room: for now it's off screen, but this can be done separately.

This is whitelisted to only jitsi widgets for now as per comment,
mostly because any widget that we may make always-on-screen we need
to preemptively put in a PersistedElement container, which is
unnecessary for any other widget.

Apologies that this does a bunch of refactoring which could have
been split out separately: I only discovered what needed to be
refactored in the process of doing this.

Fixes element-hq/element-web#6984

dbkr added 2 commits July 11, 2018 18:07
As per https://github.com/matrix-org/matrix-doc/issues/1354

This is whitelisted to only jitsi widgets for now as per comment,
mostly because any widget that we may make always-on-screen we need
to preemptively put in a PersistedElement container, which is
unnecessary for any other widget.

Apologies that this does a bunch of refactoring which could have
been split out separately: I only discovered what needed to be
refactored in the process of doing this.

Fixes element-hq/element-web#6984
@dbkr dbkr requested a review from a team July 11, 2018 17:12
Turns out the z-index was to make the avatar appear above the
EventTile_line even though it comes before in the DOM (it's
absolutely positioned to overlap with it). Instead, just put
it afterwards in the DOM.
dbkr added a commit that referenced this pull request Jul 12, 2018
always-on-screen widgets now appear in the top-left where the
call preview normally is if you're not in the room that they're in.

Fixes element-hq/element-web#7007
Based off #2053
@bwindels bwindels merged commit 7bbb967 into develop Jul 13, 2018
@bwindels bwindels deleted the dbkr/jitsi_always_on_screen branch July 13, 2018 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Freeswitch -> Jitsi: Implement cross-room widget persistence
2 participants