Small bug that might confuse users: the new draft shows up where I wrote it, only after I reload the page.
Repro:
On post page write comment replying to another comment
“Save As Draft”
Observation: draft does not show up under the parent comment
Reload page
Observation: draft does show up under the parent comment
Expectation: at 3., the draft should appear under the parent comment
If I had to hazard a guess, I would suspect what the codebase calls “a terrible hack” is at fault.
If I were to venture further, I would guess getDraftSelector implies the default is include-my-draft-replies, while line 343 of the terrible hack implicitly assumes drafts are excluded by default.
Small bug that might confuse users: the new draft shows up where I wrote it, only after I reload the page.
Repro:
On post page write comment replying to another comment
“Save As Draft”
Observation: draft does not show up under the parent comment
Reload page
Observation: draft does show up under the parent comment
Expectation: at 3., the draft should appear under the parent comment
If I had to hazard a guess, I would suspect what the codebase calls “a terrible hack” is at fault. If I were to venture further, I would guess getDraftSelector implies the default is
include-my-draft-replies, while line 343 of the terrible hack implicitly assumes drafts are excluded by default.Thanks for the report, this should be fixed now.