mattermost-mobile/app/components
Rajat Dabade e4dc8dbbfe
MM-59973: fix the emoji count 0 issue when archive and unarchive chan… (#8146)
* MM-59973: fix the emoji count 0 issue when archive and unarchive channels

* ref to null and initialing it

* refactor: added a safe condition

* refactor code

* more clean up

* clean-ups

* index to tosting as a key to component

* refactor code

* fix: (MM-59973) emoji count 0 update (#8256)

* reversed from all useMemo to useMemo + useEffect
* tried to include everything into useMemo was an anti-pattern
* moved back to useMemo + useEffect
* previousNumber and animateToNumber comparison has some flaw when dealing with difference length between the two

* simple fix

* fix more silly mistakes

* move _previousNumberString to constant

* Test: increase timeout-minutes to 120 for e2e test

* reverted the timeout-minutes back to 40

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-23 16:17:37 +05:30
..
animated_number MM-59973: fix the emoji count 0 issue when archive and unarchive chan… (#8146) 2024-10-23 16:17:37 +05:30
announcement_banner Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
app_version Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
autocomplete Restore out of channel and some cleanup (#8050) 2024-07-09 11:31:31 +02:00
autocomplete_selector Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
badge Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
button MM-60534 -fix rate my app broken styles (#8232) 2024-09-30 18:17:11 +02:00
channel_actions Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
channel_bookmarks Various Fixes (#8212) 2024-09-13 04:46:15 +08:00
channel_icon Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
channel_item Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
channel_list_row Update Dependencies and bug fixes (#7000) 2023-01-24 09:14:23 +02:00
common_post_options Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
compass_icon [Gekidou] compass icons (#5940) 2022-02-08 16:16:30 -03:00
connection_banner Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
custom_status Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
document Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
emoji Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
error_text Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
files Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
files_search Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
floating_text_chips_input MM-53479 : Improve design of keyword that trigger notification in mobile (#7458) 2024-01-13 06:56:22 +00:00
floating_text_input_label Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
formatted_date Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
formatted_markdown_text Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
formatted_relative_time Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
formatted_text Use UUID native functions (#8032) 2024-06-20 18:22:59 +08:00
formatted_time Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
freeze_screen [Gekidou] optimizations, fix & moved files (#6177) 2022-04-18 08:49:17 -04:00
friendly_date Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
illustrations MM-42835_Invite People - add email+user invites 2022-12-16 10:45:48 -05:00
jumbo_emoji Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
loading Add performance metrics to the app (#7953) 2024-06-12 09:45:27 +02:00
loading_error Update Dependencies and bug fixes (#7000) 2023-01-24 09:14:23 +02:00
markdown MM-60425 Making clickable images work inside Markdown (#8215) 2024-10-07 15:57:26 -04:00
math_view Fix MM57562 (#7920) 2024-05-06 12:02:12 +02:00
navigation_header fix: MM-58164 Search text is behind the textbox while searching (#8026) 2024-09-05 11:28:00 -06:00
no_results_with_term Cleanup 2023-11-09 17:23:48 +05:30
option_box Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
option_item Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
other_mentions_badge Add badge to thread screen (#7404) 2023-06-20 09:37:24 +02:00
post_draft Quick fix for post input not capitalizing the start of sentences (#8168) 2024-08-26 10:48:44 +02:00
post_list update dependencies (#8131) 2024-08-12 09:15:49 +03:00
post_priority [MM-49540] Message Priority Phase 3 (#7142) 2023-04-27 11:22:03 +00:00
post_with_channel_info Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
profile_picture Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
progress_bar Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
progressive_image Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
remove_markdown fix: render channel links in threads list (#8205) 2024-10-11 00:55:24 -06:00
rounded_header_context [Gekidou] Navigation bar refactored (#6319) 2022-06-01 17:07:54 -04:00
search Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
selected_chip MM-53479 : Improve design of keyword that trigger notification in mobile (#7458) 2024-01-13 06:56:22 +00:00
selected_users Remove unneeded padding on the FindChannels screen on Android (#7368) 2023-05-23 17:33:37 -04:00
server_icon MM-37809 Update Default Themes (#7907) 2024-04-24 06:54:09 +08:00
server_user_list Thread crash fix and other UI fixes (#7342) 2023-05-11 09:35:11 -04:00
server_version Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
settings Fixed Interactive dialog radio buttons style (#7331) 2023-05-18 12:39:01 +02:00
slide_up_panel_item Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
status_label Update Dependencies and bug fixes (#7000) 2023-01-24 09:14:23 +02:00
syntax_highlight Fix MM55258 (#7729) 2024-01-15 10:19:33 +01:00
system_avatar [Gekidou] post list (#5893) 2022-01-17 07:06:26 -03:00
system_header remove usages of isTimeZoneEnabled (#7769) 2024-01-30 13:22:55 +01:00
tablet_title Detox/E2E: Account e2e tests in Gekidou (#6584) 2022-08-18 03:18:46 -07:00
tag Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
team_list Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
team_sidebar Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
threads_button added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
toast Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
touchable_emoji Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
touchable_with_feedback Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
tutorial_highlight Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
user_avatars_stack Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
user_item Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
user_list update dependencies (#8131) 2024-08-12 09:15:49 +03:00
user_list_row MM-54575 fix server & user list tutorials (#7698) 2023-12-06 15:41:04 +08:00
user_status [Gekidou] update deps (#6667) 2022-10-13 08:41:18 -03:00