For a community when the "Roles" option is clicked in the community actions menu, we want to display a modal that lists each of the member counts and role names for that given community. The logic is similar to what was done on `native` in D8359.
Something to note about the `reduxThreadInfo` line of code is that it's used so after creating a role, then returning back to this modal, we want to pull in the latest `ThreadInfo` from the redux store so the modal can show the newly created role in the list of roles. Without this (as was a similar case in `native`), the new role will only show once the modal is closed and re-opened, since the props have not changed.
Additional note: any common / shared logic between `web` and `native` are tracked to be extracted to a shared utils file in [[
https://linear.app/comm/issue/ENG-4443/[follow-up]-extract-shared-logic-between-web-and-native-to-utils | ENG-4443 ]] to not delay this goal.
[[ https://linear.app/comm/issue/ENG-4426/create-a-community-roles-modal-to-display-all-roles-and-member-counts | ENG-4426 ]]
Depends on D8592