Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Enable drag & drop sorting of ingredients in recipe/dish editor #132

Open
4 tasks
dboehmer opened this issue Dec 17, 2020 · 1 comment
Open
4 tasks

Enable drag & drop sorting of ingredients in recipe/dish editor #132

dboehmer opened this issue Dec 17, 2020 · 1 comment
Assignees

Comments

@dboehmer
Copy link
Owner

dboehmer commented Dec 17, 2020

  • generic template in templates/includes/
  • Sorting is secondary. Clients without JS don’t need to be supported.
  • remove the current sort buttons
  • create JS API for updating ingredients
  • Bootstrap UI element for dragging
  • JS client code for sending update requests
@dboehmer
Copy link
Owner Author

Bonus:

  • remove column preparation, split sortable list into 2 sections (each section must exist even if no ingredient is attached to it), set preparation boolean column accordingly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants