Fix month-browsable expense history

This commit is contained in:
2026-03-23 22:53:14 -04:00
parent d2c230b4f9
commit c852ad0d80
3 changed files with 62 additions and 15 deletions

View File

@@ -18,6 +18,13 @@ The system SHALL allow the user to list recorded expenses and delete a specific
- **WHEN** the user requests expenses for the app
- **THEN** the system returns stored expenses in a stable order with their recorded fields
### Requirement: User can browse expense history by month
The system SHALL allow the user to select a `YYYY-MM` month when reviewing expense history and SHALL return the expenses recorded for that month.
#### Scenario: Prior month entries are visible
- **WHEN** the user selects February 2026 in the add-expense history view
- **THEN** the system shows the expenses recorded in February 2026 and exposes delete actions for deletable entries in that month
#### Scenario: Expense is deleted
- **WHEN** the user deletes an existing expense
- **THEN** the system removes that expense and it no longer appears in future listings or aggregates