Commit Graph
12 Commits
Author SHA1 Message Date
ik 14958be302 security: externalize astro scripts and styles 2026-09-13 15:14:21 +07:00
ik 0c25cf020f refactor: unify action hierarchy 2026-09-12 10:05:49 +07:00
ik 1d403883a0 A05: Add sessionStorage error handling for unavailable storage
Bug: sessionStorage operations (getItem, setItem, removeItem) could fail
if storage is unavailable (private mode, quota exceeded, etc.), causing
form draft recovery to break.

Fix: Wrap all sessionStorage operations in try/catch via safeStorage helper.
- safeStorage.getItem() - returns null on error
- safeStorage.setItem() - silently ignores errors
- safeStorage.removeItem() - silently ignores errors

This ensures:
- Draft recovery works even if storage is partially unavailable
- Form submission doesn't crash if storage is full
- Cleanup on success doesn't crash
- File input values are not saved (already handled by FormData filter)

Verification:
- Astro build: 0 errors
- All existing A05 behavior preserved
- Error handling added for read, write, and cleanup
2026-09-10 18:10:57 +07:00
ik 9e4d7aefba A05: Restore draft on rate_limited/server_error/timeout states
- Extend draft recovery to create_error, rate_limited, server_error, timeout
- Clear draft only on success (sent/screenshot_sent)
- Focus on form-error after recovery
- Double submit protection already in place (R10)
- Astro check: 0 errors
2026-09-10 06:12:09 +07:00
ik 9ae05ef6f0 fix: S01 HTTP/SEO contract — noindex for errors, 422/503 status codes (#1788956171115) 2026-09-09 20:14:10 +07:00
ik b31042337b fix: U03 pagination + U04 form errors with retry (#1788956171115) 2026-09-09 20:08:20 +07:00
ik 494a37ce8f feat: establish public SEO foundation
CI / backend-and-migrations (push) Canceled after 0s
CI / astro-build (push) Canceled after 0s
CI / compose-e2e (push) Canceled after 0s
2026-09-07 13:29:13 +07:00
ik 9e71215bd8 feat: publish open alpha policies
CI / backend-and-migrations (push) Canceled after 0s
CI / astro-build (push) Canceled after 0s
CI / compose-e2e (push) Canceled after 0s
2026-09-07 09:29:26 +07:00
ik 62e584e8e7 feat: simplify catch report form 2026-09-07 08:51:20 +07:00
ik 121225971d feat: preserve reports when screenshot upload fails 2026-09-03 18:20:50 +07:00
ik c5242720b1 Apply reference design to Astro and add screenshot storage 2026-09-03 07:53:53 +07:00
ik 6d536d0ade Add user catch submission and moderation workflow 2026-09-02 20:33:58 +07:00