Skip to content

Improve AddToSearch behavior - #38713

Open
diquoks wants to merge 3 commits into
ppy:masterfrom
diquoks:quick-fix/add-to-search
Open

Improve AddToSearch behavior#38713
diquoks wants to merge 3 commits into
ppy:masterfrom
diquoks:quick-fix/add-to-search

Conversation

@diquoks

@diquoks diquoks commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

changes:

  • trims extra spaces only at the end
  • inserts query without extra leading space if existing query was empty or contained only spaces
action master pr
"" + "triangles" " triangles" "triangles"
" triangles " + "cYsmix" "triangles cYsmix" " triangles cYsmix"

TrimEnd() can be reverted back to simple Trim() if you want to

@diquoks diquoks changed the title Quick fix/add to search Improve AddToSearch behavior Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clicking a beatmap tag with an empty search bar inserts a leading space

1 participant