lightning
lightning copied to clipboard
Inactive Collaborator Avatar dissapears on the Editor instead of greying out
Description
The gray border indicator for inactive collaborators (inactive for more than 2 minutes) is not working as expected.
Instead of switching to a gray border, the avatar either disappears entirely or remains displayed as active on the navigation bar.
Expected Behavior
- Avatars for inactive collaborators (no activity for > 2 minutes) should remain visible with a gray border to indicate inactivity.
- Avatars should only disappear when the collaborator disconnects (e.g., closes the browser tab).
Actual Behavior
- After 2–4 minutes of inactivity, the avatar disappears even though the user’s tab remains open and connected.
- Sometimes, the avatar remains active with a green border beyond the 2-minute inactivity window.
Steps to Reproduce
- Open the same workflow in two different browser sessions (as different users)/ Have anotehr.
- Keep one session inactive for more than 2 minutes (without mouse or keyboard input).
- Observe whether the avatar in the other session changes to gray or disappears.
We have 3 states.
- active (a user who's actively issuing inputs while on the page. eg. mouse movements and key presses)
- inactive (a user who's on the page but is issuing no user inputs)
- not connected when a user leaves or is no more connected to a workflow
active -> green border inactive -> gray border not connected -> icon disappears
Since the human Interface to a computer is just a mouse and keyboard. we'll track those two for active users