feat(web): old covers from the Wayback Machine start off

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Opus 5.5 committed 2026-10-15 11:28:27 +02:00
1 parent e7af273a6d
commit d1b8350263
5 files changed
+19 -2

No files matched your search

+8
View File
@@ -16,6 +16,14 @@ the repo every session — measurably slower and more tokens).
**Consequences:** Rule changes happen in one file; pointer files must stay thin. Plans are working
artefacts: kept after merge they go stale and contradict the code, so the spec is the record.
## 2026-10-15 — Wayback history starts off
**Status:** accepted (amends spec 001 §4.9 "include history (on)")
**Context:** First user review: a Wayback run takes minutes at the 10 s pace, while the current covers
come back in seconds.
**Decision:** "Old covers from the Wayback Machine" is unticked by default; the granularity stays 6 months.
**Alternatives:** Keep it on and rely on "Skip the rest of the history".
**Consequences:** Historical covers need one extra click.
## 2026-10-15 — Use our own dark theme when Dark Reader is on
**Status:** accepted
**Context:** With a light system theme the page is light, so the Dark Reader extension restyled it with
+5
View File
@@ -40,6 +40,11 @@ checked in headless Chrome. The userscript only gains the shared download button
---
### Task 0: Wayback off by default
- [x] `src/web/template.ts`: drop `checked` from `#history-on`; amend spec 001 §4.9 and spec 002; DECISIONS.
Commit `feat(web): old covers from the Wayback Machine start off`.
### Task 1: ZIP writer (`src/core/zip.ts`)
**Files:** Create `src/core/zip.ts`, `test/zip.test.ts`.
+1 -1
View File
@@ -579,7 +579,7 @@ language: series.language, type, note, content_rating, is_default }`.
**Static page** (`src/web/`, served by our server):
1. Two inputs: MangaBaka series link, Webtoons series link. Optional: "include
history" (on), granularity (every 1 / 3 / 6 / 12 months, default 6).
history" (off since 2026-10-15, spec 002 §1), granularity (every 1 / 3 / 6 / 12 months, default 6).
2. Runs the pipeline and shows one card per new cover (thumbnail, dimensions,
suggested type, language, note, content-rating selector, checkbox), plus
"already present" and skipped covers.
+4
View File
@@ -8,6 +8,10 @@ Two additions from the first user review (2026-10-15). Design approved by the us
with these answers: history restores instantly (images kept in the browser); download everywhere, history on
the page only; one ZIP. Builds on [001](001-webtoons-covers.md).
Also from the review: **"Old covers from the Wayback Machine" starts off** (it was on, spec 001 §4.9).
A Wayback run takes minutes at the polite pace; the current covers come back in seconds, and the user
ticks it when they want the history.
## 1. Goals and non-goals
**Goals**
+1 -1
View File
@@ -14,7 +14,7 @@ export const APP_HTML = /* html */ `
<span class="mbseed-slip-hint">The series page on the manga, manhwa or webcomic site. WEBTOON for now.</span>
</label>
<div class="mbseed-settings">
<label class="mbseed-check"><input id="history-on" type="checkbox" checked> Old covers from the Wayback Machine</label>
<label class="mbseed-check"><input id="history-on" type="checkbox"> Old covers from the Wayback Machine</label>
<label class="mbseed-setting"><span>Check the archive</span> <select id="history-every"></select></label>
<label class="mbseed-setting"><span>Rating for new covers</span> <select id="rating-all"></select></label>
</div>