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

Update "change slide" behavior from presenter view #57

Open
GildasMorel opened this issue Jul 10, 2020 · 2 comments
Open

Update "change slide" behavior from presenter view #57

GildasMorel opened this issue Jul 10, 2020 · 2 comments
Assignees
Labels
Milestone

Comments

@GildasMorel
Copy link
Collaborator

GildasMorel commented Jul 10, 2020

Dans la presenter view, ne plus synchroniser la gesture slide sur le cadre représentant la vue on stage avec le changement de slide effectif sur la stage view.
Ajouter un bouton qui, au clic, effectue le changement de slide sur la stage view en prenant comme information le numéro du slide affiché par le cadre représentant la vue on stage de la presenter view.

De cette façon, on peut skipper des slides si on voit qu'on est en retard par exemple.

Le speaker sélectionne le slide qu'il souhaite afficher sur la vue on stage et appui sur le bouton pour l'afficher directement sur la vue on stage.

@GildasMorel GildasMorel changed the title Desynchronise presenter view [A classer] Desynchronise presenter view Jul 10, 2020
@GildasMorel GildasMorel added enhancement New feature or request epic feature labels Jul 10, 2020
@GildasMorel GildasMorel self-assigned this Jul 10, 2020
@GildasMorel GildasMorel added this to the 0.5 milestone Jul 10, 2020
@GildasMorel GildasMorel changed the title [A classer] Desynchronise presenter view Update "change slide" behavior from presenter view Jul 10, 2020
@GildasMorel GildasMorel modified the milestones: 0.5, 0.6, 0.7 Jul 21, 2020
@jefBinomed
Copy link
Collaborator

@GildasMorel
Copy link
Collaborator Author

Final tech proposition for first attempt to resolve this issue :

Add "start asynchronous navigation switch" plugin

The plugin displays a button : "Start asynchronous navigation".

When the user click on this button, it :

  • displays 2 new buttons : Cancel and Validate
    The Cancel button synchronize the presenter view with the on stage view state
    The Validate button synchronize the on stage view with the presenter view state
  • send an event to the server, so the server can save in his store the asynchronousPresenters value to true.

tc-controller should know that it controls a presenter layout

In its init method, if the tc-controller controls a presenter layout, it should send to the server the information, so the server save its socket id in its store in the field "presentersList" .

In the broadcastStateChanges, if the value asynchronousPresenter is set to true, the server gets the ids stored in presentersList to retrieve the recipients of the goToSlide event.

The eventBusResolver method "emitTo" needs to evolve to handle an array for the "target" argument.

The emitTo emits an event to each recipients mentioned in the target array.

New onStageState in server store

When the asynchronousPresenters value is set to true, the onStageState in the store is set with the currentState value.

It represents the state of the on stage view.

When the "Cancel" button (see above) is clicked, the asynchronousPresenters is set to false and the currentState is replaced by the onStageState value. The onStageState value is emptied.

When the "Validate" button (see above) is clicked, the asynchronousPresenters is set to false and the onStageState value is emptied.

Option

Add a new button on presenter mobile layout that goes to next slide when clicked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants