Skip to content

Order tag search matches by their length#2015

Merged
ArtOfCode- merged 1 commit intodevelopfrom
0valt/2009/tag-sorting
Mar 12, 2026
Merged

Order tag search matches by their length#2015
ArtOfCode- merged 1 commit intodevelopfrom
0valt/2009/tag-sorting

Conversation

@Oaphi
Copy link
Copy Markdown
Member

@Oaphi Oaphi commented Mar 11, 2026

closes #2009

With the PR applied, matching tags should prefer full or close to full matches over longer partial ones:

Screenshot from 2026-03-12 02-27-33

credit to @MoshiKoi for suggesting the solution in our Discord discussion

As opposed to the current sorting that only sorts tag names alphabetically:

image

Ensures full and near-full matches are sorted to the top of the list
@Oaphi Oaphi force-pushed the 0valt/2009/tag-sorting branch from d05a5cd to b90b353 Compare March 11, 2026 23:43
@Oaphi Oaphi requested review from a team, MoshiKoi and cellio March 11, 2026 23:45
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.74%. Comparing base (4deef91) to head (b90b353).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
Components Coverage Δ
controllers 75.85% <ø> (ø)
helpers 85.06% <ø> (ø)
jobs 66.88% <ø> (ø)
models 93.01% <ø> (ø)
tasks 61.11% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@cellio cellio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested & LGTM.

@ArtOfCode- ArtOfCode- merged commit bb0317e into develop Mar 12, 2026
19 of 20 checks passed
@ArtOfCode- ArtOfCode- deleted the 0valt/2009/tag-sorting branch March 12, 2026 10:20
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.

Make it easier to choose the existing tag you meant rather than the fuzzy match you didn't

3 participants