feat: member management for platform (#16803)

* init members page for platform

* add missing icon

* add members tab to sidebar

* use data from useMe query instead of useSession

* return user profiles since platform users are stored there

* small refactor

* fixup

* remove unused logs from console

* fixup

* resolve merge conflicts

* add missing tabs for members and billing

* update schema

* fixup

* memoise selection options for org and platform

* update onSubmit handler

* resolve merge conflicts

* add members tab

* improve team billing view when user not subscribed

* update members tab

* add function to find if user is admin of team

* update invite members handler to handle platform user as well

---------

Co-authored-by: Morgan <[email protected]>
This commit is contained in:
Rajiv SahalandMorgan authored and GitHub committed 2024-10-14 21:19:02 +03:00
1 parent 3312d9cfc6
commit 5726d18027
15 files changed
+234 -58

No files matched your search

@@ -124,6 +124,11 @@ const platformNavigation: NavigationItemType[] = [
href: "/settings/platform/billing",
icon: "credit-card",
},
{
name: "Members",
href: "/settings/platform/members",
icon: "users",
},
];
export const getDesktopNavigationItems = (isPlatformNavigation = false) => {