Automattic / Automattic/simplenote-electron
Web app: When searching for a word in an extensive note, clicking the blue match indicator doesn't take you to the word
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 588
- Avg merge
- 9h 45m
- Merged PRs (30d)
- 4
Description
### Expected
After having searched for a word in an extensive note and then clicking on the blue match indicator located on the scroll bar, I expected to be taken to that word in the note.
### Observed
In very long notes, clicking the match indicator does not take you directly to the match, resulting in needing to scroll until the word is located. As the search arrows < > are not clickable when there is only one match, this makes it difficult to locate the word.
### Reproduced
1. Create a very long note - my example was 96k+ words long (created using https://www.lipsum.com/)
2. Insert a single copy of a word into the note
3. Search for that word
4. Click the match indicator - you are taken near(ish) but not directly to the word
### Where did you see the bug
- OS: MacOS
- OS version: 11.5.1
- Browser: Chrome
- Browser version: 93.0.4577.82
- Simplenote app version: 2.19.1
and
- Browser: Safai
- Browser version: 14.1.2 (16611.3.10.1.3)
- Simplenote app version: 2.19.1
Contributor guide
Research direction
Start by reproducing the issue with a very long note containing one searched word, using the reported Chrome or Safari setup. Trace the search-result indicator and scrolling behavior; done means clicking the blue match indicator positions the note directly on the matching word, including when there is only one match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100