Skip to content

Conversation

@jessevz
Copy link
Contributor

@jessevz jessevz commented Oct 27, 2025

reliant on pull request #1716. PLease make sure that is merged first before merging this

@jessevz jessevz requested a review from Copilot October 27, 2025 15:27
Copy link
Contributor

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 migrates task status and agent count calculations from the frontend to the backend. The backend now provides status and activeAgents fields directly in the task model, eliminating the need for frontend chunk data processing and calculations.

Key Changes:

  • Added status and activeAgents fields to the JTask interface to receive backend-calculated values
  • Removed frontend chunk data fetching and processing logic from the tasks datasource
  • Simplified task table rendering by using backend-provided values instead of calculating from chunk data

Reviewed Changes

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

File Description
src/app/core/_models/task.model.ts Added activeAgents and status fields to JTask interface
src/app/core/_datasources/tasks.datasource.ts Removed chunk data fetching logic and related imports
src/app/core/_components/tables/tasks-table/tasks-table.component.ts Replaced calculated status/agent values with backend-provided fields and removed helper methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jessevz jessevz marked this pull request as draft October 27, 2025 15:28
@gluafamichl gluafamichl marked this pull request as ready for review October 29, 2025 16:45
@gluafamichl gluafamichl self-requested a review October 29, 2025 16:46
@gluafamichl gluafamichl merged commit f922dde into master Oct 29, 2025
2 of 3 checks passed
@gluafamichl gluafamichl deleted the status-backend branch October 29, 2025 16:47
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