Nitro-Backend icon indicating copy to clipboard operation
Nitro-Backend copied to clipboard

[WIP] #198 Online Status

Open appinteractive opened this issue 5 years ago • 3 comments

Save the current lastActiveAt timestamp on the user when requesting the api.

Todos

  • [ ] Write tests
  • [x] Let user decide if last date is shown to other users
  • [ ] look into queuing the timestamp updating

Related with

https://github.com/Human-Connection/Nitro-Web/pull/262

appinteractive avatar Mar 14 '19 18:03 appinteractive

To me it would also be interesting to see not only the last time active, but a visualization of activity. Maybe there is a good solution out there already?

roschaefer avatar Mar 14 '19 19:03 roschaefer

What do you mean? It’s just the timestamp of the last activity to be able to show if the user was active in the last 15 minutes, the same that is done in the current alpha. It has nothing to do with logging or audit.

But I agree that we could throttle it with a small queue for that for saving every 30 sek or something like that.

This was just the first shot to validate the idea.

And what did you mean with visualization?

appinteractive avatar Mar 14 '19 21:03 appinteractive

@roschaefer now its queued and updated in batch! should be enough for the moment.

appinteractive avatar Mar 15 '19 12:03 appinteractive