feat(artifact): handheld (clap) destination tab on the design board #211
No reviewers
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design!211
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/udg-handheld-board-tab"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
Built on #210, which has since merged to main, so this PR targets main (it was opened as a stack on #210's branch, which was deleted on merge). The diff against main is this one commit. Adds a "Handheld" (
clap) destination tab to the design board so thehandheld.displaysurface profile is visible ondist/fux-capacity/artifact.html. The Components panel shows the surface preview (regions and the blocks the product places there) plus a static 640x480 LittleGPTracker-style mockup (page strip SAM..MOD,label value [bar]rows) drawn from the product's*.forgeblock.json. Products with no clap profile get the standardcr-emptyplaceholder. Also listsclapin the MCPARTIFACT_TABS.Testing
just buildthenjust check: rc 0 (artifact HTML OK, 13 boards match sources).python -m pytest -q generator/tests/: 344 passed.dist/.handheld.displayappears indist/fux-capacity/artifact.html(0 times on #210's branch) along withid="tab-clap".Impact Statement
DESTINATIONSgainsclap, so--default-tab clapbecomes valid.dist/*/artifact.htmlregenerated (tab bar, panel, CSS); no other dist files change.Docs
No docs change; the board is generated. Mockup bars are illustrative, since ranges and values are not restated in UDG.