Skip to content

Add Focus Mode feature#2715

Open
smhvigorously wants to merge 1 commit into
minbrowser:masterfrom
smhvigorously:master
Open

Add Focus Mode feature#2715
smhvigorously wants to merge 1 commit into
minbrowser:masterfrom
smhvigorously:master

Conversation

@smhvigorously

Copy link
Copy Markdown

Summary

  • Implements a Focus Mode for distraction-blocking
  • Adds dedicated CSS (css/focusMode.css) and expanded JS logic (js/focusMode.js)
  • Adds UI elements to the main window and settings page

Test plan

  • Toggle Focus Mode on/off from settings
  • Verify blocked sites are inaccessible while focus mode is active
  • Verify UI indicators appear correctly in the toolbar

🤖 Generated with Claude Code

Implements focus/distraction-blocking mode with its own CSS, JS logic, UI elements, and settings integration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@PalmerAL

Copy link
Copy Markdown
Collaborator

This seems like a neat idea, but I think we'd need to come up with a more sophisticated/accurate way of tracking whether you're on goal than the relevance scoring function in this PR. I also expect we'd want to integrate this with the existing feature named "focus mode".

I cant find it right now, but a while ago I had a branch where I tested taking the text content of the page, mapping each word to a vector in a set of word embeddings, and summing them. It was pretty accurate at identifying if two pages were related; perhaps you could do something similar here.

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.

3 participants