Files
co-lite/openspec/changes/polish-e2e-followups/specs/admin-visual-design/spec.md
T

22 lines
896 B
Markdown

## ADDED Requirements
### Requirement: Phone Cards For Listings
Every listing built on the shared data table SHALL show one card per row below the `md` width instead of a table, with the row's first column as the card title, the other columns as labelled values, and the row actions at the bottom of the card. Sorting and paging SHALL stay available. A page with its own phone cards SHALL keep them.
#### Scenario: Users on a phone
- **WHEN** a super admin opens Users at 360 px
- **THEN** each user is a card with the name as title and labelled username, company, roles and status
- **AND** the page does not scroll sideways
#### Scenario: Actions on a card
- **WHEN** a user opens Events at 360 px
- **THEN** each event card has the row's actions at its bottom
#### Scenario: Wide screen unchanged
- **WHEN** a user opens Users at 1280 px
- **THEN** the listing is the table, as before