Repository navigation
The Allegro export writes the pin number, and the pad table shows a through-hole pin once - #159
Merged
Merged
Conversation
…hrough-hole pin once (#158) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCbPYsA5LYNX8HZaGGZCpK
Contributor
|
Owner
Author
|
Review round 1 Findings:
FYI (not fixed):
|
…ro boards have pad names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCbPYsA5LYNX8HZaGGZCpK
…cancels the older one Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCbPYsA5LYNX8HZaGGZCpK
Owner
Author
|
Round 1, decisions applied in 4bbdd56:
|
Owner
Author
|
Review round 2 (469cbf8, 4bbdd56) No findings. The pair rule matches in FYI (not fixed):
|
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.
Fixes #158.
The Allegro export never wrote the pin number. The viewer's pad table then showed each pad's place in the list under "Pin", and that is not the pin number. Through-hole pins made it worse: Allegro writes them as two pads (F "th" and B "smd" at one pos), so each one took two rows.
allegro-skills/exportJson.il: each pad gets"name": "<pin number>", on both pads of a through-hole pair.web/app.js: the pad table shows a through-hole pair as one row, using the same rule asboardPadsin the MCP tools..github/workflows/ci.yml: PRs from this repo publishghcr.io/gherkin/htmlpcbviewer:pr-<N>andhtmlpcbviewer-mcp:pr-<N>, so a branch can be tried before merge.:latest, version tags and:sha-*are still only set on pushes to main andv*tags.Testing on Allegro
allegro-skills/exportJson.ilfrom this branch in Allegro on a board with SMD, through-hole and BGA parts.docker pull ghcr.io/gherkin/htmlpcbviewer:pr-<N>and open the export in it.Boards exported before this change have no pin names. Export them again.
Tests
npx playwright test: 173/174 passed. The failure was the known flaky timeout ininteraction.spec.js:1087, which passed when run alone.npm --prefix mcp test: all passed.npm run test:api: passed..ilchange was not run. It needs Allegro.🤖 Generated with Claude Code
https://claude.ai/code/session_01UCbPYsA5LYNX8HZaGGZCpK