Let players preview their profile as other players see it
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Start by locating the existing reads for profiles, ratings, rating history, stats, partner and head-to-head records, and match history; the issue does not name specific files or tests. Trace the backend rules for privacy settings, minors, confirmed matches, and opponent permissions. Done means a signed-in player can obtain a complete preview using the same visibility rules as another player without changing existing responses, with the endpoint shape and audit-log behavior decided.
Written by the indexing model from the issue text.
Description
Suggestion
Let a player see their own profile the way another signed-in player sees it, so they can check what their privacy settings show before anyone else looks.
Why the backend
Who sees what is layered, and the backend enforces every rule (frontend hard rule 6):
- The profile fields (city and region, gender division, age group) each follow their own setting.
- Stats show other players only singles and doubles overall, never mixed, men's or women's doubles. The average partner and opponent ratings also need the match history setting.
- A partner record needs both the stats and match history settings.
- Rating history links to a match show only for a confirmed singles match, and only when the opponent's settings allow it too.
- Players aged 13 to 17 follow their own rules.
If the app copied these rules to build a preview, it could drift from the backend and tell a player something false. A preview served by the backend uses the same code that serves other players.
Possible shape
A way for the signed-in player to read their own profile, ratings, rating history, stats, partner and head-to-head records and match history as another signed-in player would. For example, a view_as=signed_in option on the existing reads, allowed only for the player's own code. It never changes what anyone else can see.
Questions to decide
- One option on each existing read, or one preview endpoint that returns the whole profile?
- What does the preview of a head-to-head record show, since it depends on who is looking?
- Should a preview be recorded in the audit log?
Frontend follow-up
A "Preview your profile" link on Profile > Privacy that opens the player's own profile page in preview mode. To be filed in openpickleball/frontend once this is decided.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 206
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/backend
-
area:infra documentation priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#472 ·
Maintainers usually reply within 1 day
-
Show doctl's error when the Deploy workflow's update failsPossibly taken @GeoBradDev claimed this today. Openarea:infra bug priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#471 ·
Maintainers usually reply within 1 day
-
area:infra documentation type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openpickleball/backend#196 ·
Maintainers usually reply within 1 day
-
area:infra type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#195 ·
Maintainers usually reply within 1 day
-
area:api enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openpickleball/backend#470 ·
Maintainers usually reply within 1 day
All issues in openpickleball/backend
Similar issues
-
[Resource]: SpaicelyOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bvis/aegis-hass#725 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day