mattermost-mobile-upstream/app
Cursor Agent fb627ee63b
Share one roles query across the channel list header permissions
The header computed five team permissions, each with its own my_team
and roles queries, and all of them restarted on any write to the
current user or team record. Add observeRolesForTeam, keyed on the team
id and role strings, share it in the header and derive each permission
from it. observePermissionForTeam now builds on the same helper.

Co-authored-by: Jesse Hallam <lieut-data@users.noreply.github.com>
2026-10-05 17:28:11 +00:00
..
actions Agents: fix stuck tool approvals, add AskUserQuestion, settle streamed replies (#10028) 2026-10-02 09:56:29 -07:00
client Mm 68296 audit ephemeral mode events (#10139) 2026-09-23 13:48:14 +02:00
components Share the my channel observable across each channel list row 2026-10-05 17:23:56 +00:00
constants Mm 68293 ephemeral mode warnings (#10140) 2026-10-01 18:13:22 +02:00
context Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
database Mm 70299 channel labels display phase 1 (#10113) 2026-09-17 21:37:43 +02:00
helpers Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
hooks Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
i18n Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
init Mm 68296 audit ephemeral mode events (#10139) 2026-09-23 13:48:14 +02:00
keyboard Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
managers Mm 68293 ephemeral mode warnings (#10140) 2026-10-01 18:13:22 +02:00
products Agents: fix stuck tool approvals, add AskUserQuestion, settle streamed replies (#10028) 2026-10-02 09:56:29 -07:00
queries Share one roles query across the channel list header permissions 2026-10-05 17:28:11 +00:00
routes Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
screens Share one roles query across the channel list header permissions 2026-10-05 17:28:11 +00:00
store Mm 70299 channel labels display phase 1 (#10113) 2026-09-17 21:37:43 +02:00
utils Share current user, current team, config and license observables per database 2026-10-05 17:23:56 +00:00