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

feat: add smartcase and globless path searches #743

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

CyanVoxel
Copy link
Member

Work In Progress

Summary

This PR adds "smartcase" style path searches and allows for non-glob searches to still return matched results. Smartcase searches will act as case-insensitive when the entire query is lowercase, but case-sensitive if one or more capital letters are present in the query.
Likewise, the glob detection is based on whether or not a "*" character is present in the query.

Known Issues

  • Failing tests
  • Sluggish path autocomplete for large libraries

@CyanVoxel CyanVoxel added Type: Enhancement New feature or request Priority: High An important issue requiring attention TagStudio: Search The TagStudio search engine labels Jan 28, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5 (Post-SQL) milestone Jan 28, 2025
@CyanVoxel CyanVoxel added the Type: QoL A quality of life (QoL) enhancement or suggestion label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High An important issue requiring attention TagStudio: Search The TagStudio search engine Type: Enhancement New feature or request Type: QoL A quality of life (QoL) enhancement or suggestion
Projects
Status: 🚧 In progress
Development

Successfully merging this pull request may close these issues.

1 participant