fac-15 / CABI-project

Connecting farms with information about pests!
https://cabipestalert.herokuapp.com/
1 stars 4 forks source link

User Stories #3

Open boi87 opened 5 years ago

boi87 commented 5 years ago
  1. As a user, I want to be able to choose my location Acceptance criteria:

    • [x] input field that takes a location / geolocation functionality
    • [x] filter the information dependent on the location
  2. As a user, I want to be able to choose a crop and see info about the crop-specific pests Acceptance criteria:

    • [x] filter JSON/API/database information depending on chosen crop
  3. As a user, I want to be able to choose a pest and see information about that specific pest Acceptance criteria:

    • [x] filter JSON object depending on what pest the user chooses
  4. As a user, I want to be able to visualise a summary of all the crops and pests available for my area Acceptance criteria:

    • [x] build a page that displays all information about a specific area
  5. As a user, I want to be able to input information about how many farmers have planted that season as a percentage Acceptance criteria:

    • [ ] input for None
    • [ ] 4 groups of percentages 1-25, 26-50, 51-75, 76-100
    • [ ] filter information depending on what % of farmers have planted
    • [ ] if more than None, show information about how to identify pests for that crop
    • [ ] if None, display how to identify pests which are of risk to that crop
    • [ ] if None, display option to return to selection page
  6. As a user, I want to be able to report if I have seen unexpected pest activity Acceptance criteria

    • [x] store information input by the user
    • [x] grant product owner access to user input information
    • [ ] three options: "yes", "no" and "I am not sure" (
    • [ ] if "yes", give information from the fact sheet about how to handle that pest risk
    • [ ] if "yes" or "no", give message saying, "Thank you for updating us"
    • [ ] if "no" and "I am not sure" give information from the fact sheet about how to monitor and risk level
    • [ ] if "I am not sure", take them back to the top of the page. )
  7. As a user, I want to be able to receive notifications about every update if risk levels change Acceptance criteria

    • [ ] store location info about the user
    • [x] update risk level about the API
    • [ ] send notification whenever the risk levels are updated