mattermost-mobile/app/screens/home
Guillermo Vayá d014856a3a
[MM-67361] Hide playbook (#9478)
* feat: hide Playbooks button when no running playbook runs in team

The PlaybooksButton on the home screen channel list now only appears
when there is at least one in-progress playbook run in the current team,
in addition to requiring the playbooks feature to be enabled.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* improve team query

* test: add unit tests for observeHasRunningPlaybookRunsInTeam query

Add tests to verify the new query correctly:
- Returns true when running playbook runs exist (end_at = 0)
- Returns false when all runs are finished (end_at > 0)
- Returns false when no runs exist
- Filters by team_id correctly

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:58:58 +01:00
..
account Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
channel_list [MM-67361] Hide playbook (#9478) 2026-01-29 11:58:58 +01:00
recent_mentions Updated empty state images (#8659) 2025-03-13 17:03:30 -04:00
saved_messages Updated empty state images (#8659) 2025-03-13 17:03:30 -04:00
search fix(MM-64763): search page doesn't clear hashtag on search input (#9194) 2025-10-10 10:51:56 -06:00
tab_bar Add model mocks to TestHelper (#8715) 2025-03-28 09:40:08 +01:00
index.tsx New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30