Skip to content
Extraits de code Groupes Projets

Feat/109 status indicator update

Fermé Dave a demandé de fusionner feat/109-status-indicator-update vers dev
1 fil de conversation non résolu

I added an indicator status that krack whether a user is online or disconnected of a current session, as you can see on the image below (red for disconnected and green for connected). So, the logic is simple, I noticed that there is an attribut called is_active for each user which is true by default. So, when a user logs out, I turned this value to False. So, in Message.svelte, I handle the user status based on this attribut. But the issue is not yet ended up, I need to think how to handle the fact that a user is still connected but not present in the session. So, I was wondering about if I need to set a timer to track the inactivity of a user (e.g if a user didn't make an action during a while, I set its presence as inactive ?)

Screenshot_2025-02-01_at_08.59.47

Rapports de requête de fusion

Vérification de l'état du pipeline.

Fermée par Brieuc DuboisBrieuc Dubois Il y a 2 mois (févr. 21, 2025 8:17am UTC)

Loading

Activité

Filtrer l'activité
  • Approbations
  • Assignés et relecteurs
  • Commentaires (des bots)
  • Commentaires (des utilisateurs)
  • Branches et validations
  • Modifications
  • Labels
  • État de verrouillage
  • Mentions
  • État de la demande de fusion
  • Suivi
Veuillez vous inscrire ou vous connecter pour répondre
Chargement en cours