BinaryStudioAcademy / bsa-2024-gitfit

Application for collecting and analyzing developers activity on git based projects.
https://git-fit.net/
0 stars 0 forks source link

feat: Add analytics last sync time to project details page #502

Open liza-veis opened 4 hours ago

liza-veis commented 4 hours ago

What feature?

Screenshots

Image

AnutkaGn commented 2 hours ago

I want to ask clarifying questions to make sure I understand correctly.

  1. I need to create an endpoint on the backend in order to get the user by whom analytics was uploaded (the created_by_user_id, date field should be taken from the log activity table)
  2. There is a reload button on the frontend, as I understood when clicking on this button we make a request to the backend to receive the latest information (when and who updated)
liza-veis commented 1 hour ago
  1. I need to create an endpoint on the backend in order to get the user by whom analytics was uploaded (the created_by_user_id, date field should be taken from the log activity table)

you can return this with project details.

  1. There is a reload button on the frontend, as I understood when clicking on this button we make a request to the backend to receive the latest information (when and who updated)

it's not a reload button, it's just an icon to show that this is synchronization status.

Also forgot to mention this in the ticket, with hiding Setup Analytics button we also need to display Setup Again button which will do the same as Setup Analytics button, and should only be available with the same permissions needed for Setup Analytics button