Automattic / Automattic/simplenote-electron

It is way too easy to delete all your notes using cmd+a, then press delete key if focus is on the list of notes

Open
#3,330 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

The native app on Mac is pretty good except for this one pretty glaring flaw that has gotten me twice now. Which is it's too easy to use cmd+a to select all and then hit the delete key and if the focus is on the list of notes, they all get deleted. for some reason I've done that twice now, 2nd time was just now.

### Expected

The expectation is that there should be some type of guard or prompt that if all the notes are selected Give a warning so that you know you're about to do something disastrous.

perhaps just have a warning anytime you hit the delete key that you have to confirm the delete

### Observed

Using the native app for Mac
press command A, selects all, hit the delete key and all your notes go away. They're in the trash folder but it's very hard to bring them back one by one.

### Reproduced

### Where did you see the bug

Using the native Mac app.

- System Make:
- System Model:
- OS:
- OS version:
- Browser (if applicable):
- Browser version (if applicable):
- Simplenote app version:

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Reproduce the issue in the native Mac app, then trace the note-list selection and delete handling. Done means selecting all notes and pressing the Delete key presents a warning or confirmation before the notes are moved to the trash.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, macos, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.