Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move voip previews to bottom right corner #4904

Merged
merged 10 commits into from
Jul 8, 2020
Merged

Conversation

JorikSchellekens
Copy link
Contributor

fixes: element-hq/element-web#14177
relates to: element-hq/element-web#13635 in PRs for overarching tracking

audio

There is also a video view:

image

@JorikSchellekens JorikSchellekens requested a review from a team July 6, 2020 22:07
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please in the future do not mix TypeScript conversions with functional changes, as it's hard to review. It's made even more difficult to review when all of them are in a single commit.

I've done an initial pass here and it overall seems reasonable, though the tests are super angry.

res/css/_components.scss Outdated Show resolved Hide resolved
res/css/views/voip/_CallView2.scss Show resolved Hide resolved
src/components/views/avatars/PulsedAvatar.tsx Outdated Show resolved Hide resolved
src/components/views/voip/CallContainer.tsx Outdated Show resolved Hide resolved
src/components/views/voip/CallPreview2.tsx Outdated Show resolved Hide resolved
Comment on lines 55 to 57
SettingsStore.watchSetting("feature_new_room_list", null, (name, roomId, level, valAtLevel, newVal) => this.setState({
newRoomListActive: newVal,
}));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs an unwatch too

@@ -305,7 +305,7 @@ export const SETTINGS = {
"VideoView.flipVideoHorizontally": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Mirror local video feed'),
default: false,
default: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requires a product decision, I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I go about getting one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

making noise in the direction of Nad

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nadonomy for context the current 1:1 video calls have a small local video feed. This feed is not mirrored by default although I think it aught to be. (See the issues linked by turt2live)
Currently it looks like this:
image

But it's probably a lot more intuitive like this:
image

Should we make the default mirrored?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the call: we'll keep this off by default for now as the screen sharing issue needs work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of element-hq/element-web#5633 we're not doing this but I'm making it my personal mission to fix that one soon.

@JorikSchellekens
Copy link
Contributor Author

I thought it would be a small conversion but it got out of hand. I'll be more segmented about it in future.

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm assuming product is okay with the change

@nadonomy
Copy link
Contributor

nadonomy commented Jul 8, 2020

Just to summarise some internal chat:

  • Overall, looks great!
  • Mirroring makes sense, both from a UX perspective and from benchmarking other apps (as presumably they've been through the pain on this, and also users would expect our implementation to work in an expected way)
  • We need to R&D if we can mirror video feeds without mirroring screen shares

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to merge once the mirror flip is flipped

@turt2live turt2live merged commit 0368bff into develop Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New room list: VoIP + Jitsi
3 participants