A few times in the past week, I've drafted a comment on a decklist only to have it fail with a server error. When this happens, your draft comment is not saved anywhere and you have to rewrite it.
We could either:
Save comments to the browser's localStorage and clear them when they are posted successfully. This way, when a user refreshes the page, their draft comment can be loaded and pre-populate the text field
Possibly simpler: Unhide the input box when the post fails, populated with the user's input
I may try to add this myself in a PR, but I haven't set up my dev environment locally yet.
A few times in the past week, I've drafted a comment on a decklist only to have it fail with a server error. When this happens, your draft comment is not saved anywhere and you have to rewrite it.
We could either:
I may try to add this myself in a PR, but I haven't set up my dev environment locally yet.