Sugerencia para guardar el suspend_data. / Suggestion to save the suspend_data.

Aug 03, 2022

Sugerencia para guardar el suspend_data. (english version below)


Es sabido que el suspend_data se guarda cuando se cambia de diapositiva. Esto plantea un problema cuando la diapositiva ha sido vista y se sale del curso, ya que al salir del curso y no haber cambiado de diapositiva, no se guardan los últimos valores.
Como sugerencia para una próxima actualización planteo las siguientes alternativas:
1 - Ya existe un disparador para salir del curso, pero no guarda el suspend_data cuando se utiliza. ¿Porque no guardarlo al usar este disparador?
2 - Siguiendo con idea anterior, si hay algún motivo por el que no fuera siempre conveniente guardar el suspend_data al usar este dsparador, ¿podría añadirse una opción para guardar el suspend_data o no?
3 - Otra posibilidad es la creación de un disparador que permita guardar el suspend_data cuando se considere necesario.

Cualquiera de estas opciones facilitaria mucho las cosas a la hora de asegurarse de que se guarda el suspend_data con la información releveante para el curso. También prevendría la perdida de datos cuando se usan navegadores basados en Chromium que no permiten enviar información en los eventos onclose.

Un saludo a todos y gracias por vuestra atención.

-------------------------------------

Suggestion to save the suspend_data.

It is known that the suspend_data is saved when the slide is changed. This poses a problem when the slide has been viewed and the course is exited, since when exiting the course and not having changed the slide, the last values ​​are not saved.

As a suggestion for a future update I propose the following alternatives:

1 - There is already a trigger to exit the course, but it does not save the suspend_data when it is used. Why not save it when using this trigger?

2 - Continuing with the previous idea, if there is some reason why it would not always be convenient to save the suspend_data when using this trigger, could an option be added to save the suspend_data or not?

3 - Another possibility is the creation of a trigger that allows saving the suspend_data when it is considered necessary.

Any of these options would make things much easier to ensure that the suspend_data is saved with the relevant information for the course. It would also prevent data loss when using Chromium-based browsers that don't allow sending information in onclose events.

Greetings to all and thanks for your attention.

1 Reply