nextcloud / nextcloud/tasks

Pressing Escape when Adding Notes to a Task should NOT Discard the Notes

Open
#2,221 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

In my opinion, pressing the escape button should function as simply exiting the notes field and keeping the content, instead of discarding the content.
It has already happened multiple times now that I've typed up a big note, just for muscle memory (probably from vim) to kick in.
Pressing ESC has already deleted many precious words that I had to type again.
I'm sure many will agree with me on this :)

Steps to reproduce
  1. Create a new Task
  2. Add Notes to it
  3. Press Escape
Expected behaviour

The notes should be saved

Actual behaviour

The notes are discarded

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 reproducing the issue in the Tasks web UI: create a task, enter notes, and press Escape. Trace the Escape handling for the notes field and verify that the entered notes remain available afterward; repeat the reported steps to confirm the corrected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.