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

Team member leaderboard #11827

Merged
merged 4 commits into from
Feb 14, 2025
Merged

Team member leaderboard #11827

merged 4 commits into from
Feb 14, 2025

Conversation

nanaya
Copy link
Collaborator

@nanaya nanaya commented Jan 28, 2025

I think this is pretty close to the design?

Added a lone info link in the header to put the ruleset selector on (mainly for mobile). Will add link to member listing and settings page for admin later (and then remove the "back" link in respective pages).

depends on

@notbakaneko
Copy link
Collaborator

I feel like the leaderboard should be its own tab; the members section in the middle being variable height based on the window height seems like a weird behavior now... 🤔

@nanaya
Copy link
Collaborator Author

nanaya commented Feb 7, 2025

might as well move members listing to where leaderboard currently is if we're moving the leaderboard to its own page...?

@nanaya nanaya marked this pull request as draft February 8, 2025 17:58
@nanaya
Copy link
Collaborator Author

nanaya commented Feb 8, 2025

drafting this to move to its own tab (and thus depend on #11837)

@nanaya nanaya force-pushed the team-leaderboard branch 2 times, most recently from 0f80718 to 5c7db77 Compare February 12, 2025 10:58
@nanaya nanaya marked this pull request as ready for review February 12, 2025 10:58
}
$leaderboard = $team
->members
->loadMissing("user.{$statisticsRelationName}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

also need to load/set the team and userGroups

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

more like too much copypaste 👀

Copy link
Collaborator

@notbakaneko notbakaneko left a comment

Choose a reason for hiding this comment

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

I think it needs some adjustment for mobile 👀
image

Copy link
Collaborator

@notbakaneko notbakaneko left a comment

Choose a reason for hiding this comment

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

eta someone with 800px with complains about the space 👀

@notbakaneko notbakaneko merged commit b9c4a62 into ppy:master Feb 14, 2025
3 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