Solution: Updated frontend/src/components/ComprehensiveImportWizard.js:
- Increased timeout from 30s to 120s for large file uploads + R2 storage
- Added console error logging for debugging
Login Session Timeout Fix
1. frontend/src/utils/api.js
- Added BASENAME constant from environment variable
- Updated the 401 redirect to use ${BASENAME}/login?session=expired instead of just /login?session=expired
2. frontend/src/pages/Login.js
- Added basename constant from environment variable
- Updated URL cleanup to use ${basename}/login instead of just /login
- 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.
- Updated color classes to use CSS variables for better maintainability and theming.
- Refactored component styles in MembersDirectory.js to enhance visual consistency.
- Adjusted loading states and empty states in NewsletterArchive.js for improved user experience.
- Added new brand colors to tailwind.config.js for future use.