Refactor Org Inbox Context and Enhance Club Creation Management
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Failing after 1m21s
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Failing after 1m21s
- Updated the OrgInboxContext to include handling for club creation requests, allowing for better management of inbox items. - Refactored components to utilize the new `canShowInboxNav` and `canAccessClubCreationInbox` flags for improved access control. - Enhanced the InboxPage to display club creation requests with appropriate actions for approval and rejection. - Updated the DashboardOrgInboxWidget to show both club creation and join requests, improving the user interface for managing inbox items.
This commit is contained in:
1 parent
8ee8f52e0f
commit
37785135b1
5 files changed
+206
-28
No files matched your search
@@ -88,9 +88,9 @@ function AppRouteFallback() {
|
||||
|
||||
// Bottom Navigation (Mobile)
|
||||
function Nav({ showAdminNav, onboardingOnly }) {
|
||||
const { canAccessOrgInbox, inboxCount } = useOrgInbox()
|
||||
const { canShowInboxNav, inboxCount } = useOrgInbox()
|
||||
const items = getMainNavItems(showAdminNav, {
|
||||
showInbox: canAccessOrgInbox,
|
||||
showInbox: canShowInboxNav,
|
||||
onboardingOnly,
|
||||
})
|
||||
const loc = useLocation()
|
||||
|
||||
Reference in new issue
Block a user