System-level user activity/Idle status
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe. I have often the problem, that I'm away on talk but working on my pc.
Describe the solution you'd like Desktop App should capture mouse and keyboard activity to mention on user presence.
@nickvergessen What do you think?
What does currently count? Writing a message and changing the conversation? Or foreground is enough?
As an addition to my original post.
Please keep in mind that on multi-screen systems Talk App can be open on 2nd or 3rd screen while working on other screens/apps. It would be a great feature if my colleges could see if I'm working on my pc or away/idle.
What does currently count? Writing a message and changing the conversation? Or foreground is enough?
Currently you are away if you don't open/focus Talk window for some time, or it is open, but you don't interact with it.
The proposal is to check general user activity on the system level. E.g. Talk is minimized, but you are still using PC.
That what some other communication apps do (Team or Slack if I'm not mistaken).
Must be doable via one of:
- https://developer.mozilla.org/en-US/docs/Web/API/Idle_Detection_API
- https://www.electronjs.org/docs/latest/api/power-monitor#powermonitorgetsystemidletime
Fine by me
Could not validated that this feature is working. No Mouse or Keyboard action change the status to online. Neither in active Talk window or other apps on system.
Talk Desktop Version V2.0.2 Server Version 31.0.9 Talk Version 21.1.5
OS: Win 10
@fitus85 Could you check what requests to the heartbeat endpoint are being made?
Do you mean this heartbeat?format=JSON from Dev Tools?
{ "ocs": { "meta": { "status": "ok", "statuscode": 200, "message": "OK" }, "data": { "userId": "xxxx", "message": null, "messageId": null, "messageIsPredefined": false, "icon": null, "clearAt": null, "status": "online", "statusIsUserDefined": false } } }
On my Windows 11 notebook it seems also not to change by system interaction. But there it is always "online". This JSON Data is not changed over more than a half hour. But send regular.