1. Created src/hooks/use-stripe-config.js - New hook that:
- Fetches publishable key from /api/config/stripe
- Returns a pre-initialized stripePromise for use with Stripe Elements
- Caches the result to avoid multiple API calls
- Falls back to REACT_APP_STRIPE_PUBLISHABLE_KEY env var if API fails
2. Updated AdminSettings.js - Added publishable key input field in the Stripe settings form
3. Updated AdminPaymentMethodsPanel.js - Uses useStripeConfig hook instead of env variable
4. Updated PaymentMethodsSection.js - Uses useStripeConfig hook instead of env variable
1. Trigger Field Selection - Dropdown to select which field triggers the rule (filters to checkbox, dropdown, radio, text fields)
2. Operator Selection - Dropdown with options:
- equals
- not equals
- contains
- is not empty
- is empty
3. Value Input - Smart input based on field type:
- Checkbox fields → dropdown with "Checked (true)" / "Unchecked (false)"
- empty/not_empty operators → disabled (no value needed)
- Other fields → text input
4. Action Selection - Dropdown with options:
- Show fields
- Hide fields
- Make required
- Make optional
5. Target Fields - Checkbox list of all fields (excluding the trigger field) to select which fields are affected
6. Rule Summary - A blue info box at the bottom of each rule showing a human-readable summary of the configured rule
Members > Invite member says invite Staff in dialog
resend email button
Update form member form to say member and not staff
review application function
manual payment functionality
basic implementation of theme
actions dropdown
theme-color)/- - Admin Theme settings page under Settings > Theme tab/- All logo references (5 components) now pull from the theme config with fallback to default
- Added StatusBadge component to standardize the display of user and membership statuses across various admin pages.
- Refactored AdminMembers, AdminPlans, AdminStaff, AdminSubscriptions, AdminUserView, AdminValidations, and MembersDirectory to utilize the new StatusBadge component.
- Removed redundant status badge logic from AdminMembers, AdminStaff, and AdminValidations.
- Updated AdminLayout to include a mobile-friendly sidebar toggle button with Menu icon.
- Created MemberCard component to encapsulate member display logic, improving code reusability.
- Adjusted various components to enhance user experience and maintain consistent styling.