[UX] Save text in "Add description" as draft #170

Open
opened 2025-02-05 20:52:10 +09:00 by naskya · 3 comments
Owner

What type of issue is this?

  • label: Client
  • label: Bug

What happened?

i spent ten minutes writing alt text for an image before accidentally closing the modal and losing all my progress

What did you expect to happen?

ideally, the text you write for an image description should be automatically saved as the description, perhaps making the behavior of clicking on the background act as clicking "OK" instead of "Cancel". alternatively, the image description you write but don't "OK" is saved in local storage with the draft, the behavior of "Cancel" reverting the text to the point of last opening the modal, and "OK" actually setting the image description server-side.

Steps to reproduce the issue

  1. attach file to post
  2. write in the "Enter new description" textarea
  3. click outside the modal/on the background
  4. the modal closes, discarding your text

Reproduces how often

always ;—;

What did you try to solve the issue / Do you have any insights

you can constantly "OK" and reopen the modal, or select all the text and copy it to your clipboard, when writing a file description to avoid losing all the text through a misclick

Version

20240714

## What type of issue is this? * label: Client * label: Bug ## What happened? i spent ten minutes writing alt text for an image before accidentally closing the modal and losing all my progress ## What did you expect to happen? ideally, the text you write for an image description should be automatically saved as the description, perhaps making the behavior of clicking on the background act as clicking "OK" instead of "Cancel". alternatively, the image description you write but don't "OK" is saved in local storage with the draft, the behavior of "Cancel" reverting the text to the point of last opening the modal, and "OK" actually setting the image description server-side. ## Steps to reproduce the issue 1. attach file to post 2. write in the "Enter new description" textarea 3. click outside the modal/on the background 4. the modal closes, discarding your text ## Reproduces how often always ;—; ## What did you try to solve the issue / Do you have any insights you can constantly "OK" and reopen the modal, or select all the text and copy it to your clipboard, when writing a file description to avoid losing all the text through a misclick ## Version 20240714
Author
Owner

Author: naskya

This doesn’t accomplish what the issue title says, but at least 6af0aaf3ff46781ae2bf4e8dd468d653ae10a904 should prevent

i spent ten minutes writing alt text for an image before accidentally closing the modal and losing all my progress

*Author: naskya* This doesn’t accomplish what the issue title says, but at least 6af0aaf3ff46781ae2bf4e8dd468d653ae10a904 should prevent > i spent ten minutes writing alt text for an image before accidentally closing the modal and losing all my progress
Author
Owner

Author: naskya

mentioned in commit 6af0aaf3ff46781ae2bf4e8dd468d653ae10a904

*Author: naskya* mentioned in commit 6af0aaf3ff46781ae2bf4e8dd468d653ae10a904
Author
Owner

Author: sophia krusniczky

changed title from [UX] Save text in "Add description" a{-utomatically-} to [UX] Save text in "Add description" a{+s draft+}

*Author: sophia krusniczky* changed title from **[UX] Save text in "Add description" a{-utomatically-}** to **[UX] Save text in "Add description" a{+s draft+}**
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
naskya/test#170
No description provided.