mattermost-mobile-upstream/app/actions/remote/entry
Mattermost Build 18d5bfbac9
Some checks are pending
ci / lint-typecheck (push) Waiting to run
ci / detox-lint-typecheck (push) Waiting to run
ci / test (push) Waiting to run
fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) (#10227)
* fetch roles during entry to avoid UI observing inconsistent channel states

first time channels are fetched for a team, roles should also be fetched at
the same time instead of only relying in deferred fetch. That avoids having
channels observed by the UI in an inconsistent state and rendering as read
only channels.

During reconnection the non forced entry fetch roles is a no-op since force is
set to false.

* separate fetch roles promise to log errors

* returns not empty models in test

(cherry picked from commit 462514347e)

Co-authored-by: Carlos Garcia <carlos.garcia@mattermost.com>
2026-10-07 19:23:27 +03:00
..
app.test.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
app.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
common.test.ts fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) (#10227) 2026-10-07 19:23:27 +03:00
common.ts fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) (#10227) 2026-10-07 19:23:27 +03:00
deferred.test.ts Guard long-running DB chains against RUNNINGBOARD 0xdead10cc on iOS (#10110) (#10133) 2026-09-07 08:26:32 +03:00
deferred.ts Guard long-running DB chains against RUNNINGBOARD 0xdead10cc on iOS (#10110) (#10133) 2026-09-07 08:26:32 +03:00
index.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
login.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
notification.test.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
notification.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00