Skip to content

Conversation

@jessevz
Copy link
Contributor

@jessevz jessevz commented Sep 2, 2025

create a helper endpoint that does expensive calculation so that the frontend doesnt have to do these calculations

@jessevz jessevz requested review from Copilot and s3inlc September 9, 2025 08:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new helper endpoint for performing expensive task calculations on the backend rather than the frontend. The endpoint provides computed metrics for tasks including estimated completion time, time spent, and current processing speed.

Key changes:

  • Created a new TaskExtraDetailsHelper API endpoint that calculates task progress metrics
  • Added the new helper route to the API index to register the endpoint

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/inc/apiv2/helper/taskExtraDetails.routes.php New helper endpoint that computes task progress metrics including estimated time, time spent, and current speed
src/api/v2/index.php Registers the new taskExtraDetails helper route

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@s3inlc s3inlc merged commit d68b703 into dev Sep 12, 2025
2 checks passed
@s3inlc s3inlc deleted the helper-edit-tasks branch September 12, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants