-
Notifications
You must be signed in to change notification settings - Fork 83
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
Implement support for viewing multiple profiles at once #247
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be a separate screen, instead extend the already existing ProfileScreen
PerformanceCalculatorGUI/Components/ExtendedCombinedProfileScore.cs
Outdated
Show resolved
Hide resolved
Combined Profile
screenThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested yet, just a quick code review
{ | ||
usernameTextBox.FlashColour(Color4.Red, 1); | ||
return; | ||
} | ||
|
||
Array.Clear(currentUsers); | ||
|
||
string[] usernameArray = usernames.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest doing splitting only when committing from the textbox, and changing calculateProfile()
to accept an array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea, i've done that and also renamed the method calculateProfiles
so it makes more sense. i can revert that if necessary
feel free to change the placeholder names to whatever btw |
These changes let you input a list of usernames and view their combined plays on one profile page, with each play showing the avatar of the user that set it. An option is included to only display the best play on each individual beatmap