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

Ingredients and Instructions Should Reorder with Drag and Drop #1

Open
ramonaspence opened this issue May 15, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ramonaspence
Copy link
Owner

Main Issue

This is a feature I want to implement in both the creation and updating view for recipes.

The ingredients and instructions are both arrays, so this could be mouse-event handlers that on drag takes the step/ingredient out of the array, and onDrop, adds it back to the array in a new position.

The steps/ingredients may need to be stored or rendered in a different way. First, Key Value pairs (dictionary) may be better suited for writing a method to re-order the steps/ingredients.

@ramonaspence ramonaspence added the enhancement New feature or request label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant