1
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Waiting to run
Docker Build & Deploy / Deploy to Production (push) Has been cancelled
Docker Build & Deploy / Cleanup Dangling Images (push) Has been cancelled
Docker Build & Deploy / WeChat Notification (push) Has been cancelled

This commit is contained in:
SunCheng
2026-02-18 21:16:45 +08:00
parent 77c9b47246
commit c49f66757e
116 changed files with 6909 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
## ADDED Requirements
### Requirement: Line chart date range truncation
The line chart SHALL display data only up to the current date, not the full natural period.
#### Scenario: Monthly view shows data to current day
- **GIVEN** today is the 15th of the month
- **WHEN** the user views the monthly statistics chart
- **THEN** the chart SHALL display data from the 1st to the 15th only
- **AND** the X-axis SHALL NOT show dates beyond the current day
#### Scenario: Weekly view shows data to current day
- **GIVEN** today is Wednesday
- **WHEN** the user views the weekly statistics chart
- **THEN** the chart SHALL display data from Monday to Wednesday only
- **AND** no flat line segments SHALL appear for future dates
#### Scenario: Yearly view shows data to current month
- **GIVEN** today is in June
- **WHEN** the user views the yearly statistics chart
- **THEN** the chart SHALL display data from January to June only