As an administrator, I want to track the last time a user launched the application by adding a lastSeen field to the MemberProfile entity, so that I can monitor user engagement and activity within the application.
Acceptance Criteria
[x] Update the MemberProfile entity to include the new lastSeen field
[x] Add a last_seen field of type timestamp to the associated table via flyway migration
[x] Modify the CurrentUserService to update the lastSeen field whenever the current user is retrieved via the /services/member-profiles/current endpoint
[x] Ensure the lastSeen field is correctly populated in the response from the MemberProfileService APIs
[x] Update the user profile page to display the lastSeen information near the user's name, title, and bio
[x] Ensure the date and time are formatted to minimize their importance on the screen, consider smaller font and perhaps italics
[ ] Write tests to ensure that the lastSeen field is updated accurately
As an administrator, I want to track the last time a user launched the application by adding a lastSeen field to the MemberProfile entity, so that I can monitor user engagement and activity within the application.
Acceptance Criteria
MemberProfile
entity to include the newlastSeen
fieldlast_seen
field of type timestamp to the associated table via flyway migrationCurrentUserService
to update thelastSeen
field whenever the current user is retrieved via the/services/member-profiles/current
endpointlastSeen
field is correctly populated in the response from the MemberProfileService APIslastSeen
field is updated accurately