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

Fix call view not visible when joining a call again in Files app #8498

Conversation

danxuliu
Copy link
Member

When a call is joined all the direct child elements of the header are hidden by adding a special CSS class, hidden-by-call, and then the call view is added to the header. When the call is left the hidden-by-call class is removed and the call view is moved back to its original parent. That parent was .app-sidebar-header__action, but in nextcloud/vue 3.3.0 (Nextcloud 22) it was renamed to app-sidebar-header__description.

As the expected parent did not exist the call view was not moved back and instead stayed as a direct child of the header, so when the call was joined again hidden-by-call was also added to the call view and therefore hid it like the other elements.

How to test

  • Open the Files app
  • Share a file
  • Open the Chat tab
  • Join the conversation
  • Start a call
  • Leave the call
  • Start a call again

Results with this pull request

The call view is visible.

Results without this pull request

The call view is not visible.

When a call is joined all the direct child elements of the header are
hidden by adding a special CSS class, "hidden-by-call", and then the
call view is added to the header. When the call is left the
"hidden-by-call" class is removed and the call view is moved back to
its original parent. That parent was ".app-sidebar-header__action", but
in nextcloud/vue 3.3.0 (Nextcloud 22) it was renamed to
"app-sidebar-header__description".

As the expected parent did not exist the call view was not moved back
and instead stayed as a direct child of the header, so when a call was
joined again "hidden-by-call" was also added to the call view and
therefore hid it like the other elements.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added 3. to review bug feature: frontend 🖌️ "Web UI" client feature: talk-sidebar ⬅️ Sidebar integration of Talk into other apps like sharing and documents feature: call 📹 Voice and video calls labels Dec 30, 2022
@danxuliu danxuliu added this to the 💟 Next Major (26) milestone Dec 30, 2022
@danxuliu
Copy link
Member Author

/backport to stable25

@danxuliu
Copy link
Member Author

/backport to stable24

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Works as advertised

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug feature: call 📹 Voice and video calls feature: frontend 🖌️ "Web UI" client feature: talk-sidebar ⬅️ Sidebar integration of Talk into other apps like sharing and documents
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants