Repository navigation
feat(games): players for those who asked, court total, logo, more filters (#668) - #676
Merged
Merged
Conversation
…ters (#668) For the restyled iPhone game card (playerz-ios#53), with the owner's decisions of 2026-11-12: - `players` (first name, picture, shown level, booker first) only for a viewer who books, plays, or has a pending or accepted request; anyone else browsing gets null and keeps counts and empty seats. - `courtPrice`: the booking's total, not a share per player. - `isIndoor`, `venue.logoUrl`. - GET /games filters: dateFrom/dateTo, fromHour/toHour (start hour at the venue), indoor, level (the wish includes it, or there is none). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DfeuWUNfBvCav72pHsXdHa
…elds # Conflicts: # openapi/playerz-v1.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #668 (games). Owner decisions 2026-11-12:
playersonOpenGame(list and detail): booker first, then everyone on the booking — first name, picture, and their level in the sport as they let others see it (shownRatings); a guest shows their typed first name only. Only for a viewer who is the booker, plays in it, or has a PENDING or ACCEPTED request; for anyone else (signed out included) it isnull, so browsers keepplayersCountand empty seats. No user ids on the wire, as before.courtPrice{ totalCents, currency }: the booking's total. No per-player split (owner: show the court total).isIndoor,venue.logoUrl(the club's logo).GET /gamesfilters:dateFrom/dateTo(days at the venue, inclusive),fromHour/toHour(start hour at the venue),indoor,level(the wish includes that whole level, or wishes none). Bad values are 400 naming the field.Not in this PR (rest of #668): notification categories and filter,
/me/summarycounts, booking/conversation pictures.Checked locally: tsc; eslint; guardrails + unit + rendered (313 suites, 9933 tests); integration
open-play+shown-ratings(27, three new cases: who sees players through ask → accept → decline, price/indoor/logo, every filter and its 400) on a private test DB.🤖 Generated with Claude Code
https://claude.ai/code/session_01DfeuWUNfBvCav72pHsXdHa