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

Show statistics on team page #11979

Merged
merged 5 commits into from
Mar 7, 2025
Merged

Show statistics on team page #11979

merged 5 commits into from
Mar 7, 2025

Conversation

nanaya
Copy link
Collaborator

@nanaya nanaya commented Mar 7, 2025

Maybe? 🤔

Kinda took the original design but the stats are different and there isn't enough stuff to fill the section so I moved the existing info there and made team custom page its own section just like profile page.

Also matched section title and stuff from profile page.

the page is kinda long and sparse now

@nanaya nanaya force-pushed the team-info-stats branch from 0f98046 to 970437e Compare March 7, 2025 01:42
@@ -27,6 +34,14 @@ public function members(): HasMany
return $this->hasMany(TeamMember::class, 'team_id', 'team_id');
}

public function getRank(): int
Copy link
Collaborator

Choose a reason for hiding this comment

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

should teams even have a rank if they have no plays or score on a ruleset?

@notbakaneko notbakaneko enabled auto-merge March 7, 2025 17:57
@notbakaneko notbakaneko merged commit 5b6c375 into ppy:master Mar 7, 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