mattermost-mobile/app
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
..
actions fix: prevent removal of pre-auth secret on logout (#9411) 2026-01-27 15:52:37 +01:00
client Add guest invites (#9288) 2025-12-11 17:21:18 +01:00
components Add DialogRouter for Interactive Dialog to Apps Form migration (#9114) 2026-01-26 08:57:56 -07:00
constants Add DialogRouter for Interactive Dialog to Apps Form migration (#9114) 2026-01-26 08:57:56 -07:00
context New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30
database fix: prevent removal of pre-auth secret on logout (#9411) 2026-01-27 15:52:37 +01:00
helpers Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
hooks Fix: Keyboard opens on android when clicked on switch to keyboard btn in emoji picker (#9464) 2026-01-26 18:20:55 +05:30
i18n Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
init fix: prevent removal of pre-auth secret on logout (#9411) 2026-01-27 15:52:37 +01:00
managers Add DialogRouter for Interactive Dialog to Apps Form migration (#9114) 2026-01-26 08:57:56 -07:00
products [MM-67361] Hide playbook (#9478) 2026-01-29 11:58:58 +01:00
queries Burn On Read Posts (#9307) 2025-12-11 09:42:16 +05:30
screens [MM-67361] Hide playbook (#9478) 2026-01-29 11:58:58 +01:00
store New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30
utils Add DialogRouter for Interactive Dialog to Apps Form migration (#9114) 2026-01-26 08:57:56 -07:00