mattermost-mobile/app/constants
Kyriakos Z 2645f7e66e
MM-39710: saved posts screen and DB (#6020)
* MM-39710: saved posts screen and DB

- Adds ids of saved posts to the systems table, as we do with recent
mentions.
- Adds a new remote action to fetch saved posts (getFlaggedPosts).
- Adds a new screen to display those in a mobile.
- Displays saved posts in the tablet view next to profile card.

* Uses Preferences instead of System table

Renames to saved posts wherever possible

* Adds text to localization file

* Fixes fetching/saving saved posts

* Refactor mini post to components folder

* Fixes hooks dependencies according to review

* Removes unnecessary 'withObservables'

* Small refactor

* Satisfies linter

* Adds empty state

And fixes empty state icon to be theme sensitive.
Both recent_mentions and saved_posts.

* Fixes empty screen's alignment

* Add missing preference

* add missing translation strings

* remove unused database type definition

* Fetch newly saved post

* Fix return type for client.getSavedPosts

* Remove usage of lodash compose

* Rename get remote actions to fetch

* Include close button for savedPost modal

* fix tablet view for SavePosts and use lottie loading indicator

* Render post with content for save posts and recent mentions

* post list viewable items type definition

* Add layout width to post content for saved post screen

* Use PostWithChannel and viewableItems for saved posts and recent mentions

* Layout margin of 20

* openGraphImage margin

* Fix openGraphImage display

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-12 16:40:24 -03:00
..
about_links.ts Barebones code for v2 2020-11-17 14:20:58 -03:00
action_type.ts [MM-39708] Gekidou Thread Screen (#6015) 2022-03-10 10:45:30 -03:00
apps.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
autocomplete.ts [Gekidou] [MM-39682] Add channel autocomplete (#5998) 2022-03-03 11:01:12 +01:00
custom_status.ts Gekidou - Account Screen (#5708) 2021-10-12 19:24:24 +04:00
database.ts [Gekidou MM-39707] CRT DB (#5948) 2022-03-03 22:47:29 +05:30
deep_linking.ts [Gekidou] Post input (#5844) 2022-02-03 08:59:15 -03:00
device.ts Upgrade unimodules with expo to use expo-file-system 2021-11-06 18:08:22 -03:00
emoji.ts [Gekidou] Avoid technical debt (#5795) 2021-10-28 10:15:17 -03:00
events.ts MM-39710: saved posts screen and DB (#6020) 2022-03-12 16:40:24 -03:00
files.ts [Gekidou] Add Draft Upload Manager (#5910) 2022-02-01 17:26:26 +01:00
gallery.ts [Gekidou] Gallery (#6008) 2022-03-01 13:55:44 -03:00
general.ts [Gekidou] [MM-39718] Add Create DM screen (#5900) 2022-03-11 12:57:31 -03:00
image.ts Barebones code for v2 2020-11-17 14:20:58 -03:00
index.ts [Gekidou] Sidebar Categories FlatList Optimisations (#6031) 2022-03-08 18:16:58 -03:00
list.ts [Gekidou] Sidebar Categories FlatList Optimisations (#6031) 2022-03-08 18:16:58 -03:00
navigation.ts Rename NAVIGATION_CLOSE_MODAL as CLOSE_BOTTOM_SHEET constant (#5952) 2022-02-10 13:15:02 -03:00
network.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
permissions.ts [Gekidou] Avoid technical debt (#5795) 2021-10-28 10:15:17 -03:00
post.ts [Gekidou] Handle post related websocket events (#5851) 2022-01-24 12:43:21 +01:00
post_draft.ts [MM-39708] Gekidou Thread Screen (#6015) 2022-03-10 10:45:30 -03:00
preferences.ts MM-39710: saved posts screen and DB (#6020) 2022-03-12 16:40:24 -03:00
profile.ts MM-40364 [Gekidou] - Image Picker for Edit Profile (#5901) 2022-01-28 16:06:50 +04:00
reaction_picker.ts Barebones code for v2 2020-11-17 14:20:58 -03:00
screens.ts MM-39710: saved posts screen and DB (#6020) 2022-03-12 16:40:24 -03:00
server_errors.ts [Gekidou] Post input (#5844) 2022-02-03 08:59:15 -03:00
sso.ts [Gekidou] MM-39736 Login Flow (#5799) 2021-11-18 22:07:41 +01:00
supported_server.ts [Gekidou] Avoid technical debt (#5795) 2021-10-28 10:15:17 -03:00
view.ts [Gekidou] Post input (#5844) 2022-02-03 08:59:15 -03:00
websocket.ts [Gekidou MM-39729] Websocket Events - Groups (#5930) 2022-03-01 10:13:45 -06:00