Skip to content

[Syed.Atyab@Codeline.rihal.om] FEED-001: Capture First Customer Feedback in the Terminal #4

Description

@CodelineAtyab

🌟 User Story: Minimal CLI “Customer Feedback Collector”

Role Goal Benefit
Junior developer Build a minimal command-line tool that lets a coffee-kiosk teller register customers and capture their verbal feedback immediately So that comments are not forgotten and can later be reviewed by the manager

🎯 Acceptance Criteria

  1. Program Invocation

    • Start the app from the terminal
      python feedback.py
    • Only Python’s standard library is used (no external packages).
  2. Main Menu (displayed on start-up)

    1) Register new customer
    2) Add feedback for existing customer
    3) List all feedback
    4) Exit
    
  3. Register New Customer

    • Generates a UUID via Python’s built-in uuid module.
    • Displays the new UUID to the teller.
    • Stores an empty list for that UUID in an in-memory dictionary.
  4. Add Feedback

    • Prompts for an existing customer UUID and a free-text comment.
    • Appends the comment to that customer’s list without overwriting prior entries.
    • Validation:
      • If the UUID is unknown, show an informative message and return to the menu without crashing.
  5. List All Feedback

    • Prints each customer UUID followed by their comments in the order entered.
  6. Program Lifecycle

    • The loop continues until the user selects “Exit”, after which the program terminates gracefully.
  7. Git Workflow

    • All code is developed on a dedicated feature branch:
      feature/FEED-001-store-feedback
      
    • Contains at least one self-reviewed commit.
    • Opened as a Pull Request that passes linting and tests before merge.

📌 Notes & Enhancements

  • Ensure input handling is case-insensitive where appropriate.
  • Consider adding a help/usage option in future iterations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions