From 70da1600756fc91a5e7042bc6e6de6c594f88d55 Mon Sep 17 00:00:00 2001 From: Bastien Soret <99390284+bastiensoret@users.noreply.github.com> Date: Fri, 20 Mar 2026 10:24:44 +0100 Subject: [PATCH 1/4] Update icon paths in manifest.json --- manifest.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 520cde1..8b49c52 100644 --- a/manifest.json +++ b/manifest.json @@ -37,9 +37,10 @@ } }, "icons": { - "16": "icons/icon16.png", - "48": "icons/icon48.png", - "128": "icons/icon128.png" + "16": "static/icons/icon16.png", + "48": "static/icons/icon48.png", + "128": "static/icons/icon128.png" +} }, "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" From 912ebe2487938b6e4ea871cf7e2f8af7bcdb37c0 Mon Sep 17 00:00:00 2001 From: Bastien Soret <99390284+bastiensoret@users.noreply.github.com> Date: Fri, 20 Mar 2026 10:27:55 +0100 Subject: [PATCH 2/4] Change icon paths to static directory in manifest.json --- manifest.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 8b49c52..17deb95 100644 --- a/manifest.json +++ b/manifest.json @@ -31,16 +31,15 @@ "action": { "default_popup": "popup.html", "default_icon": { - "16": "icons/icon16.png", - "48": "icons/icon48.png", - "128": "icons/icon128.png" + "16": "static/icons/icon16.png", + "48": "static/icons/icon48.png", + "128": "static/icons/icon128.png" } }, "icons": { "16": "static/icons/icon16.png", "48": "static/icons/icon48.png", "128": "static/icons/icon128.png" -} }, "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" From ce43505bf0a0e9ee19ac0bf5fc5cb5443c519339 Mon Sep 17 00:00:00 2001 From: bastiensoret Date: Fri, 20 Mar 2026 13:33:28 +0100 Subject: [PATCH 3/4] =?UTF-8?q?fix(ui):=20responsive=20audit=20=E2=80=94?= =?UTF-8?q?=20accessibility,=20CSS=20isolation,=20and=20visual=20polish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace inline styles with CSS classes, add ARIA attributes and focus-visible rings, fix font sizes and contrast ratios, wire AbortController for overlay listener cleanup, and animate dismiss instead of display:none. Co-Authored-By: Claude Opus 4.6 --- CHANGELOG.md | 18 +++ src/content/ui/comment-prefill.js | 37 +++-- src/content/ui/overlay-manager.js | 219 +++++++++++++++++++----------- src/popup/popup.css | 71 +++++++--- src/popup/popup.html | 38 +++--- src/popup/popup.js | 38 ++++-- static/overlay.css | 200 +++++++++++++++++++++++---- 7 files changed, 451 insertions(+), 170 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13f92a4..2725a3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ All notable changes to César are documented here. - Bundle size reporting in build output (metafile) ### Fixed +- Comment prefill polls for editor (up to 2s) instead of fixed 500ms delay — fixes race on slow connections +- Comment prefill scopes broader search to same post ancestor — prevents injecting into wrong post - `escapeHTML` rewritten as pure string replacement — works in service workers (no `document` dependency) - `chrome.storage` wrappers now properly reject on `runtime.lastError` - LLM error handlers use `await` instead of `return` (errors were silently swallowed) @@ -22,6 +24,22 @@ All notable changes to César are documented here. - Removed stale `reason_fr` fallbacks from overlay manager and feed scanner ### Changed +- Overlay dismiss animates out (scale + fade) instead of `display: none` — smoother UX +- Inline styles replaced with CSS classes across overlay manager and popup (no more `style.color` in JS) +- All `!important` rules removed from overlay CSS — specificity fixed via selector weight +- Text arrows (`▼`) replaced with inline SVGs for cross-platform consistency +- AbortController wired to all overlay event listeners for proper cleanup on re-inject +- Overlay CSS resets font properties on `*` to prevent LinkedIn style bleed +- Popup: `html lang` changed from `fr` to `en`; scrollbar styled; `max-height` on reveal panel reduced +- Minimum font sizes raised to 11px across badges, labels, and footer for readability +- Low-contrast text colors bumped (`#606078` → `#9a9ab0`, `#3a3a4e` → `#9a9ab0`) +- Added `aria-label`, `aria-expanded`, `aria-controls`, and proper `