Can’t this be factored into the Energy point as a feature in such a way that Management can know the staff/user that works/login and possibly the number hours per day he put in.So at glance you can see all the users that login and how long.
Activity log shows logins and logouts but not times (or more importantly dates) unless you open each record. It is also so crowded with entries it would take you an hour of manually opening records to see who was logged in if you have 25 or more users.
Would hate to make my managers use this though. They are so used to the chat function, they would probably run the report and leave the results on their screen thinking it will update automatically all day like the chat did. Then I would hear a bunch of complaints that people were logged out but still listed on the screen.
Most of the managers have 2 (or more) screens at their desk and they would keep chat open on it’s own screen for conversations and a quick glance to see who is logged in.
You have raised a very valid question. With chat being disabled, there is no alternative to see the users (activity log is impractical for heavy usage). I wonder how none else has raised this. Also added functionality in the GUI itself to terminate user’s sessions would be a bonus.
Did you find any solution for this? How are you managing it now?
I think @moe01325 had the right idea: create a new Report based on 'tabSessions'. I don’t know the inner workings of the login system. But I’m assuming () that a background task is periodically updating Sessions. So that when each user’s login token expires, the Session status is updated…?
As for making the report refresh automatically every few seconds? There are browser extensions that can do that, such as this one.
(I do not personally use this; please don’t misinterpret as an endorsement)
Without a browser extension, web pages themselves can be taught to auto-refresh with some JS code. But now you’re talking about more than a Frappe framework report. You’d have to develop this Page from scratch, and have it read from 'tabSessions'.