This is an extended ticket to account for scope creep from #6027
This ticket will:
-clean up logic inside AdminsAndModerators.tsx around the useFetchAdminQuery
-will instate new queries that refetch all users when scrolling through list of users, inside a community that has more than 100 members.
-mobile view will be optimized through customization of these new stylings and specific components
-longer imports will be changed to path aliases
-fix spacing of "Members"
-add hover functionality to change background color of individual names in Admins and Moderators panels
Marcin's updates to ticket:
in UpgradeRolesForm.tsx
-upgradeMember endpoint - move upgrade member logic to hook that will be in state/api/members, similarly to fetch admin
in ManageRoles.tsx
-upgradeMember endpoint - move remove role logic to hook that will be in state/api/members, similarly to fetch admin
This is an extended ticket to account for scope creep from #6027
This ticket will: -clean up logic inside
AdminsAndModerators.tsx
around theuseFetchAdminQuery
-will instate new queries that refetch all users when scrolling through list of users, inside a community that has more than 100 members. -mobile view will be optimized through customization of these new stylings and specific components -longer imports will be changed to path aliases -fix spacing of "Members" -add hover functionality to change background color of individual names in Admins and Moderators panelsMarcin's updates to ticket: in UpgradeRolesForm.tsx -upgradeMember endpoint - move upgrade member logic to hook that will be in state/api/members, similarly to fetch admin in ManageRoles.tsx -upgradeMember endpoint - move remove role logic to hook that will be in state/api/members, similarly to fetch admin