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:
@@ -13,19 +13,19 @@ files_modified:
|
||||
- apps/pwa/src/store/calendarStore.ts
|
||||
must_haves:
|
||||
truths:
|
||||
- "Opening the form in edit mode populates Title/Start/End from the cached occurrence even when the form opens before the occurrence is resolved (no blank edit form)"
|
||||
- 'Opening the form in edit mode populates Title/Start/End from the cached occurrence even when the form opens before the occurrence is resolved (no blank edit form)'
|
||||
- "Editing a recurring event preselects its existing recurrence preset instead of resetting to 'none'"
|
||||
- "The edit form shows the event's original date/time consistently (no UTC-date / local-time mismatch that shifts the day), proven by a test that pins TZ so it cannot pass by coincidence on an EDT runner"
|
||||
- "Tab and Shift+Tab cycle focus within the open dialog and never reach background controls"
|
||||
- "The PWA install assets (icon-192/512, apple-touch-icon) exist so Add-to-Home-Screen installs with a real icon (PWA-01/PWA-02)"
|
||||
- 'Tab and Shift+Tab cycle focus within the open dialog and never reach background controls'
|
||||
- 'The PWA install assets (icon-192/512, apple-touch-icon) exist so Add-to-Home-Screen installs with a real icon (PWA-01/PWA-02)'
|
||||
artifacts:
|
||||
- path: apps/pwa/src/components/EventForm.tsx
|
||||
provides: "occurrence-driven reset, recurrence derivation, zone-consistent parseDateTime, real focus trap"
|
||||
provides: 'occurrence-driven reset, recurrence derivation, zone-consistent parseDateTime, real focus trap'
|
||||
key_links:
|
||||
- from: "EventForm reset effect"
|
||||
to: "occurrence from TanStack cache"
|
||||
via: "occurrence (or occurrence?.uid) in effect deps"
|
||||
pattern: "occurrence"
|
||||
- from: 'EventForm reset effect'
|
||||
to: 'occurrence from TanStack cache'
|
||||
via: 'occurrence (or occurrence?.uid) in effect deps'
|
||||
pattern: 'occurrence'
|
||||
---
|
||||
|
||||
<objective>
|
||||
@@ -103,6 +103,7 @@ a zone-consistent `parseDateTime`, and a real Tab/Shift+Tab focus-cycle handler.
|
||||
default times at the call sites. Do not duplicate the helper — there must be exactly one `todayIso`.
|
||||
|
||||
Commit RED then GREEN.
|
||||
|
||||
</action>
|
||||
<verify>
|
||||
<automated>cd apps/pwa && npx vitest run src/components/EventForm.test.tsx</automated>
|
||||
@@ -144,6 +145,7 @@ a zone-consistent `parseDateTime`, and a real Tab/Shift+Tab focus-cycle handler.
|
||||
exist so the Add-to-Home-Screen flow installs with a real icon. No code change required if assets present.
|
||||
|
||||
Commit RED then GREEN.
|
||||
|
||||
</action>
|
||||
<verify>
|
||||
<automated>cd apps/pwa && npx vitest run src/components/EventForm.test.tsx</automated>
|
||||
|
||||
Reference in New Issue
Block a user