feat: frictionless incident capture #13

Merged
pyr0ball merged 11 commits from feat/frictionless-capture into main 2026-05-11 09:53:25 -07:00
Showing only changes of commit 859ad1b228 - Show all commits

View file

@ -197,12 +197,14 @@ async function run() {
async function saveQuick() {
saving.value = true
try { await postIncident('medium', '') }
catch (e) { error.value = e instanceof Error ? e.message : 'Failed to save incident' }
finally { saving.value = false }
}
async function saveWithDetails() {
saving.value = true
try { await postIncident(detailSeverity.value, detailNotes.value) }
catch (e) { error.value = e instanceof Error ? e.message : 'Failed to save incident' }
finally { saving.value = false }
}