Skip to content

Upload recipes from client to firebase #31

@ascibisz

Description

@ascibisz

Use Case

Our eventual goal is for each recipe to behave like a form in the UI, where some fields are editable and some are not. As a first step to building this feature, we need to be able to upload new or changed recipes from the client UI to the firebase DB.

Acceptance Criteria

  • Make the text box where the recipe is displayed editable.
  • When the user hits submit, upload the recipe to firebase if it's been changed. This will be a new, unique firebase path. Follow the pattern established in the cellpack upload function, ie only upload unique parts and use references when applicable
  • Send the new firebase recipe path to packing endpoint to pack, as normal
  • Edited recipe should persist on the screen until a new recipe is selected from drop down. New recipe name should not show up, only the original example recipes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions