-
Notifications
You must be signed in to change notification settings - Fork 2
Solving all High-Priority issues #14
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
base: develop
Are you sure you want to change the base?
Conversation
Hey Naveen, please use the closes format for linking issues: https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue |
Hey, I just went through your PR and the changes look good overall. Also, could you explain how the progress endpoints are working? Would be helpful to understand the flow. Can you also tag all the issues being solved by this PR too. Tip: It’s always better to have different PRs for different issues |
The latest commit should solve the issues in all the endpoints except |
Alright, I'll be ignoring /start-taskWe get the task and mentee using /pause-taskWe verify mentor-mentee using /pause-endMuch like |
|
Addresses Issue
How Issues Were Solved
pause_start
andtotal_paused_time
, every time a pause starts, it's stored inpause_start
and then when pause stops, the paused time is added tototal_paused_time
crud.find_time_taken_per_task
(which doessubmitted_at - start_date - total_paused_time
ornow - start_date - total_paused_date
if the task hasn't been submitted yet) to calculate the no of days spent on a particular task by certain mentee/{track_id}/tasks
along side all the other task details