mattermost-mobile/app/database/models/server
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.ts [Gekidou] push notifications (#5779) 2021-10-27 17:53:11 -03:00
channel_info.ts [Gekidou] Login entry point (#5568) 2021-07-26 12:03:43 +04:00
channel_membership.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
custom_emoji.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
draft.ts Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
file.ts Gekidou fixes (#5748) 2021-10-13 14:13:39 -03:00
group.ts Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
group_membership.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
groups_channel.ts Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
groups_team.ts [Gekidou] groups (#5593) 2021-08-05 19:03:46 +04:00
index.ts [Gekidou]: MM-39757 - Recent mentions (#5823) 2021-12-16 12:26:43 +02:00
my_channel.ts [Gekidou] push notifications (#5779) 2021-10-27 17:53:11 -03:00
my_channel_settings.ts [Gekidou] Login entry point (#5568) 2021-07-26 12:03:43 +04:00
my_team.ts Gekidou teamsidebar (#5718) 2021-10-15 04:55:02 -03:00
post.ts Upgrade deps (#5796) 2021-10-29 14:38:20 -03:00
posts_in_channel.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
posts_in_thread.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
preference.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
reaction.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
role.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
slash_command.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
system.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
team.ts Gekidou teamsidebar (#5718) 2021-10-15 04:55:02 -03:00
team_channel_history.ts [Gekidou] Login entry point (#5568) 2021-07-26 12:03:43 +04:00
team_membership.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
team_search_history.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
terms_of_service.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
user.ts [Gekidou]: MM-39757 - Recent mentions (#5823) 2021-12-16 12:26:43 +02:00