mattermost-mobile/app
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
..
actions Add tests to actions/remote/user (#8273) 2024-10-21 11:12:42 -04:00
client Send notification status information to the server (#8060) 2024-09-12 16:52:52 +02:00
components MM-59973: fix the emoji count 0 issue when archive and unarchive chan… (#8146) 2024-10-23 16:17:37 +05:30
constants Add support for Auth Scheme customization (#8261) 2024-10-23 08:44:12 +08:00
context Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
database fix bookmarks sort order when WS does not bump update_at (#8264) 2024-10-17 09:05:01 +08:00
helpers Fix handlePreferences warning (#7556) 2023-09-28 14:51:01 -04:00
hooks Various Fixes (#8212) 2024-09-13 04:46:15 +08:00
i18n Loads the correct translation file 2024-01-31 08:23:26 +01:00
init fix cannot read data when opening a deeplink (#8109) 2024-07-27 03:37:57 +08:00
managers Native set load measured (#8242) 2024-10-14 16:07:06 +02:00
products/calls Update calls-common (#8255) 2024-10-11 13:47:49 -06:00
queries fix bookmarks sort order when WS does not bump update_at (#8264) 2024-10-17 09:05:01 +08:00
screens Add support for Auth Scheme customization (#8261) 2024-10-23 08:44:12 +08:00
store Add GM as DM feature support (#7515) 2023-09-26 18:35:40 +02:00
utils Add utils/post_list unit tests (#8265) 2024-10-18 12:45:08 +08:00