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: Fixes #9919: Command palette not showing note title #9961

Merged
merged 6 commits into from
Mar 2, 2024

Conversation

pedr
Copy link
Collaborator

@pedr pedr commented Feb 19, 2024

Fixes #9919

Description

The search engine used in GoToAnything is normalizing the content of the notes to help index and search content, but in this process, the original title of the note is never preserved. I'm modifying GoToAnything aka command palette to load the original title to override the search engine result.

After fix:
Screenshot from 2024-02-19 09-32-35

Testing

1 - Create a note with a title with any special character or with upper case letters (e.g: "Uma Nota ãóç")
2 - Open the command palette and type the note title
3 - It should render the original title in the results and not a normalized version like it used (characters were "normalized", all lower case)

@pedr pedr requested a review from laurent22 February 19, 2024 12:54
@pedr
Copy link
Collaborator Author

pedr commented Feb 20, 2024

@laurent22 I made the modification that you suggested. I also added a comment explaining the behavior of SearchEngine.

@laurent22 laurent22 merged commit f0f6590 into laurent22:dev Mar 2, 2024
10 checks passed
@pedr pedr deleted the command-palette-fix-notes-title branch March 4, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command palette search normalizes item title
2 participants