usability enhancements

This commit is contained in:
2026-02-13 03:12:42 -05:00
parent bf4a40f533
commit 0e21e035f5
28 changed files with 904 additions and 15 deletions

View File

@@ -0,0 +1,20 @@
## ADDED Requirements
### Requirement: Error pages prominently display status code
The system SHALL show prominent HTTP status code display on 404 and 500 pages.
#### Scenario: 404 rendering
- **WHEN** user visits a non-existent route
- **THEN** the page prominently displays `404`
#### Scenario: 500 rendering
- **WHEN** an internal server error page is rendered
- **THEN** the page prominently displays `500`
### Requirement: Error pages include safe playful AI-style messaging
The system SHALL render an "Oh no!" style playful message that is safe and policy-compliant.
#### Scenario: Safe message selection
- **WHEN** an error page is displayed
- **THEN** a playful message is selected from a curated safe message set
- **AND** message excludes profanity and discriminatory/abusive content