* [Gekidou]: MM-39757 - Recent mentions * Refactor channel_info to a separate component * Fixes schema tests * Fixes channel_info theme color * Removes RECEIVED_MENTIONS table and model Removes RECEIVED_MENTIONS table and model and saves recent_mentions in the SYSTEM table under the recentMentions ID. * Cleanup recent_mentions handler * Adds i18n in recent_mentions screen * Observe changes on the post messages * Addresses review comments * Batches records * Addresses review comments * Addresses review comments * Addresses review comments * Addresses review comments * Fetches channels and users needed for mentions Fetching mentions from all teams might result in missing info like user profiles, and channels missing from the DB. This commit fetches all missing users and channels. * Adds empty state for recent mentions * Prepares all missing models for channels * Addresses review comments * Fixes mention keys for recent mentions User mention keys when asking for mentions should not include general purpose ones, like @channel, @all, @here. Fixes ActivityIndicator color in recent mentions screen. * Removes top margin of mention message * Addresses review comments * Fixes group.name undefined
30 lines
1.7 KiB
TypeScript
30 lines
1.7 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export {default as ChannelInfoSchema} from './channel_info';
|
|
export {default as ChannelMembershipSchema} from './channel_membership';
|
|
export {default as ChannelSchema} from './channel';
|
|
export {default as CustomEmojiSchema} from './custom_emoji';
|
|
export {default as DraftSchema} from './draft';
|
|
export {default as FileSchema} from './file';
|
|
export {default as GroupMembershipSchema} from './group_membership';
|
|
export {default as GroupSchema} from './group';
|
|
export {default as GroupsChannelSchema} from './groups_channel';
|
|
export {default as GroupsTeamSchema} from './groups_team';
|
|
export {default as MyChannelSchema} from './my_channel';
|
|
export {default as MyChannelSettingsSchema} from './my_channel_settings';
|
|
export {default as MyTeamSchema} from './my_team';
|
|
export {default as PostInThreadSchema} from './posts_in_thread';
|
|
export {default as PostSchema} from './post';
|
|
export {default as PostsInChannelSchema} from './posts_in_channel';
|
|
export {default as PreferenceSchema} from './preference';
|
|
export {default as ReactionSchema} from './reaction';
|
|
export {default as RoleSchema} from './role';
|
|
export {default as SlashCommandSchema} from './slash_command';
|
|
export {default as SystemSchema} from './system';
|
|
export {default as TeamChannelHistorySchema} from './team_channel_history';
|
|
export {default as TeamMembershipSchema} from './team_membership';
|
|
export {default as TeamSchema} from './team';
|
|
export {default as TeamSearchHistorySchema} from './team_search_history';
|
|
export {default as TermsOfServiceSchema} from './terms_of_service';
|
|
export {default as UserSchema} from './user';
|