Repository navigation
feat: show a skeleton while an image loads - #517
Merged
Merged
Conversation
Reilley64
added a commit
that referenced
this pull request
Oct 21, 2026
…replay (#518) ## Summary The fix round for the #493 code review. `main` is merged in, up to #517. ```diff takePhoto(outline) - frame = last analyzed frame, if its outline == outline + frame = KeptFrames.frame(withOutline: outline) # copies of the frames with a card from about the last second PhotoOutline.refine(photo, frame, frameIntrinsicMatrix, heldStill) moved = registration(frame -> photo)(heldStill) - refine on the photo, aspect checked in the frame + refine on the photo, aspect checked on the card with the frame's intrinsic matrix - on a size or motion refusal: heldStill + on a size or motion refusal, or no refined outline: moved on a registration or photo error, or no kept frame: heldStill ``` ```diff detector:replay --base <ref> - merge base without the step mode: build the branch's command with the merge base's detector files + merge base without the step mode: "has no detector replay", run the branch alone against fixed limits + no false outline, at most 1 inside outline on plain at tilt 0, Mac p95 below 20 ms bars - photo outline median below 0.5 mm, on clips whose held-still outline is on the card edge + photo outline median below 0.5 mm, over all clips; medians by condition are reported + every failing bar lists its frames or clips, with where the outline was ``` Also from the standards review: - `OrientationTransform` holds the intrinsic matrix, so `detect → refine → quadrilateral → metrics` no longer pass it. - One `millimetres`, one list of metric names, one pixel mapping, typed `Condition`, `TiltBucket`, and `BorderColor`. - `frames.py` and `simulate.py` import one `image_download.py`. Its code is the old `download` with the user agent as an argument. - The detector command keeps only the `step` mode. `PhotoOutline.chosen` is `checkedOutline`, and `sides()` is `meanSideLengths`. The clashing `run`s are `runProcess` and `wholeRun`. - GLOSSARY: **Held-still outline**, **Photo outline**, **Card aspect**. "color" everywhere in the detector replay. - The Detector workflow also runs on `src/scan/capture-log.ts` and `image_download.py`. ## Evidence - `bun run detector:test`: 32 tests pass. New tests: - Photo refinement of a tilted black-bordered card: `refined` with the frame's intrinsic matrix, not refined without it. Mutation: drop the matrix in `PhotoLuma`, and the test fails with `sizeRefused`. - A size or motion refusal, or no refined outline, keeps the moved outline. - `KeptFrames` finds the frame that held still after later frames, and forgets frames older than a second. Mutation: keep only the last frame, and 2 tests fail. - `copiedPlanes` copies a frame into a new buffer with the same bytes. - `bunx jest test/detector-replay.test.ts`: 35 tests pass, with new tests for the frames and clips listed under each failing bar, the photo outline bar over all clips, and the fixed limits. - `frames.py` with the shared download renders every frame, clip frame, photo, and `labels.json` with the bytes in `frames.sha256`. - Photo refinement against `spec/493-detector-replay` at `204b40f`: **Before:** 11 refined, 2 size refused, 3 motion refused, of 16. **After:** 16 refined, of 16. The photo outline median over all clips falls from 0.90 to 0.06 mm. - `bun run detector:replay --base origin/main`: "The merge base 8e3e450 with origin/main has no detector replay", and the branch passes the fixed limits: 0 false outlines, 1 inside outline on plain at tilt 0, Mac p95 5.9 ms. Exit 0. - The refusal limits stay at 2%. The scanner evidence pack README (Photo refinement) has the new results behind them. ### Detector replay From the job summary of [the last Detector run](https://github.com/Reilley64/mtgscan/actions/runs/39684805406) on `macos-15`: The branch at 5fdf7a8 against the merge base 204b40f with origin/spec/493-detector-replay, 3 timing rounds. Card frames by condition and tilt in degrees, merge base → branch: | Condition | Tilt | Detection rate | Wrong outlines | Corner error median | Corner error p90 | Inside outlines | Size error, width x height | Result | | --- | --- | --: | --: | --: | --: | --: | --: | --- | | plain | 0 | 20 of 30 → 20 of 30 | 1 → 1 | 0.01 mm → 0.01 mm | 0.03 mm → 0.03 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | plain | 0-7.5 | 18 of 30 → 18 of 30 | 0 → 0 | 0.01 mm → 0.01 mm | 0.01 mm → 0.01 mm | 0 → 0 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | plain | 7.5-15 | 17 of 30 → 17 of 30 | 2 → 2 | 0.01 mm → 0.01 mm | 0.03 mm → 0.03 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | plain | 15-25 | 17 of 30 → 17 of 30 | 3 → 3 | 0.01 mm → 0.01 mm | 0.03 mm → 0.03 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | patterned | 0 | 10 of 30 → 10 of 30 | 1 → 1 | 0.02 mm → 0.02 mm | 0.06 mm → 0.06 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | patterned | 0-7.5 | 13 of 30 → 13 of 30 | 4 → 4 | 0.03 mm → 0.03 mm | 0.13 mm → 0.13 mm | 3 → 3 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | patterned | 7.5-15 | 14 of 30 → 14 of 30 | 1 → 1 | 0.02 mm → 0.02 mm | 0.06 mm → 0.06 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | patterned | 15-25 | 11 of 30 → 11 of 30 | 2 → 2 | 0.02 mm → 0.02 mm | 0.06 mm → 0.06 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | shadow | 0 | 9 of 30 → 9 of 30 | 13 → 13 | 0.01 mm → 0.01 mm | 0.08 mm → 0.08 mm | 6 → 6 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | shadow | 0-7.5 | 13 of 30 → 13 of 30 | 7 → 7 | 0.03 mm → 0.03 mm | 0.71 mm → 0.71 mm | 3 → 3 | -0.01 x 0.00 mm → -0.01 x 0.00 mm | pass | | shadow | 7.5-15 | 14 of 30 → 14 of 30 | 10 → 10 | 0.01 mm → 0.01 mm | 0.26 mm → 0.26 mm | 9 → 9 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | shadow | 15-25 | 12 of 30 → 12 of 30 | 8 → 8 | 0.01 mm → 0.01 mm | 0.32 mm → 0.32 mm | 3 → 3 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | sleeve | 0 | 6 of 30 → 6 of 30 | 23 → 23 | 0.01 mm → 0.01 mm | 0.02 mm → 0.02 mm | 0 → 0 | -1.08 x -1.14 mm → -1.08 x -1.14 mm | pass | | sleeve | 0-7.5 | 8 of 30 → 8 of 30 | 16 → 16 | 0.01 mm → 0.01 mm | 0.07 mm → 0.07 mm | 1 → 1 | -0.99 x -0.99 mm → -0.99 x -0.99 mm | pass | | sleeve | 7.5-15 | 6 of 30 → 6 of 30 | 22 → 22 | 0.01 mm → 0.01 mm | 0.05 mm → 0.05 mm | 4 → 4 | -0.73 x -0.63 mm → -0.73 x -0.63 mm | pass | | sleeve | 15-25 | 6 of 30 → 6 of 30 | 20 → 20 | 0.01 mm → 0.01 mm | 0.19 mm → 0.19 mm | 2 → 2 | -1.26 x -1.31 mm → -1.26 x -1.31 mm | pass | | glare | 0 | 21 of 30 → 21 of 30 | 1 → 1 | 0.02 mm → 0.02 mm | 0.06 mm → 0.06 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | glare | 0-7.5 | 18 of 30 → 18 of 30 | 4 → 4 | 0.01 mm → 0.01 mm | 0.09 mm → 0.09 mm | 3 → 3 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | glare | 7.5-15 | 18 of 30 → 18 of 30 | 3 → 3 | 0.02 mm → 0.02 mm | 0.07 mm → 0.07 mm | 3 → 3 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | glare | 15-25 | 19 of 30 → 19 of 30 | 2 → 2 | 0.02 mm → 0.02 mm | 0.12 mm → 0.12 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | motion-blur | 0 | 12 of 30 → 12 of 30 | 5 → 5 | 0.06 mm → 0.06 mm | 0.34 mm → 0.34 mm | 3 → 3 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | motion-blur | 0-7.5 | 13 of 30 → 13 of 30 | 6 → 6 | 0.11 mm → 0.11 mm | 0.63 mm → 0.63 mm | 6 → 6 | 0.00 x 0.01 mm → 0.00 x 0.01 mm | pass | | motion-blur | 7.5-15 | 12 of 30 → 12 of 30 | 5 → 5 | 0.03 mm → 0.03 mm | 0.23 mm → 0.23 mm | 5 → 5 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | motion-blur | 15-25 | 6 of 30 → 6 of 30 | 6 → 6 | 0.18 mm → 0.18 mm | 0.91 mm → 0.91 mm | 6 → 6 | 0.00 x 0.02 mm → 0.00 x 0.02 mm | pass | | hand | 0 | 21 of 30 → 21 of 30 | 0 → 0 | 0.01 mm → 0.01 mm | 0.10 mm → 0.10 mm | 0 → 0 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | hand | 0-7.5 | 21 of 30 → 21 of 30 | 1 → 1 | 0.01 mm → 0.01 mm | 0.06 mm → 0.06 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | hand | 7.5-15 | 18 of 30 → 18 of 30 | 4 → 4 | 0.01 mm → 0.01 mm | 0.14 mm → 0.14 mm | 4 → 4 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | | hand | 15-25 | 18 of 30 → 18 of 30 | 5 → 5 | 0.01 mm → 0.01 mm | 0.06 mm → 0.06 mm | 4 → 4 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | pass | Empty frames: | Condition | Tilt | False outlines | Result | | --- | --- | --: | --- | | empty-plain | 0 | 0 → 0 | pass | | empty-plain | 0-7.5 | 0 → 0 | pass | | empty-plain | 7.5-15 | 0 → 0 | pass | | empty-plain | 15-25 | 0 → 0 | pass | | empty-patterned | 0 | 0 → 0 | pass | | empty-patterned | 0-7.5 | 0 → 0 | pass | | empty-patterned | 7.5-15 | 0 → 0 | pass | | empty-patterned | 15-25 | 0 → 0 | pass | Clips by condition, merge base → branch: | Condition | Photo asked for | Settle time median | Jitter median | Photo outline median | Inside photo outlines | Hand shift median | Result | | --- | --: | --: | --: | --: | --: | --: | --- | | plain | 4 of 5 → 4 of 5 | 1200 ms → 1200 ms | 0.00 mm → 0.00 mm | 0.03 mm → 0.03 mm | 1 → 0 | 0.83 mm → 0.83 mm | pass | | patterned | 3 of 5 → 3 of 5 | 1200 ms → 1200 ms | 0.05 mm → 0.05 mm | 0.05 mm → 0.05 mm | 0 → 0 | 1.04 mm → 1.04 mm | pass | | shadow | 4 of 5 → 4 of 5 | 1200 ms → 1200 ms | 0.00 mm → 0.00 mm | 0.04 mm → 0.04 mm | 0 → 0 | 0.60 mm → 0.60 mm | pass | | sleeve | 5 of 5 → 5 of 5 | 1200 ms → 1200 ms | 0.06 mm → 0.06 mm | 1.95 mm → 1.95 mm | 1 → 1 | 1.03 mm → 1.03 mm | pass | Card frames by condition and border color, reported: | Condition | Border color | Detection rate | Wrong outlines | Corner error median | Corner error p90 | Inside outlines | Size error, width x height | | --- | --- | --: | --: | --: | --: | --: | --: | | plain | black | 34 of 40 → 34 of 40 | 2 → 2 | 0.01 mm → 0.01 mm | 0.02 mm → 0.02 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | plain | white | 35 of 40 → 35 of 40 | 2 → 2 | 0.01 mm → 0.01 mm | 0.02 mm → 0.02 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | plain | borderless | 3 of 40 → 3 of 40 | 2 → 2 | 0.07 mm → 0.07 mm | 0.07 mm → 0.07 mm | 0 → 0 | 0.02 x 0.00 mm → 0.02 x 0.00 mm | | patterned | black | 23 of 40 → 23 of 40 | 4 → 4 | 0.03 mm → 0.03 mm | 0.10 mm → 0.10 mm | 4 → 4 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | patterned | white | 24 of 40 → 24 of 40 | 3 → 3 | 0.02 mm → 0.02 mm | 0.06 mm → 0.06 mm | 3 → 3 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | patterned | borderless | 1 of 40 → 1 of 40 | 1 → 1 | 0.22 mm → 0.22 mm | 0.22 mm → 0.22 mm | 0 → 0 | 0.04 x 0.00 mm → 0.04 x 0.00 mm | | shadow | black | 15 of 40 → 15 of 40 | 22 → 22 | 0.17 mm → 0.17 mm | 0.71 mm → 0.71 mm | 9 → 9 | -0.08 x -0.10 mm → -0.08 x -0.10 mm | | shadow | white | 33 of 40 → 33 of 40 | 5 → 5 | 0.01 mm → 0.01 mm | 0.05 mm → 0.05 mm | 5 → 5 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | shadow | borderless | 0 of 40 → 0 of 40 | 11 → 11 | none → none | none → none | 7 → 7 | -0.33 x -0.55 mm → -0.33 x -0.55 mm | | sleeve | black | 17 of 40 → 17 of 40 | 22 → 22 | 0.01 mm → 0.01 mm | 0.03 mm → 0.03 mm | 3 → 3 | -0.01 x -0.01 mm → -0.01 x -0.01 mm | | sleeve | white | 6 of 40 → 6 of 40 | 34 → 34 | 0.01 mm → 0.01 mm | 0.07 mm → 0.07 mm | 3 → 3 | -1.23 x -1.21 mm → -1.23 x -1.21 mm | | sleeve | borderless | 3 of 40 → 3 of 40 | 25 → 25 | 0.05 mm → 0.05 mm | 0.19 mm → 0.19 mm | 1 → 1 | -1.27 x -1.28 mm → -1.27 x -1.28 mm | | glare | black | 34 of 40 → 34 of 40 | 6 → 6 | 0.01 mm → 0.01 mm | 0.03 mm → 0.03 mm | 6 → 6 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | glare | white | 37 of 40 → 37 of 40 | 2 → 2 | 0.03 mm → 0.03 mm | 0.07 mm → 0.07 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | glare | borderless | 5 of 40 → 5 of 40 | 2 → 2 | 0.33 mm → 0.33 mm | 0.67 mm → 0.67 mm | 1 → 1 | 0.07 x 0.00 mm → 0.07 x 0.00 mm | | motion-blur | black | 17 of 40 → 17 of 40 | 13 → 13 | 0.06 mm → 0.06 mm | 0.56 mm → 0.56 mm | 12 → 12 | 0.00 x 0.01 mm → 0.00 x 0.01 mm | | motion-blur | white | 23 of 40 → 23 of 40 | 9 → 9 | 0.07 mm → 0.07 mm | 0.81 mm → 0.81 mm | 8 → 8 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | motion-blur | borderless | 3 of 40 → 3 of 40 | 0 → 0 | 0.59 mm → 0.59 mm | 0.63 mm → 0.63 mm | 0 → 0 | 0.01 x 0.23 mm → 0.01 x 0.23 mm | | hand | black | 38 of 40 → 38 of 40 | 2 → 2 | 0.01 mm → 0.01 mm | 0.08 mm → 0.08 mm | 2 → 2 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | hand | white | 31 of 40 → 31 of 40 | 6 → 6 | 0.00 mm → 0.00 mm | 0.01 mm → 0.01 mm | 6 → 6 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | hand | borderless | 9 of 40 → 9 of 40 | 2 → 2 | 0.07 mm → 0.07 mm | 0.16 mm → 0.16 mm | 1 → 1 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | Card frames by border color and tilt, reported: | Border color | Tilt | Detection rate | Wrong outlines | Corner error median | Corner error p90 | Inside outlines | Size error, width x height | | --- | --- | --: | --: | --: | --: | --: | --: | | black | 0 | 46 of 70 → 46 of 70 | 18 → 18 | 0.01 mm → 0.01 mm | 0.08 mm → 0.08 mm | 5 → 5 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | black | 0-7.5 | 45 of 70 → 45 of 70 | 18 → 18 | 0.01 mm → 0.01 mm | 0.17 mm → 0.17 mm | 12 → 12 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | black | 7.5-15 | 50 of 70 → 50 of 70 | 13 → 13 | 0.02 mm → 0.02 mm | 0.06 mm → 0.06 mm | 8 → 8 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | black | 15-25 | 37 of 70 → 37 of 70 | 22 → 22 | 0.01 mm → 0.01 mm | 0.22 mm → 0.22 mm | 13 → 13 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | white | 0 | 49 of 70 → 49 of 70 | 14 → 14 | 0.01 mm → 0.01 mm | 0.08 mm → 0.08 mm | 4 → 4 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | white | 0-7.5 | 51 of 70 → 51 of 70 | 13 → 13 | 0.02 mm → 0.02 mm | 0.09 mm → 0.09 mm | 5 → 5 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | white | 7.5-15 | 42 of 70 → 42 of 70 | 21 → 21 | 0.01 mm → 0.01 mm | 0.05 mm → 0.05 mm | 13 → 13 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | white | 15-25 | 47 of 70 → 47 of 70 | 13 → 13 | 0.01 mm → 0.01 mm | 0.06 mm → 0.06 mm | 7 → 7 | 0.00 x 0.00 mm → 0.00 x 0.00 mm | | borderless | 0 | 4 of 70 → 4 of 70 | 12 → 12 | 0.07 mm → 0.07 mm | 0.67 mm → 0.67 mm | 3 → 3 | -1.01 x -1.03 mm → -1.01 x -1.03 mm | | borderless | 0-7.5 | 8 of 70 → 8 of 70 | 7 → 7 | 0.08 mm → 0.08 mm | 0.63 mm → 0.63 mm | 0 → 0 | -0.01 x 0.00 mm → -0.01 x 0.00 mm | | borderless | 7.5-15 | 7 of 70 → 7 of 70 | 13 → 13 | 0.07 mm → 0.07 mm | 0.59 mm → 0.59 mm | 6 → 6 | -0.09 x -0.01 mm → -0.09 x -0.01 mm | | borderless | 15-25 | 5 of 70 → 5 of 70 | 11 → 11 | 0.07 mm → 0.07 mm | 0.33 mm → 0.33 mm | 1 → 1 | -0.26 x -0.82 mm → -0.26 x -0.82 mm | The whole run: | Metric | Merge base | Branch | Bar | Result | | --- | --: | --: | --- | --- | | Mac timing p95 | 90.6 ms | 91.1 ms | at most 1.2 times the merge base | pass | | Photo outline median, all clips | 0.90 mm | 0.05 mm | below 0.5 mm | pass | Bars for each condition and tilt: - Detection rate: correct outlines not lower by more than 1 - Wrong outlines: not more than the merge base - Corner error median: not worse by more than 0.1 mm, on frames with a correct outline on both sides - Corner error p90: not worse by more than 0.5 mm, on frames with a correct outline on both sides - Inside outlines: not more than the merge base plus 1 - False outlines: zero Bars for each clip condition: - Photo asked for: not fewer - Settle time median: not worse - Jitter median: not worse, to 0.01 mm - Inside photo outlines: no new one Every bar passes. Photo refinement on the merge base: 11 refined, 2 size refused, 3 motion refused, of 16 clips that ask for a photo. Median 119 ms on the Mac. Photo refinement on the branch: 16 refined, of 16 clips that ask for a photo. Median 117 ms on the Mac. ## Merge Danger **Door:** two-way **Blast Radius:** scanner The camera session now copies each analyzed frame with a card, about 1.4 MB, and keeps about 6 of them. Photo refinement now accepts outlines it refused before, at tilt. Both need the device check (#499, #500): no Simulator or device was used here. Part of #493
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
While an image loads, its shape now pulses like the skeleton grid. When the image loads, it fades in over the skeleton.
useImageLoading(uri)tracks the URI that last ended its load. A recycled tile that gets a new URI pulses again until the new image loads.Animated.looprunning.collection.test.tsxadvances fake timers by 6 minutes over 70 tiles, and that test ran out of memory. The pulse keeps the same 650 ms and 45% values.DESIGN.mdadds the image skeleton under Components and updates the binder wall card images.Evidence
Before: on
main, a card image is a still line-colored card shape until it loads.After: on the Simulator, with the image cache cleared, the Collection tiles pulse until their images load, then the images fade in. The skeleton grid shows first while the page reads. Then the tiles show their meta lines while their card images pulse.
Before: the new tests fail with the image skeleton broken on purpose.
onLoadEnddoing nothing, these 3 tests fail:a card thumbnail shows a pulsing skeleton until its image loads,a card thumbnail whose image fails to load stops pulsing and stays a line-colored card shape, andset art shows a pulsing skeleton until it loads, then nothing behind the art.a card image shows a pulsing skeleton again when it shows another cardfails.after a long time on another tab, Collection keeps the tiles shown when it gains focus and reads as many pages again as it showedtimes out after 20 s. The full run crashed a Jest worker out of memory.After: all 4 new tests pass. The collection test takes 3.6 s, against 6.1 s on
main.bun run typecheckandbun run lintpass. The full app suite passes, with 43 test files and 1267 tests.I checked it on the iPhone 16e Simulator against local Supabase, with the test user's sample collection. I did not check it on a phone.
Merge Danger
Door: two-way
Blast Radius: visual
Every card image, card thumbnail, commander avatar, commander art, and set art now draws a skeleton until its image loads. The skeletons pulse in step, because they share one pulse.