1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00
osu-lazer/osu.Game.Tests/Visual/Playlists
wooster0 0c85fd496f Don't leave scores screen empty if no scores are present yet
Addresses https://github.com/ppy/osu/discussions/23787

I originally wanted to set `allowShowingResults` to false if there are
no results but because this involves an API request to fetch the scores
that would mean all the scores would have to be fetched all at once so
that it knows whether to hide or show the "View results" button on a
beatmap.
Because that would slow things down and be very inefficient, this still
allows the user to view the scores screen but if there aren't any
scores, it shows a text, which I think is at least for now better than
nothing.

As for the testing of this, I wasn't sure how to not generate scores
only for one specific test so I opted into not using `SetUpSteps` and
doing it that way.
2023-12-31 22:42:32 +09:00
..
TestScenePlaylistsLoungeSubScreen.cs Partial everything 2022-11-27 00:00:27 +09:00
TestScenePlaylistsMatchSettingsOverlay.cs Merge branch 'master' into update-framework 2022-11-26 16:19:36 +01:00
TestScenePlaylistsParticipantsList.cs Automated pass 2023-06-24 01:00:03 +09:00
TestScenePlaylistsResultsScreen.cs Don't leave scores screen empty if no scores are present yet 2023-12-31 22:42:32 +09:00
TestScenePlaylistsRoomCreation.cs Bypass Parent nullability checks for now 2023-10-17 17:48:45 +09:00
TestScenePlaylistsScreen.cs Automated pass 2023-06-24 01:00:03 +09:00