mattermost-mobile/app/utils
Kyriakos Z 675d8495b3
[Gekidou]: MM-39757 - Recent mentions (#5823)
* [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
2021-12-16 12:26:43 +02:00
..
channel [Gekidou] Login entry point (#5568) 2021-07-26 12:03:43 +04:00
document [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
draft Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
emoji Gekidou - Account Screen (#5708) 2021-10-12 19:24:24 +04:00
file Upgrade unimodules with expo to use expo-file-system 2021-11-06 18:08:22 -03:00
gallery [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
general MM-36721 - [GEKIDOU] Porting Markdown components (#5586) 2021-08-02 20:30:17 +04:00
images [Gekidou] Avoid technical debt (#5795) 2021-10-28 10:15:17 -03:00
markdown fixed OpenSans, added Metropolis fonts & modified post text styles (#5728) 2021-10-07 17:20:39 -03:00
notification [Gekidou] push notifications (#5779) 2021-10-27 17:53:11 -03:00
post [Gekidou]: MM-39757 - Recent mentions (#5823) 2021-12-16 12:26:43 +02:00
post_list [Gekidou]: MM-39757 - Recent mentions (#5823) 2021-12-16 12:26:43 +02:00
role [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
supported_server [Gekidou] Avoid technical debt (#5795) 2021-10-28 10:15:17 -03:00
tap MM-36721 - [GEKIDOU] Porting Markdown components (#5586) 2021-08-02 20:30:17 +04:00
theme [Gekidou] MM-39736 Login Flow (#5799) 2021-11-18 22:07:41 +01:00
url Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
user [Gekidou]: MM-39757 - Recent mentions (#5823) 2021-12-16 12:26:43 +02:00
apps.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
buttonStyles.ts [Gekidou] MM-39736 Login Flow (#5799) 2021-11-18 22:07:41 +01:00
client_error.ts Draft - Add Server Screen Gekidou Updates (#5663) 2021-10-29 19:14:55 -03:00
error_handling.ts Update v2 dependencies (#5312) 2021-04-14 10:55:29 -04:00
font_family.ts fixed OpenSans, added Metropolis fonts & modified post text styles (#5728) 2021-10-07 17:20:39 -03:00
helpers.ts [Gekidou]: MM-39757 - Recent mentions (#5823) 2021-12-16 12:26:43 +02:00
key_mirror.ts MM-35115 [Gekidou] Login flow - Email and Password (#5402) 2021-06-18 00:57:40 -04:00
mattermost_managed.ts Entry point when upgrading from v1 (#5707) 2021-10-01 09:56:28 +04:00
message_attachment_colors.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
mix.ts MM-30482 [Gekidou] Data Operator (#5346) 2021-04-22 19:16:00 +04:00
opengraph.js [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
opengraph.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
security.ts Integrate react-native-network-client (#5499) 2021-07-06 11:16:35 -04:00
sentry.ts Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
typography.ts Draft - Add Server Screen Gekidou Updates (#5663) 2021-10-29 19:14:55 -03:00