Commit Graph

118 Commits

Author SHA1 Message Date
Koncept Kit
c54eb23689 Login and Session Fixes 2026-01-07 13:37:20 +07:00
9f7367ceeb Merge pull request 'Merge Kayela works to Dev' (#12) from templates into dev
Reviewed-on: #12
2026-01-07 06:18:06 +00:00
kayela
f71931d4a7 Merge branch 'dev' into templates 2026-01-06 12:25:55 -06:00
kayela
97cc5bdedf Add pagination buttons for first and last pages in Members Directory 2026-01-06 12:17:03 -06:00
kayela
8011913c4d Enhance Admin Dashboard and Members Directory with improved layout, pagination, and member details display.
Applied requested changes to UI
2026-01-06 12:05:34 -06:00
Koncept Kit
40a0e3f342 feat(frontend): Comprehensive RBAC implementation across admin pages
**Option 3 Implementation (Latest):**
- InviteStaffDialog: Use /admin/roles/assignable endpoint
- AdminStaff: Enable admin users to see 'Invite Staff' button

**Permission Checks Added (8 admin pages):**
- AdminNewsletters: newsletters.create/edit/delete
- AdminFinancials: financials.create/edit/delete
- AdminBylaws: bylaws.create/edit/delete
- AdminValidations: users.approve, subscriptions.activate
- AdminSubscriptions: subscriptions.export/edit/cancel
- AdminDonations: donations.export
- AdminGallery: gallery.upload/edit/delete
- AdminPlans: subscriptions.plans

**Pattern Established:**
All admin action buttons now wrapped with hasPermission() checks.
UI hides what users can't access, backend enforces rules.

**Files Modified:** 10 files, 100+ permission checks added
2026-01-06 14:45:15 +07:00
kayela
968eaccac2 fixed tabs styling 2026-01-05 14:34:23 -06:00
kayela
11de3d1eed styled chrome scrollbar 2026-01-05 14:16:05 -06:00
kayela
11142ec50e Merge branch 'dev' into templates 2026-01-05 12:51:33 -06:00
Koncept Kit
0249cad261 Improve UX with navigation, attendance management, and calendar fixes
## Quick Wins
- **AdminSidebar**: Move "View Public Site" to clickable logo area
- **Plans**: Fix layout to center single plan, dynamic grid for multiple
- **AdminGallery**: Add empty state message with "Create Event" button

## Event Attendance Enhancement
- **NEW: AdminEventAttendance page** with full-featured table view:
  - Tab filters (All/Yes/No/Maybe RSVPs)
  - Search by name/email
  - Bulk selection with Select All
  - Individual attendance toggle buttons (merged column)
  - CSV export functionality (client requirement)
  - Summary statistics cards
- **AdminEvents**: Navigate to new attendance page instead of dialog
- **App.js**: Add /admin/events/:eventId/attendance route

## Calendar Fixes
- **MemberCalendar**: Add state management for navigation (date/view)
  - Fix non-functional buttons (Today/Back/Next/Month/Week/Day/Agenda)
  - Add onNavigate and onView handlers
- **NEW: MemberCalendar.css**: Extract styles from broken jsx syntax
  - Fix toolbar button styling and interactivity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 01:02:16 +07:00
Koncept Kit
56711e9136 Revert URL cleanup - backend path is correct
The /membership path in backend URL is correct for development.
Issue is CORS configuration on backend, not URL format.
2026-01-05 15:47:30 +07:00
Koncept Kit
03b76a8e58 Add defensive backend URL validation and auto-cleanup
- Add getApiUrl() function to validate and clean backend URL
- Automatically strip /membership or /api suffix if present
- Log all environment variables on module load for debugging
- Add detailed URL logging in login function
- Provide fallback if REACT_APP_BACKEND_URL is undefined

This fixes the intermittent CORS error caused by incorrect backend URL
2026-01-05 15:42:11 +07:00
Koncept Kit
1acb13ba79 Add comprehensive login diagnostics and retry logic
- Add detailed console logging throughout login flow
- Add 30s timeout to prevent hanging requests
- Defer permission fetching with setTimeout to avoid race conditions
- Add automatic retry for 5xx errors and network failures
- Enhanced error logging with full context for debugging

This addresses intermittent login failures reported by users
2026-01-05 15:00:41 +07:00
Koncept Kit
fa9a1d1d1d Add 404 page and invitation success screen
- Created NotFound component with proper error messaging and navigation
- Added catch-all route (*) in App.js for undefined routes
- Added success state in AcceptInvitation with user info display
- Auto-redirect after 3 seconds with manual continue button option
- Improved UX with animated success indicator
2026-01-05 14:51:39 +07:00
Koncept Kit
48802fe0c6 Fix invitation redirect: admin users now go to /admin instead of /admin/dashboard 2026-01-05 14:15:22 +07:00
Koncept Kit
8c351773ba Fix staff invitation acceptance & add delete/deactivate buttons 2026-01-05 00:11:30 +07:00
Koncept Kit
3511e7a9c8 LOAF Prod 2026-01-04 19:47:49 +07:00
Koncept Kit
33a4d8f4c4 Document Upload Dialogue update 2026-01-02 15:35:30 +07:00
kayela
1d70ac4ec7 update Merge branch 'dev' into templates 2025-12-26 17:39:16 -06:00
Koncept Kit
a6c2475092 Test Preparation 2025-12-26 20:04:08 +07:00
kayela
6d777ed583 Update homepage and links in RegistrationStep4 component 2025-12-24 14:17:30 -06:00
kayela
99d65c917f Merge remote-tracking branch 'origin/dev' into templates 2025-12-24 14:06:12 -06:00
kayela
0f16264656 Remove unused imports from TermsOfService component 2025-12-24 14:04:35 -06:00
Koncept Kit
33fc3a101d Fix runtime error 2025-12-20 18:46:07 +07:00
Koncept Kit
4093c1603e Fix runtime error 2025-12-20 18:40:57 +07:00
035cc896df Merge pull request 'templates' (#5) from templates into dev
Reviewed-on: #5
2025-12-20 11:23:07 +00:00
kayela
8ffa97bcd1 Refactor code structure for improved readability and maintainability
Fixed images and styling for Landing page
2025-12-19 15:28:19 -06:00
kayela
b6d25cdab7 Fix max height utility class for responsive layout in Donate component 2025-12-19 13:36:56 -06:00
kayela
f3610282f2 Merge remote-tracking branch 'origin/dev' into templates 2025-12-19 13:29:31 -06:00
kayela
f1dd7fe75b Merge remote-tracking branch 'origin/main' into templates 2025-12-19 13:21:34 -06:00
kayela
37ccfe7767 Update Privacy Policy header to specify "LOAFers, Inc. Website Privacy Policy" and apply Poppins font style 2025-12-19 12:42:29 -06:00
kayela
93cd4c1316 Refactor Terms of Service page layout and content; add comprehensive legal terms sections and improve styling 2025-12-19 12:27:03 -06:00
kayela
a6656b1ff0 Refactor code structure for improved readability and maintainability 2025-12-19 11:59:52 -06:00
kayela
1d4ed96dc9 Refactor BecomeMember, BoardOfDirectors, ContactUs, Donate, MissionValues, and Resources pages for improved layout, styling, and accessibility; update component structure and enhance responsiveness. 2025-12-18 16:34:14 -06:00
kayela
a9bdd1d0a6 Refactor layout and styling for PublicFooter, PublicNavbar, History, Landing, and MissionValues components for improved responsiveness and visual consistency 2025-12-18 12:02:32 -06:00
4848ec3942 Merge pull request 'templates' (#4) from templates into dev
Reviewed-on: #4
2025-12-18 10:34:29 +00:00
41d2466cbf Merge pull request '- Profile Picture\' (#3) from main into dev
Reviewed-on: #3
2025-12-18 10:29:21 +00:00
Koncept Kit
8c0d9a2a18 - Profile Picture\
Donation Tracking\
Validation Rejection\
Subscription Data Export\
Admin Dashboard Logo\
Admin Navbar Reorganization
2025-12-18 17:04:50 +07:00
kayela
f7fef8572a Landing page fully mobile functional, History page moble and History page fixed. Footer and navbar changes 2025-12-17 17:59:58 -06:00
kayela
23163a7a2b landing page fixes 2025-12-17 13:34:06 -06:00
kayela
4b0517b92c fixed footer 2025-12-17 13:24:38 -06:00
kayela
bebbba1ece fixed all instanced of changed PublicFooter name 2025-12-17 12:36:00 -06:00
kayela
5a46375212 fixed typo error 2025-12-17 12:33:50 -06:00
kayela
d683ec6b5b Copied PublicFooter from Main branch 2025-12-17 12:28:20 -06:00
kayela
03eb349f0e Add PublicFooter-kc component and update imports across pages 2025-12-17 12:11:24 -06:00
kayela
b842130b62 Merge branch 'main' into templates 2025-12-17 12:11:09 -06:00
kayela
eee26cf108 Refactor PublicFooter and PublicNavbar for improved responsiveness and styling; add InfoCard component to Landing page for better content organization 2025-12-16 23:14:20 -06:00
Koncept Kit
9ed778db1c RBAC, Permissions, and Export/Import 2025-12-16 20:04:00 +07:00
kayela-c
ac850d65d3 added padding when in moble mode 2025-12-13 13:03:57 -06:00
kayela-c
40a8930b93 added side padding to footer 2025-12-13 12:59:06 -06:00