Skip to content

feat(actions): adds optional Actions tab toggle#102

Merged
wgordon17 merged 7 commits into
gordon-code:mainfrom
wgordon17:worktree-feat+optional-actions-tab
May 4, 2026
Merged

feat(actions): adds optional Actions tab toggle#102
wgordon17 merged 7 commits into
gordon-code:mainfrom
wgordon17:worktree-feat+optional-actions-tab

Conversation

@wgordon17
Copy link
Copy Markdown
Member

Summary

  • Adds enableActions boolean config flag (default true) to let users disable the Actions tab
  • Skips all workflow run API calls when disabled (full poll, targeted refresh, hot poll)
  • Hides Actions tab, actions-based custom tabs, and running count from PersonalSummaryStrip

Closes #97

wgordon17 added 7 commits May 3, 2026 16:29
Add enableActions boolean to ConfigSchema (default true). When disabled:
- Skip all workflow run API calls (full poll, targeted refresh, hot poll)
- Hide Actions tab and actions-based custom tabs from TabBar
- Suppress workflowRuns notifications and disable related settings
- Surface 'Actions monitoring disabled' in MCP relay and server tools
- Clear stale cached workflow data and hot run sets on disable
- Reset notification and events state on re-enable
Strips workflowRuns at the store-write site when enableActions is
false, preventing in-flight poll results from leaking stale data.
Also adds length guard to SEC-004 effect to skip redundant produce()
calls when workflowRuns is already empty.
Prevents in-flight poll data from seeding hot run sets or persisting
to localStorage cache when enableActions is false at write time.
Deduplicates the actions-tab check predicate from 4 inline sites to
one isActionsBasedTab helper. Adds enableActions guard to phase-1
store write and handleTargetedData merge for defense-in-depth.
Clarifies the toggle controls dashboard display, not GitHub Actions
itself. Updated description mentions both API savings and dashboard
simplification.
SEC-004/SEC-010 references are swarm audit trail identifiers that
have no meaning in production code.
- Add enableActions to GET_CONFIG relay response
- Handle disabled sentinel in WebSocketDataSource.getFailingActions
- Add enableActions prop to PersonalSummaryStrip
- Set hasPRActivity for PushEvent in parseRepoEvents
- Extract isActionsBasedTab to shared schemas.ts
- Remove unused actionsMonitoringDisabled from DashboardSummary
- Add enableActions gating tests for MCP data-source and tools
- Add custom tab reset and dropdown filtering tests
- Update USER_GUIDE.md with Actions toggle documentation
@wgordon17 wgordon17 marked this pull request as ready for review May 4, 2026 15:16
@wgordon17 wgordon17 merged commit e8575d6 into gordon-code:main May 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support disabling the Actions tab to save API calls

1 participant