mattermost-mobile/app/screens
Kyriakos Z b2d838d3da
MM-37110: handle toggling of CRT feature (#6382)
* MM-37110: handle toggling of CRT feature

When a user toggles CRT on/off the app should truncate affected tables,
and re-fetch data.

Truncated tables:
- POST
- POSTS_IN_CHANNEL
- POSTS_IN_THREAD
- THREAD
- THREADS_IN_TEAM
- THREAD_PARTICIPANT
- MY_CHANNEL

After truncation `entry` is called again. We must make sure though that
we save the CRT change before calling `entry` again, or we end up with
infinite recursion.

PS the UI seems to handle the change rather good

* Fixes appEntry and popToRoot

* Small refactor

* Fixes since param on appEntry

* Further refactoring

* Delete unneeded return type

* Removes shouldPopToRoot from appEntry

* Addresses review comments
2022-07-07 12:19:02 +02:00
..
about [Gekidou] Extract common observers to queries (#5984) 2022-03-23 09:19:29 -03:00
apps_form MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
bottom_sheet MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
browse_channels MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
channel Detox/E2E: Messaging (at-mentions, channel mentions, autocomplete etc) e2e tests in Gekidou (#6428) 2022-07-05 10:01:46 -07:00
channel_info Detox/E2E: Messaging (at-mentions, channel mentions, autocomplete etc) e2e tests in Gekidou (#6428) 2022-07-05 10:01:46 -07:00
code [Gekidou] Code syntax highlight (#6156) 2022-04-12 08:59:50 -04:00
create_direct_message MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
create_or_edit_channel MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
custom_status Fix theming and navigation stack tracking (#6443) 2022-06-30 11:14:07 -04:00
custom_status_clear_after [Gekidou] cleanup fixes (#6376) 2022-06-13 08:07:24 -04:00
edit_post MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
edit_profile MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
edit_server Remove ts-expect-error regarding legacy refs (#6317) 2022-05-31 07:42:34 +02:00
emoji_picker MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
find_channels Detox/E2E: Messaging (at-mentions, channel mentions, autocomplete etc) e2e tests in Gekidou (#6428) 2022-07-05 10:01:46 -07:00
forgot_password [Gekidou] pinned posts (#6336) 2022-06-03 09:27:45 -04:00
gallery Changes padding to margin, and sets 32 (#6438) 2022-06-29 11:04:07 +10:00
global_threads [Gekidou] user profile (#6353) 2022-06-06 11:27:25 -04:00
home MM-37110: handle toggling of CRT feature (#6382) 2022-07-07 12:19:02 +02:00
in_app_notification MM-39711 - Gekidou Settings Timezone (#6384) 2022-06-24 06:52:05 -04:00
interactive_dialog [Gekidou] user profile (#6353) 2022-06-06 11:27:25 -04:00
latex [Gekidou] Add Latex support (#6195) 2022-04-28 12:27:10 -04:00
login Ease the way the keyboard can be dismissed in the login screen (#6341) 2022-06-03 08:10:51 -04:00
mfa Substitute all console.x by an appropiate log util function (#6427) 2022-06-24 10:26:40 -04:00
permalink MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
pinned_messages MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
post_options Fix theming and navigation stack tracking (#6443) 2022-06-30 11:14:07 -04:00
reactions Detox/E2E: Messaging (at-mentions, channel mentions, autocomplete etc) e2e tests in Gekidou (#6428) 2022-07-05 10:01:46 -07:00
select_team Comment out create team options until we have a create team screen (#6310) 2022-05-26 14:39:02 +02:00
server Remove ts-expect-error regarding legacy refs (#6317) 2022-05-31 07:42:34 +02:00
settings MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
snack_bar [Gekidou] Add saved messages to bottom tab (#6367) 2022-06-09 15:19:24 -04:00
sso Substitute all console.x by an appropiate log util function (#6427) 2022-06-24 10:26:40 -04:00
table Render Tables in their own screen (#6356) 2022-06-07 09:50:55 -04:00
thread [Gekidou] Thread auto follow on receiving new post when user is in a NOT-FOLLOWING thread (#6448) 2022-06-30 20:34:28 +05:30
thread_options MM-45022 : Gekidou - Refactor code to use custom nav hooks (#6426) 2022-06-30 11:12:59 -04:00
user_profile Detox/E2E: Messaging (at-mentions, channel mentions, autocomplete etc) e2e tests in Gekidou (#6428) 2022-07-05 10:01:46 -07:00
background.tsx [Gekidou] MM-39736 Login Flow (#5799) 2021-11-18 22:07:41 +01:00
index.tsx MM-39711 - Gekidou Settings Timezone (#6384) 2022-06-24 06:52:05 -04:00
navigation.ts Fix theming and navigation stack tracking (#6443) 2022-06-30 11:14:07 -04:00