Skip to content

Add ability to search for users#37225

Merged
bdach merged 8 commits intoppy:masterfrom
peppy:user-search
Apr 7, 2026
Merged

Add ability to search for users#37225
bdach merged 8 commits intoppy:masterfrom
peppy:user-search

Conversation

@peppy
Copy link
Copy Markdown
Member

@peppy peppy commented Apr 7, 2026

This was a private request for roundtable event usage. It’s also a common feature request, so I decided to spend a bit of time getting this working well-enough.

osu.2026-04-07.at.07.38.53.mp4

Delay loading spinner / loading layer initial load briefly to avoid flickering

There's cases in this overlay where loading takes a few milliseconds. The loading spinner gets annoying. This also happens elsewhere, so this could be considered a global fix. Separate PR? probably...

Ingest loading state of dashboard child content to show more correct loading layer

Each display had their own loading layer implementation, but this is already too deep (inside the scroll content) and doesn't display great when for instance, results don't take up the full screen height.

Copy link
Copy Markdown
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

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

initial read-through, haven't even ran yet

@bdach
Copy link
Copy Markdown
Collaborator

bdach commented Apr 7, 2026

Also test failures relevant, failing tests need to stop checking for presence of loading layer and use Loading directly instead, presumably.

bdach
bdach previously approved these changes Apr 7, 2026
Copy link
Copy Markdown
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

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

Pretty rudimentary in places:

  • no placeholder when there are no results
  • can enter whitespace in search and it'll just dump the start of the list of all users (web just stonewalls whitespace-only search terms)
  • no pagination
  • no indication when hitting web-side cap of max-20-per-page, max-100-ever results returned

but probably workable for a start

Can reproduce locally single-threaded and this appears to help.
@bdach bdach merged commit c570db6 into ppy:master Apr 7, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants