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

Improve CRS searching by string #59839

Merged
merged 5 commits into from
Dec 12, 2024
Merged

Conversation

nyalldawson
Copy link
Collaborator

Fixes some UX issues when filtering the CRS list by a search string:

  • Use a word based search instead of a direct string contains search, so that typing eg "world winkel" will show the
    "World_Winkel_Tripel_NGS" CRS
  • When a sufficiently long crs filter string is entered, auto expand all groups

Given a candidate string, returns true if the candidate contains
all the individual words from another string, regardless of their order.
So that typing eg "world winkel" will show the "World_Winkel_Tripel_NGS"
CRS
…l groups

Makes it much less annoying to find a crs by string!
@nyalldawson nyalldawson added the GUI/UX Related to QGIS application GUI or User Experience label Dec 11, 2024
@github-actions github-actions bot added this to the 3.42.0 milestone Dec 11, 2024
Copy link

github-actions bot commented Dec 12, 2024

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 199fbf5)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 199fbf5)

@agiudiceandrea
Copy link
Contributor

This would be useful in 3.40 too.

@nyalldawson nyalldawson merged commit 60d133c into qgis:master Dec 12, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-3_40 GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants