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

Option to have hashtags as case-insensitive. #1492

Closed
jasonjac2 opened this issue Jul 22, 2024 · 3 comments · Fixed by #1497
Closed

Option to have hashtags as case-insensitive. #1492

jasonjac2 opened this issue Jul 22, 2024 · 3 comments · Fixed by #1497
Assignees
Labels
feature-request New feature or request released Available in a released installer

Comments

@jasonjac2
Copy link

Problem to Solve

Loving hashtags. But when people put them in , sometimes it is all caps, mixed, lower, and any other variation. This brings up lots of permutations in the search dialogue.

New Feature/Solution

Have a setting / option to log all hashtags as upper / lower.

Alternative Solutions

Additional Context

image

THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to
consider each one carefully but offer no guarantees that I will ultimately agree to their
usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around
then I will probably reject the request - you've been warned!

@jasonjac2
Copy link
Author

I think maybe when you select one it is case insensitive, eventhough the dropdown has all the permutations that exist, is that right?
Follow up: Is there any house keeping, i.e. when there are no more of a particular hashtag, it gets removed from the dropdown?

@stevencohn
Copy link
Owner

stevencohn commented Jul 22, 2024

Yes, whenever you remove/modify/add hashtags from a page, the scanner will notice when the page is updated, and remove/modify/add those in the database accordingly.

The drop-down is global, so if a tag appears on more than one page, it will remain until all occurrences of it are removed.

It was implemented as case-insensitive (without making assumptions about how they want tags to be stored) to keep it simple (it's also the default mode for SQLite), for example I would want #Steven or #Jason to stay that way and not become #steven and #jason. Also, most general users may be confused why they can't find their "DOG" when querying for "dog".

I'll see how complicated it would be though and come up with some options

@stevencohn stevencohn added the feature-request New feature or request label Jul 22, 2024
@jasonjac2
Copy link
Author

Just to be clear - I am very happy the match is case-insensitive (as I think it is now).
So my request becomes, in the dropdown, show case insensitive entries
ToDoJason; todoJason; TODOJASON => one entry in the dropdown.

Thanks,

@stevencohn stevencohn self-assigned this Jul 22, 2024
stevencohn added a commit that referenced this issue Jul 22, 2024
Case sensitive
#1492
stevencohn added a commit that referenced this issue Jul 22, 2024
stevencohn added a commit that referenced this issue Jul 22, 2024
* #1492
Case sensitive
#1492

* #1492 case-sensitive query builder

* unused resx
@stevencohn stevencohn linked a pull request Jul 22, 2024 that will close this issue
@stevencohn stevencohn added the next-release Addressed but not yet released label Jul 22, 2024
weissm pushed a commit to weissm/OneMore that referenced this issue Jul 29, 2024
* stevencohn#1492
Case sensitive
stevencohn#1492

* stevencohn#1492 case-sensitive query builder

* unused resx
weissm pushed a commit to weissm/OneMore that referenced this issue Jul 29, 2024
* stevencohn#1492
Case sensitive
stevencohn#1492

* stevencohn#1492 case-sensitive query builder

* unused resx
@stevencohn stevencohn added released Available in a released installer and removed next-release Addressed but not yet released labels Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request released Available in a released installer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants