CTFd / CTFd/CTFd

[feat request] reorder challenges/categories

Open
#1,499 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.8k
Forks
2.8k
Avg merge
1d 6h
Merged PRs (30d)
5

Description

hope we can have a page where we can reorder the challenges and categories by dragging them around
see http://sortablejs.github.io/Sortable/

my first thought was that we can add a new column "priority" to the challenges table, and dragging challenges on the frontend changes that value in the submitted form.

Contributor guide

Open the contributing guide

Research direction

Review the frontend entry points for challenge and category management, the challenges table, and the submitted form handling; the issue names no files or tests. Compare the requested drag-and-drop behavior with SortableJS, then trace how ordering is persisted; done means both challenges and categories can be reordered and the order survives submission.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, javascript, python
Domain
database, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.