- Initialize slices as empty in database query functions to prevent json.Encode(nil) returning 'null'
- This fixes Flutter Dio parsing 'null' as null, causing cast to List to fail
- Fix JSON key mismatch in Flutter models: change 'User' to 'user' in Member and JoinRequest fromJson
- Update backend userInfo to send displayName as *string (null when empty)
- Add json tags to database User struct for consistent lowercase keys
- Handle displayName nullability in backend handlers
- Change icon from Icons.settings to Icons.admin_panel_settings for better recognition
- Use AppTheme.primaryText (white) instead of secondaryText (white70) for action buttons
- Improve visibility of the Manage button in the navigation bar
- Add splashColor: Colors.transparent and highlightColor: Colors.transparent to all IconButtons
- Add ButtonStyle with NoSplash.splashFactory and transparent overlayColor to all TextButtons
- Updated close button, remove member button, cancel invitation button, and accept/reject buttons
- Maintains consistent button behavior across the entire app
- Change 'Settings' button to 'Manage' with proper icon visibility
- Only show Manage button when in an organization (selectedOrg != null)
- Replace TabBar with custom animated tab buttons that match app styling
- Add smooth animations and visual feedback to tab buttons
- Maintain consistent splash effects across the dialog
- Fix member list API response format to match frontend expectations
- Fix join requests API response format
- Add proper JSON tags to Invitation struct
- Grant OrgManage permission to admin role for proper RBAC
These changes ensure frontend-backend API contracts are aligned and admins can manage organizations.
- Add owner/admin/member roles with proper permissions
- Implement invite links and join requests system
- Add organization settings dialog with member management
- Create database migrations for invitations and invite links
- Update backend API with org management endpoints
- Fix compilation errors and audit logging
- Update frontend models and API integration