Automattic / Automattic/simplenote-android
Bug? Editing a note dismisses the search
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 318
- Avg merge
- 15h 23m
- Merged PRs (30d)
- 5
Description
Not 100% sure if this is expected so I'll open it anyway for discussion. Web/Electron allows you to edit the note without clearing an active search. iOS behaves the same as Android (editing a note dismisses the search).
### Expected
Editing a note should not remove search highlights.
### Observed
Editing a note clears the active search.
### Reproduced
1. Go to a note from search
2. Observe that matches are highlighted and the search results bar shows
3. Edit the text in the note (doesn't matter if it's matching text or not)
4. Observe that the search has been cleared
Device: Google Pixel 2, Android 10.0.0 (emulated via Android Studio)
Contributor guide
Research direction
Reproduce the issue in the Android app using the listed steps on an Android Studio emulator, starting from a note opened through search. Confirm that editing any text clears the search bar and highlights; done means the active search and its highlights remain after editing, matching Web/Electron behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100