Skip to content

[ENHANCEMENT]: make pages perform less queries by performing more calculations in backend #1215

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

Open
1 of 2 tasks
jessevz opened this issue Mar 26, 2025 · 0 comments
Open
1 of 2 tasks
Assignees
Labels
enhancement Enhancement of existing features / Small addition

Comments

@jessevz
Copy link
Contributor

jessevz commented Mar 26, 2025

Description

Currently the task page in the new webUI will perform a lot of queries to get the chunks. It needs this in order to calculate the amount of agents and taskstatus. In order to make the frontend perform queries, the task api can add this data so that frontend doesn't need to calculate it.
Possibly this is also needed for speed which is only visible on the detail page but that depends if the data of the detail page is already loaded at that point. The same goes for agents page and possibly other pages aswell.

  • task page (amount of agents and taskstatus)
  • agent page
@jessevz jessevz added the enhancement Enhancement of existing features / Small addition label Mar 26, 2025
@jessevz jessevz self-assigned this Mar 26, 2025
@ObsidianOracle ObsidianOracle moved this to 🚧 In progress in 🐰 Sprint April '25 Mar 28, 2025
@jessevz jessevz changed the title [ENHANCEMENT]: make task page perform less queries [ENHANCEMENT]: make pages perform less queries by performing more calculations in backend Mar 31, 2025
@ObsidianOracle ObsidianOracle moved this to 🚧 In progress in 🌼 Sprint May '25 Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing features / Small addition
Projects
Status: 🚧 In progress
Status: No status
Status: 🚧 In progress
Status: No status
Development

No branches or pull requests

1 participant