* Add new team picker for search * try fix result header * fix style * add test for team picker * add some tests * add tests on team list and team list item * hide All Teams search behind FF * use style variable for separator * ALL TEAMS does not have a search history * Update app/components/team_list/index.test.tsx Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * move ALL_TEAMS_ID to a constant file * memoize the construction of team list to prevent useless allocation * combine pushes * move style to stylesheet * revert changes to Package.resolved * improve team list index tests * add test to ensure team picker does not show for just one team * add test to ensure the file icon filter only shows when i'm on the file tab * improve jsx readability by making the if test positive * add test to make sure team picket does not show if there's only one team * test: remove snapshot and add expect that separator exists in index 0 but index 1 (#8474) * Trigger Build --------- Co-authored-by: Elias Nahum <nahumhbl@gmail.com> Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
8 lines
184 B
TypeScript
8 lines
184 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const ALL_TEAMS_ID = '';
|
|
|
|
export default {
|
|
ALL_TEAMS_ID,
|
|
};
|