Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MM-14906] Add TeamMembers block which builds off of UserGrid and Dat…
…aGrid (mattermost#5469) * MM-21730 Create UserGrid < DataGrid and add to team_channel_settings page * MM-21730 Hide columns as width shrinks * MM-14906 Add team members component * MM-21731 Add base user grid component * MM-21730 Data grid styling changes * MM-14906 Add team members block changes * MM-21731 Add user grid name remove and role components * MM-14906 Add ability to update roles on team members block * MM-21731 Add ability to update channel or team roles on user grid * MM-21730 Types and styling fixes for DataGrid * MM-21730 Data grid tests and styling changes * User grid iteration * Add searchProfilesAndTeamMembers and allow all team memberships to be reloaded * Add ability to add users to team members block * Add users to team modal component * Remove unneeded change * Consolidate empty and loading styles into datagrid * Fix translations * Import selector for selectProfilesNotInTeam * Update redux * Fix tests * Styling for new * Move DataGrid out of widgets * Use existing num people remaining * Add some snapshot tests for user grid component * Add some snapshot tests for user grid component * Fix linting * Add tests for add users to team modal * Add some more tests * Handle search in the team members block using search selector * Set private and public methods * Fix i18n * Make tested methods public * Styling changes for the new badge * Scope styling changes to user grid * Fix type check and update redux * Update user grid snapshots * Apply changes from code review * Default value for search * Update redux * Allow memberships to be updated before saving a newly created user * Fix nasty infinite loading bug * Add tests for team_members * Add missing header * Use a constant and fix localized default message * Dont set user role for guests * Redirect after save as requested by Michael * Set navigation blocked and clear search on load * Add search to team members * Updat redux hash * Set min height so that loading spinner is not jerky, and always paginate * Restrict add users to team users to non guests * Dont need filters on getProfilesNotInTeam * Update redux * Fix translations for removing users on teams page * Update redux * Use BEM naming conventions * Use existing color css * Rename to rowsContainerStyles * Fix snaps
- Loading branch information