mattermost-mobile/app/products
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
..
agents Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00
calls [MM-67173] to-fix: skip flaky playIncomingCallsRinging test in calls state (#9415) 2026-01-15 10:52:05 -04:00
playbooks [MM-67361] Hide playbook (#9478) 2026-01-29 11:58:58 +01:00