59 lines
1.8 KiB
Markdown
59 lines
1.8 KiB
Markdown
# 037 - Home without Box
|
|||
|
|
|
||
|
|
## User Story
|
||
|
|
|
||
|
|
As the operator, I want the Home widgets to stand directly on the sky, so
|
||
|
|
that the page shows the widgets and no box around them.
|
||
|
|
|
||
|
|
## Decisions (operator-confirmed 2026-11-25; do not re-litigate)
|
||
|
|
|
||
|
|
1. **No outer box**: on Home the main container draws no background, border,
|
||
|
|
shadow or frame padding; the widgets sit on the page background with the
|
||
|
|
grid's gap between them.
|
||
|
|
2. **Other screens keep their box.**
|
||
|
|
3. **Empty state**: "Nothing pinned yet" stays readable as a card of its
|
||
|
|
own.
|
||
|
|
4. **Timing**: as 032.
|
||
|
|
|
||
|
|
## Approach
|
||
|
|
|
||
|
|
```mermaid
|
||
|
|
flowchart TD
|
||
|
|
subgraph P["🧭 0 · Preparation"]
|
||
|
|
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
|
||
|
|
P2 -- "✏️ corrections" --> P1
|
||
|
|
end
|
||
|
|
P2 -- "🤖 yes" --> A1
|
||
|
|
subgraph A["🏠 A · Home"]
|
||
|
|
A1["🧩 Main container without box on Home"] --> A2["✍️ E2E test written"]
|
||
|
|
end
|
||
|
|
A2 --> C1
|
||
|
|
subgraph C["🧪 C · All of 032 to 038"]
|
||
|
|
C1["🧪 All tests once"] --> C2{"🟢 Green?"}
|
||
|
|
C2 -- "🔴 no: fix" --> C1
|
||
|
|
C2 -- "🟢 yes" --> CF{"💬 Operator feedback on screenshots?"}
|
||
|
|
CF -- "✏️ changes" --> A1
|
||
|
|
end
|
||
|
|
CF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
|
||
|
|
```
|
||
|
|
|
||
|
|
## Acceptance Criteria
|
||
|
|
|
||
|
|
### Home
|
||
|
|
|
||
|
|
- [ ] On Home the main container's computed background is transparent and
|
||
|
|
it has no border and no box-shadow.
|
||
|
|
- [ ] The widgets' left edge lines up with the navigation bar's left content
|
||
|
|
edge (within 2 px).
|
||
|
|
- [ ] With no pins the empty state shows on its own card.
|
||
|
|
|
||
|
|
### Other screens
|
||
|
|
|
||
|
|
- [ ] The stream screen's box keeps its background, border and shadow.
|
||
|
|
|
||
|
|
### Tests
|
||
|
|
|
||
|
|
- [ ] Unit: n/a: layout only.
|
||
|
|
- [ ] Integration: n/a: no server change.
|
||
|
|
- [ ] E2E: Home with pins, Home empty and the stream at 1920, 1366 and 390;
|
||
|
|
screenshots.
|