Automattic / Automattic/simplenote-electron

Note list: Alphabetical sorting should discard "hidden" Markdown characters

Open
#2,372 5 comments 1 reaction 0 assignees View on GitHub
[feature] note list bug NewMember
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

If you have Markdown notes that start with a header, e.g. `# 3`, it will sort to the top of the notes list due to the initial character, even though we strip that out for display.

This is also an issue in iOS at least, maybe everywhere: https://github.com/Automattic/simplenote-ios/issues/340

Screen Shot 2020-09-29 at 10 13 28 PM

Contributor guide

Open the contributing guide

Research direction

Start by tracing the note-list alphabetical sorting and the Markdown display-stripping behavior, then reproduce the issue with a note beginning `# 3`. Done means notes sort according to their displayed text rather than hidden Markdown characters; the issue provides no file or test names, so locate the relevant entry point and tests first.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.