Skip to content
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

Drag and drop lesson reordering in the metabox on edit course screen. #59

Open
kimcoleman opened this issue Aug 20, 2023 · 0 comments · May be fixed by #70
Open

Drag and drop lesson reordering in the metabox on edit course screen. #59

kimcoleman opened this issue Aug 20, 2023 · 0 comments · May be fixed by #70

Comments

@kimcoleman
Copy link
Member

Is your feature request related to a problem? Please describe.
Reordering course lessons is a challenge. There has to be a nicer way people can do this over the numerical method we have now.

Describe the solution you'd like
Let's add drag and drop lesson reordering in the metabox or some other course organizer screen.

Describe alternatives you've considered
An alternative is do nothing and keep it as is.

Additional context
See also my issue #58 for course sections which could have implications here if you are reordering sections + lessons + moving things between sections.

MaximilianoRicoTabo added a commit to MaximilianoRicoTabo/pmpro-courses that referenced this issue Jun 9, 2024
…trangerstudios#59

 * Add jQuery UI dependency to support drag and drop
 * Make Course lessons table rows draggable by calling sortable function from
 * Update Course lesson order via AJAX on stop sortable event callback
 * Remove Order field
 * Get Order from UI when add a new lesson to the course
 * Add server side AJAX endpoint to update Course order
 * Add better JSON response to show proper notifications to users on AJAX callbacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant