Commit Graph

12409 Commits

Author SHA1 Message Date
Georges-Antoine Assi
b5cd86e3f7 fix(frontend): restate the player isolation URLs instead of reading nginx
The vite plugin parsed the COOP/COEP patterns out of the nginx template at
config load, but the Dockerfile's frontend-build stage copies frontend/
alone, so the config threw ENOENT and the image build failed.

Restate the two patterns in the plugin and let its test assert they still
match the template's map, which also drops the dev container mount that
existed only to feed that read.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 09:13:32 -04:00
Georges-Antoine Assi
cd32850da7 Merge pull request #4579 from rommapp/claude/v2-launch-path-followup
fix(v2): close the launch-path gaps found by the pr-ready gauntlet
2026-09-17 08:43:08 -04:00
Zurdi
fb7c36015f Merge pull request #4578 from rommapp/claude/v2-mobile-detail-subtabs
feat(v2): phone-friendly tabs, subtabs and patch picker in game details
2026-09-17 14:41:16 +02:00
zurdi
b36eb7dc4f docs: add an address-bot-reviews skill for Greptile and Copilot threads
A user-invoked skill that triages each bot finding on a PR (holds up, introduced by the PR, consistent with its intent), fixes the ones that stand, replies with the fix or the reason for declining, and resolves the threads. Registered in the CLAUDE.md skills table.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 14:39:49 +02:00
Georges-Antoine Assi
a3b534a1c3 chore(v2): address the review comments on the launch path
Condense the comments that ran past two lines, and build the launch
intent fixtures from typed factories again rather than bare literals.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 08:36:53 -04:00
zurdi
64ce5f7a30 fix(v2): address Greptile and Copilot review on the mobile subtabs
Reveal the selected tab whenever RTabNav's strip resizes, not only when it first appears, so a narrower strip can't leave it under the fade. Move the "or" divider label to common.or (every locale, with a real Japanese translation) for the patcher and the v2 login; v1 keeps login.or. Fold SubtabNav's header comment into a one-line doc on its variant prop.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 14:34:15 +02:00
Georges-Antoine Assi
9431063a54 remove unused comment 2026-09-17 08:33:37 -04:00
zurdi
67103cc306 chore(v2): review-polish pass on the mobile subtabs
pr-ready step 4 (review-polish): give RDropzone's optional props explicit defaults so Trunk's require-default-prop stays quiet on the touched file, and drop an em-dash from the SaveDataTab header.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 14:18:51 +02:00
Georges-Antoine Assi
fdb4cb5e82 chore(v2): trim the launch-path comments and mount the nginx map in dev
The dev container mounts frontend/ alone, so the vite plugin that now
reads the nginx template could not find it and the dev server refused to
start. Mount the template directory read-only.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 08:18:21 -04:00
Georges-Antoine Assi
8ecb4dd0c5 refactor(v2): fold the cleanup pass findings into the launch path
The dev server now parses the isolated URLs out of the nginx template
instead of restating them, and refuses a template that yields none.

js-dos skips the runtime preload on the leg it is about to reload away,
records its play session on pagehide, and takes the relaunch marker from
the composable that defines it.

Also drops a redundant parameter and a duplicated derivation from
applyLaunchIntent, collapses the repeated id checks in isLaunchIntent,
gives the js-dos asset bases one home, and trims the comments.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 08:18:20 -04:00
Georges-Antoine Assi
0ccda23164 fix(v2): keep the save flush and the js-dos isolation on the launch path
A full navigation out of the player aborts the route change, so the leave
guards below the view never run and the v1 player's pending save was lost.
`usePlayerExit` now settles the departing document first, and EmulatorJS
asks the v1 `Player` for its flush there.

js-dos reached its view by SPA navigation without cross-origin isolation,
although the DOSBox-X backend is a threaded build and nginx has always
isolated its URL. It now relaunches into an isolated document the way
EmulatorJS does, so the view still opens without a page load.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 08:18:20 -04:00
Georges-Antoine Assi
3eadc4c33c fix(v2): apply the code review fixes to the launch path
Replace the player entry when leaving by SPA navigation, keep a failed
js-dos runtime load from stacking a second stylesheet, and answer the
player URLs from `vite preview` as well as the dev server.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 08:18:20 -04:00
zurdi
f4de539045 refactor(v2): simplify the mobile subtab plumbing
pr-ready step 3 (simplify): SubtabNav takes the caller's item type so notes ride on their picker items, groups and item-append stay menu-only, MediaTab derives its panel ref types and switches on the subtab, RTabNav merges its re-measure watchers, the patch either-or clears from the select's own event, and the "or" divider style moves into RDivider.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 14:09:33 +02:00
zurdi
fb02ca3836 fix(v2): address code-review findings on the mobile subtabs
pr-ready step 2 (code-review xhigh --fix): restore the pill gap and a zero min-width on RTabNav, keep chevron clicks from stealing focus, scroll a keyboard-focused tab clear of the fade, paint the subtab focus ring inside the button, and cover SubtabNav and the patch either-or rule with tests.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 14:00:03 +02:00
Zurdi
8bcf72df7d Merge pull request #4567 from rommapp/claude/v2-spa-launch-view
feat(v2): open the EmulatorJS and js-dos launch views without a page load
2026-09-17 13:49:01 +02:00
zurdi
b4d71048dd docs: fix the resources symlink in the developer setup
The relative target resolved from the link's own folder, so the documented link was broken. Drops the user assets link, which is served through the API now.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 13:45:04 +02:00
zurdi
a94367ac5d feat(v2): move the Patcher tab next to Metadata
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 13:45:03 +02:00
zurdi
9421d78d5b feat(v2): pick a patch from the ROM or the device without a mode toggle
The Library/Upload switch is gone: the bundled-patch select sits above a compact dropzone, picking either clears the other, and the uploaded file stacks over the hidden dropzone so the panel never changes size. RDropzone gains a single-row compact variant.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 13:45:01 +02:00
zurdi
d634695e97 fix(v2): align the Screenshots upload with the other media subtabs
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 13:44:59 +02:00
zurdi
d71654cc5f feat(v2): collapse detail subtabs and notes into a picker on phones
Media, Files, Save data and Notes share SubtabNav: the side rail on wide layouts, and on phones a single trigger row opening a bottom sheet (grouped for notes, searchable past eight entries). A subtab's single Upload joins that row, and the walkthrough URL form wraps instead of overflowing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 13:44:56 +02:00
zurdi
3590bc2de8 feat(v2): fade and chevron the overflowing edges of RTabNav
A horizontal strip that scrolls now fades whichever edge clips tabs and shows a chevron there, and scrolls the active tab into view, so a phone-width tab bar no longer looks like it ends at the screen edge.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 13:44:54 +02:00
Georges-Antoine Assi
da9360148d Merge pull request #4571 from rommapp/claude/romm-security-fix-9d9ea0
fix(deps): bump engine.io-client past the ws memory-exhaustion advisory
2026-09-17 07:41:49 -04:00
Georges-Antoine Assi
c39655acd0 Merge pull request #4566 from tmgast/fix/sigil-cnf-serial-shapes
fix(scan): read PSX and PS2 serials sigil missed and identify multi-disc roms by their first disc
2026-09-17 07:22:41 -04:00
Georges-Antoine Assi
05f445a4cf refactor(scan): ask the handler whether a rom is a folder
`directory_exists` and `Rom.full_path` already spell out the check the
scan does at its own call site, so the path is no longer rebuilt here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 07:17:51 -04:00
Zurdi
0bb7fd85a4 Merge pull request #4576 from rommapp/claude/v2-upload-and-picker-polish
feat(v2): polish upload actions and pickers across details, player and scan settings
2026-09-17 12:41:48 +02:00
zurdi
c1e6ce5424 fix(v2): describe RSelect info from a node outside aria-hidden
The field's aria-describedby pointed at the info well, which was marked
aria-hidden, so assistive technology could drop the description. The info
text now lives in its own hidden node that the field references, and the
well is no longer aria-hidden since its default content is decorative
already.

Also cover the info tooltip reveal: keyboard and pad focus open it, mouse
focus does not, and blur or opening the menu closes it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 12:37:05 +02:00
zurdi
a342bccd13 test(e2e): expect Upload to folder in All files and Upload in folder subtabs
The Files tab no longer offers a plain Upload from All files, which has
no destination of its own. The admin spec now checks "Upload to folder"
there and Upload in a folder subtab, and the read-only spec checks that
neither appears once the tab has rendered.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 12:23:17 +02:00
zurdi
4101aba964 fix(v2): fold select notes into info wells and unwrap scan settings copy
The memory card and scan media notes sat as loose hints under their
select; both now live in the select's info well. Scan settings section
descriptions were capped at 680px and wrapped early on wide screens; they
now take the section width and only wrap when it runs out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 11:48:35 +02:00
zurdi
393e8bd08c feat(v2): lead slot pickers with a new slot and default uploads to autosave
Both slot pickers, in the save upload dialog and the EmulatorJS player,
list "+ New slot" first behind a divider. A save upload now starts on
autosave, with No slot moved to the end, matching the slot grouping in the
save list. The player's slot info moves from a loose button into the
select's info well.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 11:48:35 +02:00
zurdi
0d738e3435 feat(v2): upload into a folder from All files through a grouped picker
All files has no destination of its own, so its header now offers only
"Upload to folder", styled like Upload, and folder subtabs keep only
Upload. The destination picker leads with "New folder" set apart by a
divider, defaults to Root, and shows each folder with its subtab icon.

RSelect gains `dividerAfter` for grouped menus, plus an `#append-label`
well mirroring the inline prefix label, which `info` fills with an info
icon and tooltip read as the field's description.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 11:48:35 +02:00
zurdi
5849a27786 fix(v2): move the soundtrack and manual upload into a section header
The Soundtrack and Manual subtabs put Upload in a full-width button under
their viewer, unlike the Files, Screenshots and Save data tabs, which host
it in a header above the content. Both now use that header, with Upload
pushed to the right next to the manual entry selector when there is one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds
2026-09-17 11:48:34 +02:00
zurdi
5497ee9edb chore(v2): trim the launch-path comments and factor the test fixtures
Comments down to the fact a reader cannot recover from the code, and the save,
state and firmware fixtures behind one factory each rather than a cast per
literal.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1VFUvsR5wYK3axxR1gebc
2026-09-17 05:53:30 +02:00
zurdi
6bf6ed25d2 refactor(v2): fold the cleanup pass findings into the launch path
- The stream player restated the stop pair `useActivityPresence.stop()` now
  owns, so it calls it.
- The dev server's isolation list and the nginx map it mirrors are checked
  against each other by a test, rather than by a comment asking whoever edits
  one to remember the other.
- One case covers the js-dos runtime being injected once, whichever side of the
  first load a second view mounts on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1VFUvsR5wYK3axxR1gebc
2026-09-17 05:44:52 +02:00
zurdi
8d4e856360 fix(v2): close the gaps the code review found in the player launch path
Findings from the review pass over the SPA launch change, plus the two bot
reviews on the PR.

Correctness:
- Presence stops were addressed to the device, not to a rom, so a view that
  never announced anything could clear what another tab was playing. A stop now
  needs a started session, and happens once; `useActivityPresence` grows the
  `stop()` the two call sites were spelling out by hand.
- The EmulatorJS exit read `window.EJS_emulator`, which a departure taken while
  the loader was still injecting would not see yet, so the runtime could be left
  in a document a later launch then failed to load into. It tracks the injection
  itself.
- js-dos resolved its asset base per view: a second launch in a document whose
  runtime came from the CDN looked for the payloads locally. Two views mounting
  at once could also both inject the runtime. Both now go through one
  document-level loader, which resolves with the base it served from and lets a
  later mount retry a failed load.
- A blocked sessionStorage threw while every EmulatorJS view was initialising.
  Storage that cannot be read is an absent intent, and one that cannot be
  written cancels the relaunch rather than losing the selection to it.
- Outside a secure context the headers cannot expose SharedArrayBuffer, so the
  reload only delayed the same error by a round trip. It is refused up front.
- The dev server mirrored one of the two nginx isolation entries, leaving the
  console player unisolated there.

Reuse and cover:
- `usePlayerExit` owns the whole rule again: `departing` moved in, so both views
  use `guard` rather than one of them restating it, and the `leaving` flag it
  never needed is gone.
- Resolving an intent back into a selection is a pure pair in `launchIntent.ts`
  with its own tests, rather than closures the view kept to itself.
- The Vite plugin is a script beside `precompress`, so the regexes that have to
  track nginx are tested.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1VFUvsR5wYK3axxR1gebc
2026-09-17 05:33:30 +02:00
Sam Dornan
c9d0b0da12 fix(v2): stop the unhandled rejection when a view transition is preempted (#4570)
* fix(v2): absorb the skipped transition preemption rejects

Activating a game card starts a shared-element morph, and navigating
inside it starts the router's own view transition. The browser skips the
older of two overlapping transitions, rejecting its `ready` promise with
an AbortError that nothing consumed, so it surfaced as an unhandled
rejection on every forward card activation. Back navigation preempts the
same way in the other order: the router's transition starts first and the
back-morph skips it.

Absorb the skip at both leaking sites, in the transition plugin wrapper
(only `captured` is awaited) and in `morphTransition` (only `finished` is
consumed). Both transitions are still created and one still animates, so
the morph behaviour is unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix(v2): absorb the preemption skip at every transition site

The router's wrapper absorbed the AbortError a preempted transition
rejects `ready` with, but the two transitions the v2 morph code starts
directly did not. Move the handling into one exported helper used at all
three sites, so the back-morph preempted by a navigation during its
capture phase no longer leaks an unhandled rejection.

The helper rethrows any reason that is not an AbortError, so a genuine
transition failure stays visible instead of being swallowed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* test(v2): share the view transition test fixtures

Both transition test files carried their own copy of the
startViewTransition stub, and the unhandled-rejection probe was inlined
in one and rebuilt in the other. Move them to src/test-utils, next to
serverError, so there is one stub to keep in step with the API.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* test(v2): drive the back-morph guard through a real router

The fake router and route fixtures needed `as unknown as` casts, which
the v2 component rules prohibit. A memory-history router gives the guard
real route objects instead, so the test drops the casts and exercises the
registration it actually ships with.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 22:27:06 -05:00
Sam Dornan
3efe5a1758 fix(v2): stop probing platform icon variants that cannot exist (#4573)
* fix(v2): stop probing platform icon variants that cannot exist

The /assets/platforms catalogue is keyed by RomM's canonical platform
slug, and two probes worked against that:

- prefetchPlatformIcons fetched only `<slug>.svg`, but 114 of the 199
  catalogue entries ship `.ico` with no `.svg`, so every ico-only
  platform in the library 404'd on every app load, on every page, since
  AppLayout prefetches the whole platform store.
- RPlatformIcon tried `fsSlug` before `slug`. The filesystem slug is the
  on-disk folder name, which for Batocera/ES-DE libraries is an alias
  (`dreamcast`, `megadrive`, `pcengine`) with no asset, so each of those
  burned two 404s per icon render before the canonical slug resolved.

Neither broke rendering, since both chains terminate at default.ico, so
this removes wasted requests only: 94 of the 138 folders in
PLATFORM_FS_ALIASES have an asset under the canonical slug alone and
none have one under the folder name alone.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* test(v2): tighten platform icon test typing and trim comments

The prefetch tests faked `blob()` with `{ type } as Blob`; a real `Blob`
carries the same `type` and drops the cast. The chain helper took a
`Record<string, unknown>` prop bag, which could not catch a mistyped prop
name.

Comment blocks over two lines carry the same fact in one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix(v2): keep probing candidates when a prefetch fetch fails

A rejected fetch threw past the candidate loop to the outer catch, so a
transport failure on `.svg` abandoned the `.ico` that would have warmed
the cache. Each candidate now fails on its own.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 22:22:09 -05:00
Sam Dornan
f77ef4c40e fix(v2): invoke the view transition callback once (#4574)
`startViewTransition` ran its callback twice whenever
`document.startViewTransition` exists: once eagerly at the top of the
function, to build the fallback promises, and again inside the native
update callback. The only caller today is the router's `beforeResolve`
guard, which passes no callback, so the double run was dormant.

The eager call is gone from the native path. The fallback path still
invokes the callback itself, and still resolves `captured` immediately:
nothing is snapshotted without the API, and the guard awaits that promise
to know navigation may proceed, so making it wait would buy nothing. On
the native path `captured` still resolves from inside the update
callback, so a caller awaiting it still learns the old state was
captured.

Tests cover the callback running once on the native path, once when a
native transition is preempted, and once on the no-API path with all four
promises resolving.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 22:13:21 -05:00
Sam Dornan
6a02a837aa fix(deps): bump engine.io-client past the ws memory-exhaustion advisory
engine.io-client 6.6.5 pinned ws to ~8.20.1, below the 8.21.0 fix for
GHSA-96hv-2xvq-fx4p (CVE-2026-48779). 6.6.6 moves to ~8.21.0, and
socket.io-client 4.8.3 already allows ~6.6.1, so the bump resolves
in-range without an override. Also dedupes happy-dom's nested ws copy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 21:33:41 -05:00
Sam Dornan
70c9b9f364 fix(v2): line the placeholder rows up with the rows they stand in for (#4561)
* fix(v2): line the placeholder rows up with the rows they stand in for

The Home card rows painted a fixed number of skeletons (6, 6 and 4) while
their requests ask for up to 15, so the loading row was shorter than the
row it turned into. They now size themselves from RECOMMENDED_ROMS_LIMIT,
RECENT_ROMS_LIMIT and RECENT_PLAYED_ROMS_LIMIT, the way v1's
RecentAddedSkeleton already did.

List mode has two placeholder rows: the bootstrap GameListSkeletonRow, and
GameListRow's own skeleton path for a row that mounts before its position
resolves. The second painted the 48x64 cover placeholder inside the title
cell and a thin bar in the cover column, so for the second before
hydration a cover-shaped block sat where the title text starts. It now
paints the same per-column shapes as the bootstrap row.

The list header's select-all checkbox is a stretched grid child carrying a
4px margin, which put its tick 6px left of the body rows' ticks, centred
in the same column.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* test(v2): cover all three Home loading rows and read the real limits

The mock listed the three ROM limits by hand, so the assertion compared
the view against a second copy of those numbers instead of the numbers
themselves. It keeps the real module's exports now and stubs only the
feed request. Only the recommendation row was asserted, though the other
two changed the same way, so the count check is a table over all three.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix(v2): stop the loading rows lying about their height and their count

Three placeholder defects, all only visible while a row is loading.

The recommended row's cards carry a caption under the title, and the
placeholder skipped it, so the row sat 24px shorter until the data landed.
Its placeholder now reserves that line.

Nineteen of those 24 were the caption. The other five were the label: its
reserved height was a class rule, which loses to the inline height the
skeleton bar has to carry, so the reservation never applied and every
skeleton card stood 5px short of the card replacing it. The reservation
moves to a wrapper that has no inline height of its own, and the bar keeps
its own thickness.

Rows also showed a count of 0 for as long as their list was in flight and
then jumped to the real number. The count chip now stays off until the
count means something.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* style(v2): trim the placeholder-row comments to their invariants

Each of these ran to three lines or more, and spent them on the approach not
taken. What is left is the fact a reader cannot get from the code: the two
placeholder rows share a column grid, the label wrapper owns the line box its
bar cannot, the count stays off until its list lands, and sizing goes through
props (and the default `inheritAttrs`) so a skeleton can swap for a real card
without moving anything.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* style(v2): finish the comment pass on the placeholder rows

Drop the skeleton comment's third line in GameListRow, and take the em-dash out
of GameCardSkeleton's header.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PwN1xRVo44Y2vKbuVDndf

* style(v2): name both rows in the parity comment

"Both" only resolves if the reader already has the two mounts below it in view;
the comment now says which two rows share the column grid.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 21:23:33 -05:00
Georges-Antoine Assi
c28059c328 chore(scan): review-polish the title id extraction pass
Name the candidate predicate for what it checks, trim the ordering
docstring, and drop the comments the moved guards made stale.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 22:02:32 -04:00
Georges-Antoine Assi
9e940e7d10 refactor(scan): simplify the title id extraction path
Sort title id sources with the natural key the models already compute,
give the compressed suffixes one home, and let SigilService reject a
container itself rather than trusting every caller to.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 22:00:57 -04:00
Georges-Antoine Assi
cf8d79f9f6 fix(scan): apply pr-ready code-review findings
Order discs by their number so "Disc 2" precedes "Disc 10", test one
rule for containers sigil cannot read, and drop the unreachable
OSError handler around Path.is_file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 21:53:31 -04:00
Georges-Antoine Assi
d13fca5ea3 Merge pull request #4563 from rommapp/claude/loving-golick-0d269c
fix(v2): stop the layout's min-height leaking into the gallery shell
2026-09-16 21:36:39 -04:00
Georges-Antoine Assi
993a9047f3 Merge pull request #4554 from sdornan/fix/generate-test-data-seeder
fix(tools): repair the test-data seeder's imports and rom digests
2026-09-16 20:37:45 -04:00
Georges-Antoine Assi
dda065555b Merge pull request #4542 from LoneAngelFayt/streaming-patches-3
fix(streaming): make broker save-clearing configurable and date the picker by its sort key
2026-09-16 20:37:14 -04:00
Georges-Antoine Assi
d16aa85968 Merge branch 'master' into streaming-patches-3
AssetList moved its timestamp into <AssetTimestamp> and gained
groupBySlot on master, so the picker's `timestamp` prop now feeds the
component's date and both props coexist. The "updated" | "created" type
and its accessor join Asset's other shared helpers in v2/utils/assets,
where AssetPreview takes them too, since the old local name collided
with the AssetTimestamp component.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 19:12:34 -04:00
Georges-Antoine Assi
d3cda9b003 Merge pull request #4534 from rommapp/claude/fix-4398-inconclusive-scan
fix(scan): don't report an unanswered lookup as a confirmed miss
2026-09-16 19:05:45 -04:00
Georges-Antoine Assi
d6eba3297a fix(scan): treat every silent provider as inconclusive
ScreenScraper catches its own rate limit and breaker, so the miss they
cause never reaches resolve_fetch and was still written up as confirmed.
Hasheous had the opposite gap: an unanswered hash lookup still counted as
attempted, so a complete rescan cleared the id the lookup could not redo,
and a disabled handler reports the same flag as an outage without ever
having been consulted.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 18:38:47 -04:00
nendo
3ca79a1205 fix(scan): reread title ids on every rescan and break sort ties by exact name 2026-09-17 07:36:21 +09:00
Georges-Antoine Assi
951ea75075 Merge pull request #4533 from LoneAngelFayt/streaming-patches-2
fix(streaming): pool same-origin webstation containers and keep a claim on its own container
2026-09-16 18:18:44 -04:00