From 93926bfbfc3bea03d7238921d83e21b1a1970d9b Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Tue, 3 Mar 2026 16:26:01 -0500 Subject: [PATCH] smart content collapsing for context overflow, spinner CSS, ticket updates fitPageContent() in content.js: 6 progressive collapse stages (dedup, nav links, references, lists, code blocks, sidebar debris) before hard truncation. No summarization, real content structurally compressed. Wired into both page extraction points in embed modal. Added .working pulse and .uncloseai-spinner CSS animations for #004. Updated tickets #001 (CSP root cause), #004 (CSS ready), #005 (fixed). --- docs/tickets/001-extension-fails-to-load.md | 12 +- docs/tickets/004-working-indicators.md | 13 +- .../005-context-overflow-silent-failure.md | 16 +- docs/tickets/index.md | 10 +- public/src/content.js | 210 ++++++++++++++++++ public/src/uncloseai-embed-modal.js | 14 +- public/src/uncloseai-modal-builtin.css | 26 +++ public/src/uncloseai-modal-pico.css | 26 +++ 8 files changed, 315 insertions(+), 12 deletions(-) diff --git a/docs/tickets/001-extension-fails-to-load.md b/docs/tickets/001-extension-fails-to-load.md index 41ef406..09149e0 100644 --- a/docs/tickets/001-extension-fails-to-load.md +++ b/docs/tickets/001-extension-fails-to-load.md @@ -30,6 +30,16 @@ Possible causes: - Shadow DOM or aggressive DOM manipulation interfering with injection - Extension manifest permissions not covering these domains +## Root Cause + +The browser-toys extension injects `