jschuur / coworking.party

Virtual coworking communities to keep people motivated and have a little fun.
https://coworking.party
7 stars 1 forks source link

Feature: Reset session after an extended period of time #61

Closed jschuur closed 2 months ago

jschuur commented 2 months ago

Users who were away for a very long time should no longer be listed until they are back from their away state, and then reconnect with a fresh (reset) session.

Otherwise people who keep a tab open will never be delisted.

Should only happen after at least 6-8 hours, to accommodate people who might be in the zone working on something.

Or it's shorter, but it only marks people as offline and still internally tracks the stats? In this case, an 'extended away' status could delist people entirely in client side handling as a short term solution.

jschuur commented 2 months ago

Covered by #76

jschuur commented 1 month ago

Implemented in ae41945910b0bbf813ac2cf5fc5586fb62a7df8e but could use improvements, due to how automatically reconnecting clients might reset the last connection time.