chore(agents): run innerhtml-migration-agent daily task — migrate js/channelProfile.js

- Replaced 10 instances of `innerHTML` with safe DOM APIs (`createElement`, `replaceChildren`, `textContent`).
- Extracted Zap Panel creation to `createZapPanelContent` helper.
- Extracted Subscribe Button creation logic.
- Updated `scripts/check-innerhtml.mjs` baseline (count reduced by 10).
- Verified via lint, unit tests, and Playwright verification.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-13 16:58:20 +00:00
1 parent 6aa9da1383
commit fffca30fb6
8 files changed
+232 -112

No files matched your search

-1
View File
@@ -24,7 +24,6 @@ const SOURCE_DIR = join(ROOT, "js");
const BASELINE = {
"js/app.js": 1,
"js/app/feedCoordinator.js": 1,
"js/channelProfile.js": 10,
"js/docsView.js": 8,
"js/exploreView.js": 1,
"js/forYouView.js": 1,