UCLL-Full-stack / project2425-groep5-25

ucll-full-stack-2425-project2425-project-template created by GitHub Classroom
0 stars 0 forks source link

Back-End/ TimeBlock Start-Stop #13

Open RoelCrabbe opened 1 week ago

RoelCrabbe commented 1 week ago

To enable starting and stopping a time block, we need to provide project selection and time-tracking functionality.

How It Works

  1. Project Selection: Users can choose a project via a dropdown menu populated with their available projects. Once a project is selected, they can initiate the time block.

  2. Starting a Time Block: When the user presses "Start," the system checks for an existing workday entry for that day. If a workday doesn’t exist, a new one is created. If a workday is already open, the new time block will be attached to it.

  3. Stopping a Time Block: When the user presses "Stop," the current time block is marked as stopped, ending the time-tracking session.