release: v0.5.1 — Complaint mobile screens and fixes - #50
Merged
Merged
Conversation
- 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
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.
No description provided.