Store quote documents as backend records #10

Open
opened 2026-07-17 01:17:55 +00:00 by claude-bot · 1 comment
Contributor

The single item left under Missing > Quote Management in docs/implementation-audit.md.

Quotes and their field-level edit history currently live only in local React state and the app-state JSON snapshot. The audit notes: quote history is still local-state history. It uses the authenticated display name when available, but quote documents are not yet stored as backend records.

Consequences today: quote history is not queryable, is not truly shared between users of the same home, and is only as durable as the app-state blob.

Relates to Milestone 12's normalization goal - Normalize quote/system configuration storage enough that critical shared data is queryable without unpacking the current app-state JSON snapshot - which was checked off without quotes specifically being normalized.

Code: src/lib/quotes.js, src/components/QuotesTab.jsx, backend/src/repository.pg.js

The single item left under `Missing > Quote Management` in `docs/implementation-audit.md`. Quotes and their field-level edit history currently live only in local React state and the app-state JSON snapshot. The audit notes: *quote history is still local-state history. It uses the authenticated display name when available, but quote documents are not yet stored as backend records.* Consequences today: quote history is not queryable, is not truly shared between users of the same home, and is only as durable as the app-state blob. Relates to Milestone 12's normalization goal - *Normalize quote/system configuration storage enough that critical shared data is queryable without unpacking the current app-state JSON snapshot* - which was checked off without quotes specifically being normalized. Code: `src/lib/quotes.js`, `src/components/QuotesTab.jsx`, `backend/src/repository.pg.js`
Author
Contributor

Pointer (2026-07-17): Open Question #18 is decided and closed — when this issue's normalization work starts, normalize quote comparison results and projection summaries into queryable tables; everything read-whole stays in the versioned JSON output blob. See the closing comment on #18 for the rationale.

**Pointer (2026-07-17):** Open Question #18 is decided and closed — when this issue's normalization work starts, normalize **quote comparison results and projection summaries** into queryable tables; everything read-whole stays in the versioned JSON output blob. See the closing comment on #18 for the rationale.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/BatteryStorageCalculator#10
No description provided.