feat(site): use new task data model and endpoints (#20431)

Updates the UI to use the new API endpoints for tasks and use its new
data model.

Disclaimer: Since the base data model for tasks changed, we had to do a
quite large refactor and I'm sorry for that 🙏, but you'll notice most of
the changes are to adjust the types.

Closes coder/internal#976

---------

Co-authored-by: Bruno Quaresma <bruno_nonato_quaresma@hotmail.com>
This commit is contained in:
Mathias Fredriksson
2025-10-24 16:45:19 +03:00
committed by GitHub
parent c6e551f538
commit 51d3abb904
32 changed files with 607 additions and 659 deletions
+1
View File
@@ -240,6 +240,7 @@ func Test_TaskStatus(t *testing.T) {
"template_display_name": "",
"template_icon": "",
"workspace_id": null,
"workspace_name": "",
"workspace_status": "running",
"workspace_agent_id": null,
"workspace_agent_lifecycle": "ready",