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

Support chapter reordering #6

Open
4 tasks
ob-ivan opened this issue May 27, 2020 · 0 comments
Open
4 tasks

Support chapter reordering #6

ob-ivan opened this issue May 27, 2020 · 0 comments

Comments

@ob-ivan
Copy link
Owner

ob-ivan commented May 27, 2020

  • Add the "order" field: float not-null unique.
  • When creating a chapter, populate the "order" field with max(order) + 1.
  • Sort the chapters in "Recent chapters" and "My chapters" by "order" desc.
  • Add a primitive control over the "order" to the user. (e.g. buttons "Move up" and "Move down" in the "My chapters" list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant