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

Include current activity status for members in /leaderboards/{name} response #103

Open
Eldemarkki opened this issue Dec 19, 2023 · 1 comment

Comments

@Eldemarkki
Copy link
Member

Eldemarkki commented Dec 19, 2023

It would be useful if the GET /leaderboards/{name} response included the current activity status of each member of the leaderboard. The information is needed so that we can display the coding status on the leaderboard page in the frontend, similar to what we already do on the friends list page.

@lajp
Copy link
Member

lajp commented Dec 27, 2023

I'm not sure if the current activity (or lack thereof) is something that should be shared by simply being a member of a leaderboard. The leaderboards are meant for comparing it's members on how much they have coded without having to share any details about the activities.

That being said, it would be possible to include this data for users that are either 1) friends of the requester or 2) users who have a public profile (or both), however this would complicate the endpoint quite a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants