Repository navigation
design: move the dashboard and telemetry designs from .pen to .fig - #1041
Merged
Merged
Conversation
Adds the design pass that #1019, #1022, #1023, #1024 and #1025 shipped without: Backups/Schedules/Restores empty states, a mobile Settings Placement screen with the horizontal section tab row, the Mod registries card without a section Save button plus a Saved state, the Players Operators stat card and list, and the Share link Stopped and Start timed out states. Touched nodes are exported to assets/design-export. Refs #1030 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Converts design.pen and telemetry-receiver/telemetry-dashboard.pen to design.fig and telemetry-dashboard.fig with OpenPencil and removes the .pen files and their Pencil MCP export. Each screen is now exported as a standalone .fig, a JSON property dump and a 2x screenshot, listed in screens.json; screens keep their old .pen node IDs as file names so the browser visual diff still finds its baselines. hack/design/fig-export.ts regenerates the export. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
The dashboard and telemetry designs moved from Pencil .pen files to .fig. Rules 1, 2 and 17, constitution Principle II (2.3.0), the design agents and skills, the CodeRabbit filters, the CI path filter, the auto-labeler and its test, and the docs now name design.fig, OpenPencil and hack/design/fig-export.ts. The website keeps website.pen and Pencil. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
The per-screen export dropped the 19 component-level reference PNGs that web/scripts/compare-screenshots.mjs crops against. fig-export.ts now also exports each layer listed in assets/design-export/parts.json, under its old file name, and the crop rects for o1uEP and zhLZN are re-measured on the design.fig renders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
The .fig export stamped each archive with the export time, so every run rewrote all 204 files. fig-export.ts now fixes meta.json's exported_at and the zip entry times, so only changed screens show in a diff. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
design.pen from the #1030 design pass and master's design.pen (spec 034 screens from #1040) merged cleanly (git merge-file, valid JSON, no duplicate IDs) and were converted with the OpenPencil fork's master. The telemetry design is reconverted with the same build. Both exports are regenerated: 189 dashboard screens, 19 parts, 6 telemetry screens. parts.json now prefers a top-level layer when names repeat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Every design is a .fig file now (dashboard, telemetry, website), so the rules, constitution, agents and skills no longer describe Pencil. The Pencil-only helpers (pen-cli-export.sh, check-layout.js, audit.js, promote.js) are removed; check-layout.fig.js ports the canvas check to OpenPencil's Figma plugin API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
WalkthroughWarning Review details and warnings were omitted to fit the comment limit. |
…s mode The .pen conversion kept the light-mode colour on layers inside nested component instances (the top bar search field, 318 layers on 138 screens), so dark screens rendered a white search box and the visual diff failed. Set each bound fill and stroke to its variable's value in the layer's effective mode and regenerate the export. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
CI Report - ed7a683run 44968534923 - attempt 1 0 failed - 33 passed - 0 skipped - 24m51s elapsed Test selection: full (selection-rule change) - per-suite table Coverage
Changed
Slowest jobs
e2e buckets run
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
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
This PR replaces Pencil
.pendesigns with.figfiles, edited through OpenPencil (forkValgulNecron/open-pencilmaster) or Figma. The website does the same in GameplanePanel/website#34. This PR bumps thewebsitepointer once that one merges.Designs
design.pen→design.fig(pageDashboard).design.pen3-way merged with master's (feat: SSO group role rules (spec 034) #1040 spec 034 screens).git merge-filereported no conflicts, the result is valid JSON, and it has no duplicate IDs.telemetry-receiver/telemetry-dashboard.pen→telemetry-dashboard.fig(pageTelemetry receiver).Export (
assets/design-export/,telemetry-receiver/design-export/)hack/design/fig-export.tswrites one standalone.fig, one JSON dump and one 2x PNG per screen, plusscreens.json..pennode IDs, soweb/scripts/compare-screenshots.mjsbaselines still resolve.parts.jsonexports the 19 dialogs and badges the visual diff crops against. They sit below screen level.exported_atand the zip entry times are fixed.REFERENCE_CROP_ALLOWLISTrects foro1uEPandzhLZNare re-measured on the new renders, as that file asks. The others still match.S7SCDckeeps its deliberate +4 px of backdrop.Rules and tooling (approved on the decision card: "Yes, all in this PR")
AGENTS.md/CLAUDE.mdrules 1, 2 and 17 and the common workflows change. Constitution Principle II changes too, bumping it 2.2.1 → 2.3.0.pen-cli-export.sh,check-layout.js,audit.js,promote.js.check-layout.fig.jsports the canvas check to OpenPencil's Figma plugin API..coderabbit.yaml(!**/*.fig) and.claudeignore. The CI path filter!design.figis inci.yaml.hack/ci_scope.py,hack/auto_label.pyand its testhack/test_auto_label.pychange one line each, fromdesign.pentodesign.fig.web/specs.md,telemetry-receiver/specs.md.Known, not changed here
test/e2e/ci_selection_e2e_test.gostill excludesdesign.penfrom its archive. That path no longer exists, and an exclude pathspec that matches nothing is harmless. I left it alone because it is a test file.check-layout.fig.jsreports existing layout issues on the canvas:.penrefs convert to frames, not components.web/srcthat name olddesign.penframes are unchanged.Checks
Generated by Claude Code