Closed liza-veis closed 1 month ago
User Story: As a user, I want to see the relative date of the last commit for each project in the project list. So that I can quickly understand how recently a project was updated. The color indicators help quickly identify how actively the project is being updated.
Acceptance Criteria:
ProjectGetAllWithActivityResponseDto
or model ProjectActivityModel
for this "last activity" label? Or should I just modify ProjectGetAllItemResponseDto
by adding lastActivityDate
projects/libs/helpers/get-relative-date-label.tsx
Green: last activity was less than 2 days ago. Yellow: last activity was between 2 and 5 days ago. Red: last activity was 5 or more days ago.
Should I create a new type ProjectGetAllWithActivityResponseDto or model ProjectActivityModel for this "last activity" >label? Or should I just modify ProjectGetAllItemResponseDto by adding lastActivityDate This is a helper - projects/libs/helpers/get-relative-date-label.tsx
Let's add last_activity_date column to the projects table, null by default. And we need to update it when we successfully create activity logs for this project
Seems to be good! Thank you
What feature?
Updated today
.Screenshots