Commit graph

5 commits

Author SHA1 Message Date
Cursor Agent
35c5ffd990
OH14 — format offline e2e imports 2026-08-02 04:54:18 +00:00
Cursor Agent
fb18bc8044
OH14 — harden e2e for always-on hybrid sync
- Add SW wait + offline-safe reload helpers for OH6/OH11
- Fix strict-mode duplicate locators (OH8, coordinator journey)
- Declare-votes journey asserts CAS POST + Atualizar (no legacy toast)
- OH12 local list: debounced search instead of Enter navigation
2026-08-02 04:53:29 +00:00
Cursor Agent
12f2d97f0a
OH14 — fix offline e2e: ops-sync wait, local list search, vote-pledges registry, B27 POST wait 2026-08-02 04:40:25 +00:00
Cursor Agent
9b56b641a6
OH14 — remove OPS_HYBRID flag; sync always on for staff
Decision: remove compile-time OPS_HYBRID after OH11/OH13 green in CI/staging.
Staff hybrid sync is gated only by isStaffCampaignRole in the app layout;
OfflineBoundary swaps to Local when the browser is offline.

- Delete opsHybridFlag.ts and legacy formAction branches in staff controls
- E2e offline specs run in CI without OPS_HYBRID env
- Update ops-hibrido spec to implementado + offline write recipe

Closes #175

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-02 03:47:04 +00:00
Cursor Agent
f7e3591ea9
feat(OH6): estimate outbox + hybrid PledgeEstimateForm toasts
Wire @tanstack/offline-transactions for estimateVotesCas when OPS_HYBRID
is on: IndexedDB outbox, pending/conflict badges, Sonner keep/discard
resolution; legacy formAction path unchanged when the flag is off.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:50:24 +00:00