-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BE] Add new field LastVisit field in https://brainup.fun/admin/users response #2406
Comments
@ElenaSpb I'm planning to capture the Last visit in FirebaseTokenAuthenticationFilter.kt after authentication. So the last visit is updated each time request for a user is received. Do you see any issues with this approach or another better solution? |
May I continue from where @chackomathew left off and complete the task? |
Hi @naXa777 sure, go on! |
…t visit time was right now
I opened new PR #2527 with a solution (back-end part). Please review. I don't understand this part of the task:
There was no Last Visit field before, or maybe it was removed recently, IDK. @ElenaSpb, please clarify. |
* 2406: add last visit field and set it when user logs in * #2406 set `lastVisit` null by default; do not assume that last visit time was right now * #2406 expose `lastVisit` field in `UserAccountDto` * #2406 update lastVisit time for current user * #2406 rename migration script * #2406 set `lastVisit` as the registration date in case if it's unknown * #2406 fix errors in tests * #2406 move current value from 'Last visit' to 'Last study activity' field --------- Co-authored-by: Chacko Mathew <[email protected]> Co-authored-by: Elena Moshnikova <[email protected]>
Thank you for contribution! |
[BE] AddLast visit field in https://brainup.fun/admin/users response that will be about last visit to our site.
not about last done exercises as it is now. current value from Last Visit move to field Last study activity
The text was updated successfully, but these errors were encountered: