Skip to content

Revert: Restore icons.svg sprite injection in content_script.tsx#351

Merged
ujiro99 merged 2 commits intofeat/add-e2e-testcasesfrom
copilot/sub-pr-345
Apr 1, 2026
Merged

Revert: Restore icons.svg sprite injection in content_script.tsx#351
ujiro99 merged 2 commits intofeat/add-e2e-testcasesfrom
copilot/sub-pr-345

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

Icon component references #icon-... <symbol> elements that must exist in the Shadow DOM. A prior commit removed the sprite injection, which would break icon rendering across the extension UI.

Changes

  • Restored import icons from "./icons.svg?raw" and shadow.innerHTML = icons — re-injects the SVG sprite into the shadow root before React renders
  • Restored /assets/icons.css reference (was incorrectly changed to components.css)
  • Removed debug console.log that was added alongside the deletion

Icon component → Lucide migration will be handled in a separate PR at that point the sprite injection can be cleanly removed.

Copilot AI changed the title [WIP] [WIP] Addressing feedback on e2e test cases regarding Icon component removal Revert: Restore icons.svg sprite injection in content_script.tsx Apr 1, 2026
Copilot AI requested a review from ujiro99 April 1, 2026 00:02
@ujiro99 ujiro99 marked this pull request as ready for review April 1, 2026 01:12
@ujiro99 ujiro99 merged commit c7acafe into feat/add-e2e-testcases Apr 1, 2026
2 checks passed
@ujiro99 ujiro99 deleted the copilot/sub-pr-345 branch April 1, 2026 01:12
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.

2 participants