feat: P0 fixes, a11y, ⌘K, Copy for LLM, contrast, ZIP, crawl Full render - #4
Merged
Conversation
Cleanup (grep-confirmed 0-usage, no behavior change): - Remove parseShadow, detectTypeScaleRatio, parseComputedStyles, getElementPath, ColorToken.rgb/hsl, OPEN_SIDE_PANEL enum, dead GET/SET_PREFERENCES service-worker handlers; dedupe isPixelLensElement. Accessibility & polish: - focus-visible + aria-current on nav, aria-label on all icon-only buttons - prefers-reduced-motion (CSS media + GSAP guard helper) - text-dim contrast raised to AA (4.81:1) - unified logo (PixelLensLogo), real keyboard shortcuts (manifest suggested_key + mac) - brand accent left unchanged (user decision)
- Command palette (Cmd+K / Ctrl+K): fuzzy-search all destinations and actions, full keyboard nav, a11y dialog/combobox, reduced-motion aware, extensible command registry. - Copy for LLM: one-click bundle combining the page Markdown + extracted design system (colors/typography/spacing/shadows) + metadata, formatted for an AI context. Button in the Markdown view + popup quick action. - Unit tests 176 -> 193.
- Contrast checker: new view scoring the extracted palette's text/background pairs against WCAG AA/AAA (text labels, not color-only), reachable via nav and the Cmd+K palette. - Crawl export as ZIP (fflate 0.8.3): one .md per page + index.md, alongside the existing single-file mode. Toggle in the Crawl view. - Unit tests 193 -> 209.
- Each skipped URL now carries a reason (http-<status>, timeout, non-text, cross-origin, network, robots). CrawlView shows a breakdown, so 'everything skipped' is no longer silent. - fetchTextWithTimeout returns a discriminated result capturing the real HTTP status (http-403 = anti-bot, etc). - 'Respect robots.txt' toggle (default on): the user is a human on their own session; turn off to include disallowed pages. Hint shown when pages are blocked. - same-site matching (apex <-> www) instead of strict same-origin, so www-hosted sitemaps are no longer excluded. - Unit tests 209 -> 218.
…site display - Crawl 'Full' mode renders each page in a background tab so the site's JS runs, captures the rendered DOM via the content script's EXTRACT_MARKDOWN, then closes the tab. Fixes SPA sites that returned empty pages in fetch mode. Sequential, guaranteed tab cleanup, 20s per-page timeout, never steals focus. Fast/Full toggle + 'empty -> try Full' hint. Adds the 'tabs' permission. - Fix stale scan: the panel ties the shown scan/markdown to the active tab's URL; a non-destructive banner appears when showing a scan from another host (updates on tab switch thanks to the new tabs permission). - Unit tests 218 -> 245.
Copilot stopped reviewing on behalf of
vgtray due to an error
July 1, 2026 02:49
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.
Résumé
Suite de la PR #3 (mergée prématurément à l'état "crawl + settings + MV3 fixes"). Cette PR amène dans
mainles 5 commits restants : correctness P0, accessibilité, features (⌘K, Copy for LLM, contrast, ZIP) et le crawl Full pour les sites JS.Commits
Tests
🤖 Generated with Claude Code