Skip to content

add discard draft method#10192

Open
johndoh wants to merge 2 commits into
roundcube:masterfrom
johndoh:discarddraft
Open

add discard draft method#10192
johndoh wants to merge 2 commits into
roundcube:masterfrom
johndoh:discarddraft

Conversation

@johndoh

@johndoh johndoh commented May 25, 2026

Copy link
Copy Markdown
Contributor

closes #10184

Add a method to discard a saved draft, cleaning up the compose data in the session.

I put the discard button at the other end of the toolbar to prevent accident click problem if its too close to save.

Screenshot 2026-05-24 081902

@alecpl

alecpl commented May 25, 2026

Copy link
Copy Markdown
Member

I'm not sure I like this button there.

Maybe it should get integrated with a Cancel button (#6251), e.g. as a question after clicking Cancel.

With requests like #5937, maybe there's a need for some "Actions" button near by the Send button. Would make sense if there's at least two extra actions though. "Send and Archive" is a plugin feature, so it might leave the Discard alone.

@johndoh

johndoh commented May 25, 2026

Copy link
Copy Markdown
Contributor Author

Should I remove the skin change so the function can be added to the core, then people can make UI suggestions?

I wondered if may be it could go at the bottom next to the open in new window link on big screens and in the menu on small screens:

Screenshot 2026-05-25 143023 Screenshot 2026-05-25 143115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete/Cancel the draft you're currently writing/editing

2 participants