Skip to content

Add component-focused PCB snapshots - #4330

Closed
seveibar wants to merge 2 commits into
mainfrom
agent/snapshot-component-name
Closed

Add component-focused PCB snapshots#4330
seveibar wants to merge 2 commits into
mainfrom
agent/snapshot-component-name

Conversation

@seveibar

@seveibar seveibar commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add tsci snapshot --component-name <name>
  • focus the PCB viewport on the named component and its courtyard
  • imply --pcb-only and --show-courtyards
  • include the component name in the snapshot filename so it cannot overwrite a full-board snapshot
  • forward the option through both direct and worker-pool snapshot paths

Example

tsci snapshot --component-name L_3V3 ./dist/index/circuit.json

Test

  • one visual SVG snapshot verifies the component-focused PCB output and courtyard

Validation

  • bun test tests/cli/snapshot/snapshot-component-name.test.ts
  • bunx tsc --noEmit
  • bun run build
  • git diff --check

@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions Bot closed this Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant