style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125 insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc (singleQuote:true, semi:true, tabWidth:2, trailingComma:all, printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
phase: 06-ux-polish
|
||||
plan: "06"
|
||||
plan: '06'
|
||||
subsystem: pwa/event-form
|
||||
tags: [event-form, recurrence, all-day, d-04, d-06, d-08, 999.6]
|
||||
dependency_graph:
|
||||
@@ -33,7 +33,7 @@ decisions:
|
||||
- Event create via real form not exercised: the dev-bypass user (id 1) has no CalDAV credential/calendars — those belong to user 2; server logic + form UI verified via route-mocks and direct DB occurrence inserts (dev-seed gap, not a code defect)
|
||||
metrics:
|
||||
duration_minutes: 45
|
||||
completed_date: "2026-06-10"
|
||||
completed_date: '2026-06-10'
|
||||
tasks_completed: 4
|
||||
files_changed: 5
|
||||
---
|
||||
@@ -44,15 +44,15 @@ metrics:
|
||||
|
||||
## Tasks Completed
|
||||
|
||||
| Task | Name | Commit | Files |
|
||||
|------|------|--------|-------|
|
||||
| 1 | End-tracking wiring + recurrence-bound control in EventForm | `9aa15c4` (RED), `cbf5f98` (GREEN) | EventForm.tsx, EventForm.test.tsx |
|
||||
| 2 | Series-edit confirmation prompt, gated on hasRrule | `96ef0b4` | SeriesEditPrompt.tsx, EventForm.tsx |
|
||||
| 3 | All-day visual distinction — Schedule-X override | `883b00b` | index.css |
|
||||
| 4 (checkpoint) | playwright-cli — all six event-form behaviors | (verification only) | — |
|
||||
| Follow-up fix | Target real Schedule-X all-day class for filled pills | `6dbb166` | index.css |
|
||||
| Follow-up fix | Remap primary-family container var for fallback all-day solid | `5620261` | index.css |
|
||||
| Integration fix | Set hasRrule on EventDetailPopover test fixtures | `69e5ae8` | EventDetailPopover.test.tsx |
|
||||
| Task | Name | Commit | Files |
|
||||
| --------------- | ------------------------------------------------------------- | ---------------------------------- | ----------------------------------- |
|
||||
| 1 | End-tracking wiring + recurrence-bound control in EventForm | `9aa15c4` (RED), `cbf5f98` (GREEN) | EventForm.tsx, EventForm.test.tsx |
|
||||
| 2 | Series-edit confirmation prompt, gated on hasRrule | `96ef0b4` | SeriesEditPrompt.tsx, EventForm.tsx |
|
||||
| 3 | All-day visual distinction — Schedule-X override | `883b00b` | index.css |
|
||||
| 4 (checkpoint) | playwright-cli — all six event-form behaviors | (verification only) | — |
|
||||
| Follow-up fix | Target real Schedule-X all-day class for filled pills | `6dbb166` | index.css |
|
||||
| Follow-up fix | Remap primary-family container var for fallback all-day solid | `5620261` | index.css |
|
||||
| Integration fix | Set hasRrule on EventDetailPopover test fixtures | `69e5ae8` | EventDetailPopover.test.tsx |
|
||||
|
||||
## What Was Built
|
||||
|
||||
@@ -116,6 +116,7 @@ Note: live event-create-via-the-form could not be exercised because the dev-bypa
|
||||
### Auto-fixed Issues
|
||||
|
||||
**1. [Rule 1 - Bug] Schedule-X all-day CSS targeted a non-existent class**
|
||||
|
||||
- **Found during:** Task 4 (playwright-cli checkpoint — behavior 5 initially FAILED)
|
||||
- **Issue:** The plan and UI-SPEC called for selector `.sx__all-day-event`, but Schedule-X v4.6.0 does not emit that class on the DOM. The all-day pill styling had no effect.
|
||||
- **Fix:** Replaced with the real Schedule-X v4.6.0 selectors (`.sx__date-grid-event` for week/day; `.sx__month-grid-event:not(:has(.sx__month-grid-event-time))` for month view). Also remapped `--sx-color-primary-container` CSS variable as a fallback fill so the member color propagates even when the Schedule-X theming layer sets its own container variable.
|
||||
@@ -123,6 +124,7 @@ Note: live event-create-via-the-form could not be exercised because the dev-bypa
|
||||
- **Commits:** `6dbb166`, `5620261`
|
||||
|
||||
**2. [Rule 3 - Blocking] EventDetailPopover.test.tsx fixtures missing required `hasRrule` field**
|
||||
|
||||
- **Found during:** Task 3 (test suite run)
|
||||
- **Issue:** Plan 06-05 added `hasRrule: boolean` as a required field on `CalendarOccurrence`; the existing `EventDetailPopover.test.tsx` fixtures omitted it, failing TypeScript compilation.
|
||||
- **Fix:** Added `hasRrule: false` (and `true` where the test exercises `hasRrule`-gated behavior) to all fixture objects.
|
||||
|
||||
Reference in New Issue
Block a user