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

Handle case when Plot has no crops #49

Closed
alexgleason opened this issue Dec 6, 2017 · 2 comments
Closed

Handle case when Plot has no crops #49

alexgleason opened this issue Dec 6, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@alexgleason
Copy link
Contributor

If a plot has no crops an order cannot be placed.

I'm wondering if we need to rethink how crops work, per #46

@marykatefain
Copy link
Contributor

marykatefain commented Jan 25, 2018

I feel like this is actually nearly under control now. The user has 3 things they can do at this point:

  1. Toggle the "harvest everything" button
  2. Click the "add crops" button and fill in their plot before returning to creating an order
  3. Leave crops blank, but include a comment detailing their request

Any of these should give the picker the info they need. 1 and 2 currently work, but 3 returns an error to select the crops. I think we need to just allow them to submit an order with no crops at this point.

screenshot from 2018-01-25 17 53 24

@alexgleason
Copy link
Contributor Author

You're right. We'll just need to ensure that the form responds reasonably depending on what the user inputs before hitting submit in #62.

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

No branches or pull requests

2 participants