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): introduce intermediary phase before joining call #13329

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

DorraJaouad
Copy link
Contributor

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

Before

Recording.2024-09-17.160718.mp4

After

Recording.2024-09-17.160913.mp4

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Not risky to browser differences / client
  • 🖌️ Design was reviewed, approved or inspired by the design team
  • ⛑️ Tests are included or not possible
  • 📗 User documentation in https://github.com/nextcloud/documentation/tree/master/user_manual/talk has been updated or is not required

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Works good in general, but I'd test it in some real calls before merging

@@ -321,27 +321,29 @@ const mutations = {
if (state.inCall[token] && state.inCall[token][sessionId]) {
Vue.delete(state.inCall[token], sessionId)
}

if (state.connecting[token] && state.connecting[token][sessionId]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can keep this resetting (in case it survives somehow). Maybe via commit('finishedConnecting')?

Copy link
Contributor

Choose a reason for hiding this comment

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

Still missing for leaveCall

src/components/CallView/CallFailedDialog.vue Outdated Show resolved Hide resolved
src/services/callsService.js Outdated Show resolved Hide resolved
@Antreesy
Copy link
Contributor

Antreesy commented Sep 24, 2024

  • NcLoadingIcon isn't shown
  • CallButon keeps disabled when leave a call, unless reload

@DorraJaouad
Copy link
Contributor Author

  • NcLoadingIcon isn't shown
  • CallButon keeps disabled when leave a call, unless reload

It was because isConnecting state is reinitiated at the time where it should be truthy

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Tested, looks and works fine

Let's wait for @danxuliu opinion on that

src/components/CallView/CallFailedDialog.vue Outdated Show resolved Hide resolved
src/components/CallView/CallFailedDialog.vue Show resolved Hide resolved
…t. It's only received when using internal server. Replace them with events from the base class so we make sure it's always received. Also, add a new event for failed joining

Signed-off-by: DorraJaouad <[email protected]>
…nCall, connecting, connection failed)

Signed-off-by: DorraJaouad <[email protected]>
…roduce a failed join message dialog.

Signed-off-by: DorraJaouad <[email protected]>
…l AND wait for participants list

Signed-off-by: DorraJaouad <[email protected]>
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Some thoughts from me

src/services/callsService.js Outdated Show resolved Hide resolved
src/store/participantsStore.js Outdated Show resolved Hide resolved
src/components/TopBar/CallButton.vue Outdated Show resolved Hide resolved
:type="startCallButtonType"
@click="handleClick">
<template #icon>
<IconPhoneDial v-if="isPhoneRoom" :size="20" />
<NcLoadingIcon v-if="isJoiningCall || loading" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Also add spinner when leaving conversation (loading is true)?

src/components/TopBar/CallButton.vue Outdated Show resolved Hide resolved
src/store/participantsStore.js Outdated Show resolved Hide resolved
src/store/participantsStore.js Show resolved Hide resolved
src/utils/signaling.js Outdated Show resolved Hide resolved
src/store/participantsStore.js Outdated Show resolved Hide resolved
@@ -321,27 +321,29 @@ const mutations = {
if (state.inCall[token] && state.inCall[token][sessionId]) {
Vue.delete(state.inCall[token], sessionId)
}

if (state.connecting[token] && state.connecting[token][sessionId]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Still missing for leaveCall

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.

3 participants