Skip to content

release: v0.5.1 — Complaint mobile screens and fixes - #50

Merged
mohitgauniyal merged 7 commits into
mainfrom
dev
Apr 10, 2026
Merged

mohitgauniyal merged 7 commits into
mainfrom
dev

Conversation

@mohitgauniyal

Copy link
Copy Markdown
Collaborator

No description provided.

- expo-notifications installed — device token registered after login
- expo-image-picker installed — image selection in raise complaint
- ComplaintListScreen — filtered list, resident/admin views
- RaiseComplaintScreen — full form with category picker, visibility toggle, image upload
- ComplaintDetailScreen — full detail, resolve/reject flows, image viewer
- complaints.ts service — all API calls typed
- complaintMeta.ts — category labels, icons, status colors
- Dashboard updated — Complaints action row added
- AppNavigator updated — complaint routes added
- MOBILE_CONTEXT.md updated
- fix(api): increase request body size limit (Fix 1)
- fix(mobile): filter chips height — add flexGrow:0 and alignItems:center
  to prevent horizontal ScrollView from filling flex parent (Fix 2)
- fix(mobile): name screen flicker — loadUser(showLoading) covers
  AuthNavigator→AppNavigator swap with spinner; applied to LoginOTP,
  SetName, SelectSociety (all auth→app transitions) (Fix 3)
- fix(mobile): add profile name editing — avatar in Dashboard header
  opens bottom sheet with pre-filled name field and PATCH /auth/profile (Fix 4)
- fix(mobile): show Complaints on admin/builder dashboard
  add complaint.view_all to canViewComplaints condition
- fix(api): prepend data URI prefix to raw base64 before Cloudinary upload
  expo-image-picker returns base64 without "data:image/jpeg;base64," prefix
- fix(api): log actual Cloudinary error to terminal on upload failure
- Added __DEV__ guard in registerDeviceToken
- Notifications work correctly in production builds
- Added Decision 024 to DECISIONS.md
feat: complaint mobile screens — list, raise, detail with notifications and image upload
@mohitgauniyal
mohitgauniyal merged commit 2d050f1 into main Apr 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant