Skip to content

refactor: Remove focus mode (consensus 4-1 to remove)#115

Merged
williamzujkowski merged 1 commit intomainfrom
fix/remove-focus-mode
Mar 31, 2026
Merged

refactor: Remove focus mode (consensus 4-1 to remove)#115
williamzujkowski merged 1 commit intomainfrom
fix/remove-focus-mode

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Consensus voted 4-1 to remove focus mode. It added JS overhead, caused a UX trap bug, and duplicates browser reader mode. Removes all focus mode code.

Consensus vote 4-1 to remove. Reasons:
- Added ~50 lines of inline JS to every page load
- Introduced a UX trap bug (can't exit when sidebar hidden)
- Duplicates browser-native reader mode / F11 fullscreen
- Content area already well-sized at 72-80ch
- Speculative feature (not user-requested), maintenance burden
- YAGNI: localStorage state, dual toggle buttons, CSS class on html

Removes: focus-mode CSS, toggle button, exit button, localStorage
persistence, init script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamzujkowski williamzujkowski merged commit bff14b1 into main Mar 31, 2026
@williamzujkowski williamzujkowski deleted the fix/remove-focus-mode branch March 31, 2026 03:20
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