SponsorBlock Task 10: config import/export + attribution UI #41

Merged
365DevNet merged 0 commits from refs/pull/41/head into main 2026-07-14 00:29:23 +02:00
365DevNet commented 2026-07-14 00:27:52 +02:00 (Migrated from codeberg.org)

Phase 1 · Task 10 of 12.

  • Replaces the Task 9 stubs with the real SponsorBlock Import/Export controls and the attribution card (credit + link to sponsor.ajay.app, CC BY-NC-SA 4.0).
  • Import validates the file (JSON parse + must look like a SponsorBlock config) before applying, carries userID over, and preserves CleanWatch-only settings (won't silently disable SponsorBlock/ID-sync). Export downloads a sponsorblock-config.json re-importable by the real SponsorBlock extension.
  • Adds the hidden #sb-import-file input; wires buttons into the existing dispatcher; reuses the styled transfer CSS classes.

Display text uses the settings.sponsorblock.* i18n keys landing in Task 11. node --check settings.js clean; 19 unit tests pass. Live browser verification deferred to final check.

🤖 Generated with Claude Code

Phase 1 · Task 10 of 12. - Replaces the Task 9 stubs with the real SponsorBlock **Import**/**Export** controls and the **attribution** card (credit + link to sponsor.ajay.app, CC BY-NC-SA 4.0). - Import validates the file (JSON parse + must look like a SponsorBlock config) before applying, carries `userID` over, and preserves CleanWatch-only settings (won't silently disable SponsorBlock/ID-sync). Export downloads a `sponsorblock-config.json` re-importable by the real SponsorBlock extension. - Adds the hidden `#sb-import-file` input; wires buttons into the existing dispatcher; reuses the styled transfer CSS classes. Display text uses the `settings.sponsorblock.*` i18n keys landing in Task 11. `node --check settings.js` clean; 19 unit tests pass. Live browser verification deferred to final check. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
365DevNet/CleanWatch!41
No description provided.