Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Desktop/Web] Go back to previously selected note when cancelling search #532

Open
christianhans opened this issue Apr 28, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@christianhans
Copy link

commented Apr 28, 2019

Sometimes, when writing a specific note I want to look up or copy information stored in another note.

  1. Since I don't know where exactly the note is located I search for it using the SN search box
  2. Search finds and opens the other note, and I copy text for example
  3. I want to go back to my previous note and hit the X icon next to the search box
  4. SN stays on the note that I searched for and where I copied the text (not the previously edited note)
  5. I have to manually go back to my previously edited note (which is the very top one in case I didn't modify the searched note)

When cancelling search, I think it would be a lot better user experience if StandardNotes restored the "state" and opened the note that has been selected before search was triggered. This would also entail placing the cursor where it has been before. Apple Notes opens the previously active note when cancelling search (but doesn't restore cursor position).

@mobitar

This comment has been minimized.

Copy link
Member

commented Apr 28, 2019

Hmm..I can see how this can be useful. But also I wonder if some people might prefer to keep the searched for note as active when cancelling. Can you document how other popular note-taking apps handle this? I tested Apple Notes using their web app at icloud.com, and they handle it perhaps even worse: when you press X, it goes back to the first note in the list.

@christianhans

This comment has been minimized.

@mobitar

This comment has been minimized.

Copy link
Member

commented Apr 29, 2019

Well, you only had 1 note in the list there ;) So it's hard to gauge its behavior. Trying having 4-5 notes in the list, select the 3rd one, search, cancel, and it will most likely go back and select the first note in the list rather than the 3rd.

@christianhans

This comment has been minimized.

Copy link
Author

commented May 18, 2019

I think it will select the 3rd one even in that case. See video:

https://www.dropbox.com/s/uqxx118ruiw69t8/Screen%20Recording%202019-05-17%20at%2020.28.48.mov?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.