Skip to content

feat(import): rebuild the screen around a two-step work card - #33

Merged
Digit4w merged 1 commit into
devfrom
feat/fill-missing-and-history
Sep 14, 2026
Merged

Digit4w merged 1 commit into
devfrom
feat/fill-missing-and-history

Conversation

@Digit4w

@Digit4w Digit4w commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Importing and warming were two separate pieces on this screen. The running card
replaced the source boxes at the top; warming appeared below them once the
import ended. So at the exact moment step 1 closed, the frame jumped past three
boxes — and the comment above it claimed the second phase "nasce onde já
estava", which the code did not do.

They are now one keyed card in one slot that changes from the inside: step 1
gets a check, step 2 takes over the counter. Verified in the browser that the
DOM node survives the phase switch and its top does not move. Peça que ancora
a atenção não muda de lugar quando um vizinho aparece.

Warming gains Stop, reversing the decision of 13/09. The argument then was
that stopping offered to give up a benefit that would not come back. Continue
undoes that argument from within — warming skips what is already stored, so a
resumed run finds what is left. Stopping became pausing. The spec that encoded
the old rule was rewritten, not deleted, and says why.

The logos landed. AniList and Watchpile carry their own mark in the source
boxes; MyAnimeList stays on its initial, because their API agreement (section
17) allows the marks only to attribute the source, and the example they give is
a sentence. What varies per source is the mark — the tile frame is identical in
all three, so the row does not go ragged.

Contraparte: Digit4w/watchpile-server#24. Aquele entra primeiro — esta tela
chama POST /api/entries/fill, POST /api/import/{id}/dismiss e
DELETE /api/import/history, que nascem lá.

🤖 Generated with Claude Code

Importing and warming were two separate pieces. The running card replaced the
source boxes at the top, and warming appeared below them once the import ended,
so the frame jumped past three boxes at the exact moment step 1 closed. They are
now one keyed card in one slot that changes from the inside: step 1 gets a
check, step 2 takes over the counter.

Warming gains Stop, reversing the decision of 13/09. The argument then was that
stopping offered to give up a benefit that would not come back. Continue undoes
that argument from within: warming skips what is already stored, so a resumed
run finds what is left, and stopping became pausing.

A run cut short by a restart now says so and offers both exits, Continue and
Dismiss, instead of dying silently. Clear history drops finished runs only, and
Fill in missing artwork is the same action reached without an import.

AniList and Watchpile carry their own mark in the source boxes. MyAnimeList
stays on its initial, because their API agreement allows the marks only to
attribute the source.

Counterpart: watchpile-server on feat/fill-missing-and-history.
@Digit4w
Digit4w merged commit d27114e into dev Sep 14, 2026
@Digit4w
Digit4w deleted the feat/fill-missing-and-history branch September 14, 2026 06:47
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.

1 participant