Repository navigation
Board spec editor: page list layout and readable connector pinouts - #347
Merged
Merged
Conversation
…r pinouts Header: merge the title, toolbar, revision options, mode bar and view tabs into one row. Runtime choices open from a compact condition panel, New/Duplicate/Remove move into an Open menu, the first-run guide becomes a dialog and JSON files can be dropped anywhere. "Edit raw data" is renamed to describe what it does: return to base data by clearing the resolved selection. Pages: a list on the left (board information, GPIO, each connector or connector group, buses, devices, accessories, revisions, pin owners, validation) selects the page shown at full height. All pages stay rendered and only visibility changes, so links into hidden pages resolve. Every navigation goes through one function with a one-step back history and scroll restoration, and falls back to the category when an object disappears after switching boards or importing. Editing a role does not change the page. Validation errors open the GPIO row when they resolve to one, otherwise the affected object's page. Layout state uses a new storage key. Connector pages: show the connector note, verification, type view, layout status and clickable official links next to the pinout. Sockets that share a connector group are shown side by side with headers, references and tables aligned in shared grid rows, while names, first-terminal marks, notes and editing stay per socket. Role chips and power terminals use the same owner colors as the GPIO table, and wire colors get their own column only for connector types that define them. Each endpoint sits beside its terminal number; terminal and endpoint columns are sized to their content and functions take the remaining width, mirrored around the center of two-row connectors. The diagram view is removed because tables cover every connector type in the catalog, and the undo button moves into the page heading, shown only when there is something to undo. A GPIO shared by several connector positions lists all of them, and hovering only highlights; moving between a terminal and its GPIO row needs an explicit click or key.
ainyan03
force-pushed
the
board_spec_editor_pages
branch
from
October 12, 2026 08:49
38cf228 to
4eaf657
Compare
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
Reworks the layout of the board specification editor (
extras/board_spec/editor, bundled asdist/board_spec_editor.html) so that the catalog can be reviewed comfortably, especially the connector pinouts. Builds on the exposed-connector catalog changes merged in #346.connector.groupare shown side by side with aligned rows. Terminal, endpoint and wire-color columns are sized to their content, functions take the remaining width, and role chips use the same colors as the GPIO table.Testing
extras/board_spec:npm test(236 tests, also with M5Unified absent) andnpm run check.