Skip to content

feat: add Always Working Mode toggle#7

Open
jakubdusek wants to merge 1 commit intoT3-Content:mainfrom
jakubdusek:feature/always-working-mode
Open

feat: add Always Working Mode toggle#7
jakubdusek wants to merge 1 commit intoT3-Content:mainfrom
jakubdusek:feature/always-working-mode

Conversation

@jakubdusek
Copy link

Summary

  • Add "Always Working Mode" toggle to options page that blocks sites unless ALL Claude Code sessions are actively working
  • Improve blocking modal to show "X of Y sessions idle" for better context
  • Setting persists in Chrome sync storage and takes effect immediately

Test plan

  • Toggle appears in options page and can be switched on/off
  • Setting persists after page refresh
  • With mode OFF: 1 working + 1 idle session = sites NOT blocked
  • With mode ON: 1 working + 1 idle session = sites BLOCKED
  • Blocking modal shows "2 of 3 sessions idle" format

Add a new "Always Working Mode" setting that blocks sites unless ALL
Claude Code sessions are actively working, rather than just requiring
at least one working session.

Changes:
- Add toggle switch to options page with persistent storage
- Update service worker blocking logic for new mode
- Improve blocking modal to show "X of Y sessions idle" instead of
  just session count
- Add storage change listener for instant toggle effect
@jakubdusek jakubdusek force-pushed the feature/always-working-mode branch from d53664d to 982b557 Compare January 6, 2026 19:58
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.

1 participant