Repository navigation
feature:Implement Circle Details Screen - #1277
Merged
Merged
Conversation
|
@joshkirojohn212-jpg Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
ONEONUORA
approved these changes
Nov 25, 2026
ONEONUORA
left a comment
Contributor
There was a problem hiding this comment.
Great job @joshkirojohn212-jpg
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.
closes #1161
closes #1160
closes #1159
closes #1158
Circle Preview Implementation
Summary
Added an end-to-end circle preview flow to the Zaps mobile app and backend.
The screen presents circle objectives, contribution requirements, membership
rules, visibility, current progress, and a join action when the server says the
user is eligible.
Mobile app
mobileapp/app/circles/[id].tsx.loading, unavailable, unauthorized, join-error, and member states.
Join Circlebutton is shown only when the server reports the user canjoin a public circle.
mobileapp/src/services/circleService.ts; API requests use the sharedauthenticated fetch client.
Backend and privacy
GET /api/circles/{id}andPOST /api/circles/{id}/join, registeredunder the backend's authenticated routes.
receive a generic
404response so the endpoint does not reveal whether theprivate circle exists.
not reached their optional member limit.
membership, preventing concurrent joins from exceeding the limit.
precision in JavaScript.
Data model
The migration
backend/migrations/20261124000000_create_circles.sqladds:circlesfor objectives, contribution settings, visibility, restrictions,membership limits, and ownership
circle_membershipsfor membership and private-circle access checkscircle_contributionsfor calculating current progressProgress is calculated as the sum of recorded contributions. A contribution
flow is not part of this change; future contribution processing must write
completed contribution records to this table.
API contract and tests
backend/docs/openapi.yaml.mobileapp/__tests__/circleService.test.ts.backend/src/api/circles.rs.Validation status
git diff --checkpassed.@privy-io/expo-sdkpackage returned HTTP 404 from the npm registry.environment.
Scope note
This repository did not previously contain a circle feature. This change adds
the individual preview route and supporting detail/join APIs, but does not add
a circle creation or discovery flow. The preview route requires an existing
circle ID and populated circle data.