Restructure#11
Conversation
|
Important Review skippedToo many files! This PR contains 159 files, which is 9 over the limit of 150. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (159)
You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughRepository restructured from separate backend services to unified Changes
Sequence DiagramsequenceDiagram
participant User
participant Frontend
participant Orchestrator as backend/run.py
participant MainSvc as main-backend/run.py
participant CommunitySvc as community-backend/run.py
participant ActivitySvc as activity-backend/run.py
participant MapSvc as map-backend/run.py
User->>Frontend: Start app
Frontend->>Orchestrator: python run.py
activate Orchestrator
Orchestrator->>MainSvc: subprocess.Popen(run.py)
activate MainSvc
Orchestrator->>CommunitySvc: subprocess.Popen(run.py)
activate CommunitySvc
Orchestrator->>ActivitySvc: subprocess.Popen(run.py)
activate ActivitySvc
Orchestrator->>MapSvc: subprocess.Popen(run.py)
activate MapSvc
MainSvc->>MainSvc: Load config, start uvicorn
CommunitySvc->>CommunitySvc: Load config, init Supabase, start uvicorn
ActivitySvc->>ActivitySvc: Load config, init Supabase, start uvicorn
MapSvc->>MapSvc: Load config, init Supabase, start uvicorn
MainSvc-->>Orchestrator: Running on 8080
CommunitySvc-->>Orchestrator: Running on 5001
ActivitySvc-->>Orchestrator: Running on 5100
MapSvc-->>Orchestrator: Running on 5200
Frontend->>MainSvc: POST /auth/login (normalized email)
MainSvc->>MainSvc: Validate, fetch user, audit log
MainSvc-->>Frontend: JWT token
Frontend->>ActivitySvc: GET /health
ActivitySvc-->>Frontend: healthy
User->>Frontend: Edit profile
Frontend->>Frontend: Show EditProfileScreen
Frontend->>MainSvc: GET /profile (with token)
MainSvc-->>Frontend: User data
Frontend->>Frontend: Populate form fields
User->>Frontend: Submit changes
Frontend->>MainSvc: PUT /profile (trimmed values)
MainSvc-->>Frontend: Updated profile
Frontend->>Frontend: Show success SnackBar
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Authentication and User Management:
Frontend Features:
EditProfileScreenin the Flutter app, allowing users to update their profile information with form validation, error handling, and API integration.Security and Environment Configuration:
pydanticdependency to use a version range (>=2.11.7) for better compatibility and future-proofing.Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Improvements
Documentation