Eric: styled buttons look great, but edit-description does nothing. One missing character — .forEach(b = instead of (b => — turned the callback into a strict-mode ReferenceError that killed wire() midway: everything bound before the typo (rename, duplicate) worked, everything after (edit description, its save, the add-opening submit) silently never bound, and the throw hid inside an async refresh where no pageerror fires. Fixed and verified live: description edits save, add-opening works again. And Eric's next question answered in code: things live ON the furniture too. The add-opening form gains an "at the top" checkbox — new openings (or whole grids) land above the existing rows instead of below, so "on top of the Kallax" is one labeled opening away. Give it real width/depth and the height to your ceiling, or no sizes for a no-limit display spot. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016jXZFSTZQKzAC8fqpWSz9g
218 lines
5.2 KiB
JSON
218 lines
5.2 KiB
JSON
{
|
|
"units": [
|
|
{
|
|
"name": "Library Kallax",
|
|
"openings": [
|
|
{
|
|
"id": "library-kallax-a1",
|
|
"label": "A1",
|
|
"zone": "oversize",
|
|
"width_in": 26.5,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-a2",
|
|
"label": "A2",
|
|
"zone": "oversize",
|
|
"width_in": 26.5,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-b1",
|
|
"label": "B1",
|
|
"zone": "party",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4,
|
|
"description": "big boxes a-m"
|
|
},
|
|
{
|
|
"id": "library-kallax-b2",
|
|
"label": "B2",
|
|
"zone": "party",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4,
|
|
"description": "big boxes n-z"
|
|
},
|
|
{
|
|
"id": "library-kallax-b3",
|
|
"label": "B3",
|
|
"zone": "party",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4,
|
|
"description": "card rows standing"
|
|
},
|
|
{
|
|
"id": "library-kallax-b4",
|
|
"label": "B4",
|
|
"zone": "two-player",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c1",
|
|
"label": "C1",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c2",
|
|
"label": "C2",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c3",
|
|
"label": "C3",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c4",
|
|
"label": "C4",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d1",
|
|
"label": "D1",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d2",
|
|
"label": "D2",
|
|
"zone": "vintage wargames",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d3",
|
|
"label": "D3",
|
|
"zone": "heavy",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d4",
|
|
"label": "D4",
|
|
"zone": "campaign",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
}
|
|
],
|
|
"description": "Centerpiece of the game wall in the library"
|
|
},
|
|
{
|
|
"name": "Library Right Shelving",
|
|
"description": "To the right of the Kallax",
|
|
"openings": [
|
|
{
|
|
"id": "library-right-shelving-a1",
|
|
"label": "A1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-b1",
|
|
"label": "B1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-c1",
|
|
"label": "C1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-d1",
|
|
"label": "D1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-e1",
|
|
"label": "E1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Library Left Shelving",
|
|
"description": "To the right of the Kallax",
|
|
"openings": [
|
|
{
|
|
"label": "A1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5,
|
|
"id": "library-right-shelving-2-a1"
|
|
},
|
|
{
|
|
"label": "B1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5,
|
|
"id": "library-right-shelving-2-b1"
|
|
},
|
|
{
|
|
"label": "C1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5,
|
|
"id": "library-right-shelving-2-c1"
|
|
},
|
|
{
|
|
"label": "D1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5,
|
|
"id": "library-right-shelving-2-d1"
|
|
},
|
|
{
|
|
"label": "E1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5,
|
|
"id": "library-right-shelving-2-e1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|