nextcloud / nextcloud/mail

Option to save drafts manualy

Open
#4,578 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature:drafts
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Feature Request

Have a setting to allow users to chose between automatic and manual save of drafts.

When manual save is selected, a "Save draft" button would be added to the NewMessage components.

Rationale

Currently, Mail saves a draft every few keystrokes. This is nice but can sometime be problematic: For example, I've just had the issue where I've lost the whole content of my draft after a bad manipulation: I somehow navigated away from my draft to a new, empty, draft. I then pressed the back button of my browser only to find out that the content of my draft had been deleted, probably replaced by the (empty) content of the empty draft where I'd mistakenly navigated away.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the NewMessage components and the current draft autosave path, then inspect how user settings are represented. The work is done when users can choose automatic or manual draft saving, manual mode exposes a Save draft button, and automatic saving remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.