mattermost-mobile/app/constants/index.ts
Julien Tant fb9760151c
[MM-60405] Crossteam search (#8411)
* 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>
2025-02-05 13:46:38 -07:00

82 lines
2 KiB
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import ActionType from './action_type';
import Apps from './apps';
import Calls from './calls';
import Categories from './categories';
import Channel from './channel';
import Config from './config';
import Database from './database';
import DateTime from './datetime';
import DeepLink from './deep_linking';
import Device from './device';
import Emoji from './emoji';
import Events from './events';
import Files from './files';
import General from './general';
import Integrations from './integrations';
import Launch from './launch';
import License from './license';
import List from './list';
import Members from './members';
import Navigation from './navigation';
import Network from './network';
import NotificationLevel from './notification_level';
import Permissions from './permissions';
import Post from './post';
import PostDraft from './post_draft';
import Preferences from './preferences';
import Profile from './profile';
import PushNotification from './push_notification';
import PushProxy from './push_proxy';
import Screens from './screens';
import ServerErrors from './server_errors';
import SnackBar from './snack_bar';
import Sso from './sso';
import SupportedServer from './supported_server';
import Team from './team';
import Tutorial from './tutorial';
import View from './view';
import WebsocketEvents from './websocket';
export {
ActionType,
Apps,
Calls,
Categories,
Channel,
Config,
Database,
DateTime,
DeepLink,
Device,
Emoji,
Events,
Files,
General,
Integrations,
Launch,
License,
List,
Members,
Navigation,
Network,
NotificationLevel,
Permissions,
Post,
PostDraft,
Preferences,
Profile,
PushNotification,
PushProxy,
Screens,
ServerErrors,
SnackBar,
Sso,
SupportedServer,
Team,
Tutorial,
View,
WebsocketEvents,
};