Skip to content

Conversation

@frabert
Copy link

@frabert frabert commented Feb 10, 2026

Adds a button to cancel active tasks and a way to submit a task using a JSON file to populate the form fields

frabert and others added 3 commits February 10, 2026 14:03
Add CRSClient.cancel_task() method that sends DELETE requests to the
task server, and a DELETE /v1/dashboard/tasks/{task_id} endpoint in the
dashboard API that proxies the cancellation request.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add cancelTask() JS function with confirmation dialog, cancel buttons
in both the task list and task detail modal for active tasks, a
"Cancelled" option in the status filter dropdown, and a .btn-sm CSS
class for the compact list button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a "Load from JSON" button that lets users upload a challenge JSON
file to populate the task submission form fields, matching the
Challenge model schema used by the challenge.py script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@frabert frabert requested a review from hbrodin as a code owner February 10, 2026 14:08
@ret2libc
Copy link
Collaborator

Image for how it looks like now?

}
}

function handleJsonFileLoad(event) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

How will a user know the format of the json?

Copy link
Collaborator

@hbrodin hbrodin left a comment

Choose a reason for hiding this comment

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

Overall looks good! Great addition! I was mostly wondering if there is an easy way to inform the user what the json should look like. Nothing blocking.

@frabert
Copy link
Author

frabert commented Feb 10, 2026

image image image

The schema is exactly the same as used for creating custom challenges in Python, don't know what the best way to document this in an accessible way is 🤔

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