Fix 1.37.2: the Resources icon opens the Resources tab of the description panel #91

Merged
pyaniz merged 1 commit from staging into main 2026-10-24 16:04:49 -05:00
Owner

Type: Fix (patch) - VERSION 1.37.1 -> 1.37.2.

Bug

The Resources icon (book) on collection rows and cards, and "Resources" in the 3-dot menu, opened the old standalone Resources dialog instead of the description panel's Resources tab.

Fix

  • GameDetailsDialog takes initialTab; its tab state is now keyed by tab name instead of position, so it can open on resources.
  • Collection page: the list row, grid card and gallery card get onOpenResources, which opens the panel on the Resources tab. The three components no longer render ResourceViewerDialog (their private dialog state is gone). Without the prop the icon / menu entry is hidden.
  • Lists page: same behaviour through a GameDetailsDialog of its own.
  • Left alone on purpose: the planner and dashboard still use ResourceViewerDialog, which also edits a scheduled session's links.

Testing

  • npm run build passes. Not exercised in a browser: please click the icon in list, grid and gallery views (and the 3-dot menu on a phone) and check the panel opens on Resources, also on the Lists page.

🤖 Generated with Claude Code

**Type:** Fix (patch) - VERSION 1.37.1 -> 1.37.2. ## Bug The Resources icon (book) on collection rows and cards, and "Resources" in the 3-dot menu, opened the old standalone Resources dialog instead of the description panel's Resources tab. ## Fix - `GameDetailsDialog` takes `initialTab`; its tab state is now keyed by tab name instead of position, so it can open on `resources`. - Collection page: the list row, grid card and gallery card get `onOpenResources`, which opens the panel on the Resources tab. The three components no longer render `ResourceViewerDialog` (their private dialog state is gone). Without the prop the icon / menu entry is hidden. - Lists page: same behaviour through a `GameDetailsDialog` of its own. - Left alone on purpose: the planner and dashboard still use `ResourceViewerDialog`, which also edits a scheduled session's links. ## Testing - `npm run build` passes. Not exercised in a browser: please click the icon in list, grid and gallery views (and the 3-dot menu on a phone) and check the panel opens on Resources, also on the Lists page. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fix: the Resources icon opens the Resources tab of the description panel; remove the old window from the collection (1.37.2)
All checks were successful
Build and Publish Containers / build-and-push (push) Successful in 42s
Mirror to GitHub / mirror (push) Successful in 30s
c0e1d99e39
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pyaniz merged commit 492518d19f into main 2026-10-24 16:04:49 -05:00
Sign in to join this conversation.
No description provided.