Skip to content

Scenario 8: Searching for and Proposing a New Food Item

yusuf anil yazici edited this page Mar 18, 2025 · 2 revisions

Requirement Scenario: Searching for and Proposing a Food Item in the Affordable & Healthy Eating Hub

Actor

User Type: Regular User
Name: Arda (Health-conscious individual looking for affordable, nutritious food)

User Persona

  • Name: Arda
  • Situation: Arda is a university student who wants to maintain a healthy diet while staying within a limited budget. He is interested in tracking the nutritional content of foods and exploring new food options that fit his dietary preferences.
  • Goal: Find a nutritious food item in the database and, if missing, propose a new one with detailed nutritional values.

Preconditions

  1. The system contains at least 500 food items with nutritional details. (Requirement 1.1.1)
  2. Arda can search for food items using their exact name or sort results based on a macronutrient value such as protein, carbohydrates, or fat. (Requirement 1.1.2.1)
  3. The system provides a calculated nutrition score for each food item. (Requirement 1.1.3)
  4. Arda can submit a new food item if it is missing from the database, including mandatory macronutrient details and optional micronutrient data. (Requirements 1.1.2.1 & 1.1.2.2)
  5. Moderators can review and approve or reject new food item submissions. (Requirement 1.8.2)

Main Flow

  1. Arda searches for "Quinoa" in the food database. (Requirement 1.1.2.1)
  2. The system displays the exact match for Quinoa, including its nutritional values:
    • Calories: 120 kcal per 100g
    • Carbohydrates: 21g
    • Protein: 4g
    • Fat: 1.9g
    • Nutrition Score: 8.5/10 (Requirement 1.1.3)
  3. Arda sorts the search results by protein content to compare quinoa with other high-protein options. (Requirement 1.1.2.1)
  4. Arda does not find "Teff" (a nutrient-dense grain) in the database and decides to propose it as a new food item. (Requirement 1.1.2.1)
  5. Arda submits the mandatory nutritional details for Teff:
    • Calories: 101 kcal per 100g
    • Carbohydrates: 20g
    • Protein: 3.9g
    • Fat: 0.6g
      (Requirement 1.1.2.1)
  6. Arda optionally adds micronutrient data, including Iron (2.3mg per 100g) and Calcium (11mg per 100g). (Requirement 1.1.2.2)
  7. The system calculates a nutrition score for Teff. (Requirement 1.1.3)
  8. The new food item submission is marked as “Pending Review.” (Requirement 1.8.2)
  9. A Moderator reviews the Teff submission, verifies the nutritional data, and approves the addition to the database. (Requirement 1.8.2)
  10. Arda receives a notification that Teff is now available in the database.

Outcome

  • Arda successfully finds quinoa and compares it to other protein-rich foods.
  • Arda proposes Teff, which is approved and added to the database, expanding the available healthy food choices.

Mockups

use-case-8-quinoa-search

use-case-8-teff-proposal

use-case-8-approval-notification

Clone this wiki locally