edehr/edehr

Add user warning before logging them out

Ouverte

#1 080 ouverte le 29 avr. 2023

 (1 commentaire) (0 réaction) (0 personne assignée)JavaScript (11 forks)auto 404
good first issuehelp wanted

Métriques du dépôt

Stars
 (14 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

In page-controller's on page change, implement a way for offering the user feedback that they will be logged out

In the logic, if the user arrives from the LTI, we check if they have an active demo session currently active. If they do have an active session which is not flagged a demo LTI session, that means they should be logged out.

We do have the current flow implemented in code, however, we need to provide the user some feedback so that they understand why they are being logged out.

You can see its TODO flag and get the full context for the bug on line 99 on page-controller.js

Please take into account the user experience for showing this message. Bonus point for creative design solutions!

Guide contributeur