ga
|
e27cef09c3
|
Sprint 5.1: reviews & user profile mobile UI
- ReviewApi: create/listForUser/stats
- ReviewCreateScreen: stars 1-5, comment, anonymous toggle
- UserReviewsScreen: list + stats header
- UserProfileScreen: avatar, rating, bio, prefs (drinks/activities/purposes)
* Написать / Все отзывы / Заблокировать / Пожаловаться
- MapScreen: tap marker -> UserProfile
- ChatScreen header: 👤 profile + ⭐ leave review
- ChatListScreen: pass other_id in nav params for review screen
- NavStack: UserProfile, ReviewCreate, UserReviews
Backend now returns snake_case JSON (id/name/photo_url etc.) - matches mobile types
|
2026-08-20 16:30:10 +00:00 |
|
ga
|
4bd3ebae99
|
Sprint 4: React Native mobile app (iOS+Android)
Screens:
- LoginScreen / RegisterScreen (with mandatory consents checkboxes)
- MapScreen — MAIN screen after login (Google Maps on Android, Apple Maps on iOS)
* shows nearby users within radius
* visibility toggle (hide/show myself on map)
* radius selector 1/5/10/25/50 km
* GPS auto-update with permission flow
- ChatListScreen / ChatScreen with WebSocket realtime
* long-press message: edit/delete
* 'ред.' marker for edited messages
* mark as read
- ProfileScreen — bio, city, gender, drinks, activities, purposes
State: Zustand (auth, map stores)
HTTP: axios + JWT interceptor + token refresh
WS: socket.io-client
Storage: AsyncStorage for tokens
Maps: react-native-maps
Permissions: react-native-permissions
|
2026-08-20 15:56:17 +00:00 |
|