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

Remember grid view state per call #4451

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Conversation

PVince81
Copy link
Member

Fixes #3824

Please note that joinCall and leaveCall are actions already defined in the participantsStore.
Nevertheless, vuex will call the action on both the stores! 😄

Default to grid mode in group and public calls and to speaker mode in
one on one conversations.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81 PVince81 force-pushed the feature/3824/remember-grid-state branch from cf49d1a to bf682ac Compare October 23, 2020 14:41
@PVince81
Copy link
Member Author

@nickvergessen the default for group or public conversation is now grid. (I saw other places in the code where public was also considered a group conversation)

I've also adjusted the implementation to store the preference as soon as it's changed instead of upon leaving the call: because when leaving the call by closing the browser window it doesn't call that handler.

Please re-review

@nickvergessen nickvergessen removed their request for review October 27, 2020 10:24
@PVince81 PVince81 requested a review from skjnldsv October 29, 2020 08:22
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Nice improvement! :) 👍 UX-wise, didn’t test

@PVince81 PVince81 merged commit 0474bfc into master Nov 2, 2020
@PVince81 PVince81 deleted the feature/3824/remember-grid-state branch November 2, 2020 15:26
@danxuliu danxuliu mentioned this pull request Nov 5, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remember grid view state
4 participants