1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00
osu-lazer/osu.Game.Tests/Visual
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
..
Audio Rename NormalSliderBar.cs to RoundedSliderBar.cs 2023-02-02 17:24:45 +01:00
Background Add test coverage 2023-11-09 22:57:20 +03:00
Beatmaps Implement nano beatmap card 2023-09-18 11:30:14 +02:00
Collections Add failing test for adding collection w/ name colliding w/\ default items 2023-12-18 12:47:42 +01:00
Colours Automated pass 2023-06-24 01:00:03 +09:00
Components Partial everything 2022-11-27 00:00:27 +09:00
Editing Add test coverage of failure case 2023-12-29 10:36:53 +01:00
Gameplay Migrate BeatmapOffsetControl to use session static directly 2023-12-27 19:19:27 +01:00
Menus Do not display system title in inital menu state 2023-12-29 11:50:30 +01:00
Mods Automated pass 2023-06-24 01:00:03 +09:00
Multiplayer Fix countdown button being enabled 2023-12-04 11:00:11 +09:00
Navigation Merge pull request #25691 from bdach/fix-skin-editor-crash-again 2023-12-13 22:15:42 +09:00
Online Add test coverage 2023-12-23 13:42:19 +01:00
Playlists Don't leave scores screen empty if no scores are present yet 2023-12-31 22:42:32 +09:00
Ranking Adjust catch score grade cutoffs 2023-11-29 19:05:31 +09:00
Settings Add failing test cases 2023-12-30 21:33:22 +03:00
SongSelect Fix code quality inspection 2023-12-26 12:20:17 +01:00
UserInterface Fix test failing due to querying button position during transform 2023-12-28 13:58:00 +01:00
TestMultiplayerComponents.cs Partial everything 2022-11-27 00:00:27 +09:00
TestSceneOsuScreenStack.cs Rename AllowTrackAdjustments to more understandable ApplyModTrackAdjustments 2023-07-25 20:20:53 +09:00