chore(wolf): log the discard-draft bug
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
657a43d612
commit
ff89e9dc44
1 file changed
+11
@@ -24,6 +24,17 @@
|
|||||||
"dashboard"
|
"dashboard"
|
||||||
],
|
],
|
||||||
"date": "2026-10-13"
|
"date": "2026-10-13"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"error_message": "Discard in the composer did not discard the draft",
|
||||||
|
"root_cause": "The button was a Link to /user/mail/inbox; the autosaved draft stayed in Drafts, and a save already in flight could recreate it. Delete would also only have moved it to Trash",
|
||||||
|
"fix": "discardMessage stops autosave, calls /mail/delete with discard_draft:true (WebmailUseCase.DiscardDraft expunges from Drafts only) and cleans up an in-flight save via discardedRef. Covered by compose-draft-integrity.test.ts and TestDiscardingADraftRemovesItForGood",
|
||||||
|
"tags": [
|
||||||
|
"webmail",
|
||||||
|
"compose",
|
||||||
|
"drafts"
|
||||||
|
],
|
||||||
|
"date": "2026-10-22"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user