Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update profile web overlay to use SoloScoreInfo #19192

Merged
merged 19 commits into from
Jul 18, 2022

Conversation

tsunyoku
Copy link
Member

@tsunyoku tsunyoku commented Jul 17, 2022

This introduces a new paginated class to handling the retrieval of scores in the new format, aswell as their beatmaps. This also replaces the use of APIScore in GetUserScoresRequest with SoloScoreInfo instead, and updates the relevant tests.

Resolves #19152
Resolves #19146

@tsunyoku
Copy link
Member Author

Turns out a lot of this is unneeded since SoloScoreInfo should have Beatmap. Will adjust the PR, and then it should be ready.

@pull-request-size pull-request-size bot added size/M and removed size/L labels Jul 17, 2022
Copy link
Member

@frenzibyte frenzibyte left a comment

Choose a reason for hiding this comment

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

Have pushed a change to allow mods displayed in profile scores to include settings as well (by using APIMod.ToMod instead of CreateModFromAcronym(APIMod.Acronym).

Seems fine otherwise upon a closer look at the response returned with the old and new API structures.

@frenzibyte frenzibyte enabled auto-merge July 18, 2022 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants