Repository navigation
UI Design
HarperCC101 edited this page Mar 27, 2025
·
2 revisions
-
Main Menu:
- The user is presented with the following options:
- "Add Expense"
- "View Remaining Budget"
- "Set Spending Limits"
- "Exit"
- The user is presented with the following options:
-
Add Expense (UC1):
- If the user selects "Add Expense":
- The user is shown a list of available categories ("Groceries," "Entertainment," etc.).
- The user is prompted to select a category.
- The user is prompted to enter the expense amount.
- The system creates a new transaction record and updates the corresponding category's spent amount.
- A confirmation message "Expense added." is displayed.
- If the category's spending limit is approaching or exceeded, a warning message is displayed.
- The user is returned to the main menu.
- If the user selects "Add Expense":
-
View Remaining Budget (UC2):
- If the user selects "View Remaining Budget":
- The system displays the budget status for each category.
- For each category, the display includes:
- Category name
- Remaining budget
- A visual representation of the remaining budget (a progress bar).
- If any category's spending limit is approaching or exceeded, a warning message is displayed.
- The user is returned to the main menu.
- If the user selects "View Remaining Budget":
-
Set Spending Limits (UC3):
- If the user selects "Set Spending Limits":
- The user is shown a list of available categories.
- The user is prompted to select a category.
- The user is prompted to enter a new spending limit for the selected category.
- The system updates the category's spending limit.
- A confirmation message "Spending limit updated." is displayed.
- The user is returned to the main menu.
- If the user selects "Set Spending Limits":
-
Exit:
- If the user selects "Exit":
- The application terminates.
- If the user selects "Exit":