Redesign popup + overlay sidebar + Bauhaus tokens#4
Open
ma8642 wants to merge 7 commits into
Open
Conversation
Introduces useTracker composable that records overlay_shown, intention_kept, and unblock events to chrome.storage.local with a 90-day rolling window. Adds foqusEvents to storage defaults. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Introduces useStats composable that computes streak count, intentions kept (total + today), unblocks today, and weekly unblock trend from the event log. Includes getAllEventsForExport for data export. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Records overlay_shown when overlay appears, intention_kept when user clicks a suggestion or navigates away, and unblock when user unblocks. Adds beforeunload listener to capture intention_kept on tab close. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Shows streak count, total intentions kept, and kept today in a compact grid. Displays positive weekly trend message when unblocks decrease. Panel only appears once tracking data exists. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds DataExport component in the settings drawer with buttons to download all tracked events as JSON or CSV. Uses Blob URLs for client-side download. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Full build spec for a single-page marketing site covering hero, problem statement, differentiators, personas, features, pricing, privacy, and competitor comparison. Includes brand voice and design notes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…th Bauhaus design system Popup: replace accordion layout with [lists]/[settings] tab navigation, show single site list based on active mode, remove description banner, add max-height with scroll. Overlay: add slide-out sidebar with site management, stats, and settings on the blocker page. Design system: add Bauhaus tokens (Ink, Peach, Sage, Seafoam, Sand, Umber), switch to Sora + Noto Sans Mono font stack. Fix www. URL matching so etsy.com matches www.etsy.com. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
www.prefix soetsy.commatcheswww.etsy.comand vice versa.Test plan
dist/as unpacked extension in Chromeetsy.com) and visit it — verify overlay blocks with sidebar trigger visiblewww.matching: addyoutube.com, visitwww.youtube.com— should block🤖 Generated with Claude Code