Skip to content

bust-editor: register map editor UI as an npm package - #266

Merged
olagrottvik merged 7 commits into
masterfrom
editor-ui
Oct 30, 2026
Merged

olagrottvik merged 7 commits into
masterfrom
editor-ui

Conversation

@olagrottvik

@olagrottvik olagrottvik commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #254.

  • editor-ui/ is the bust-editor package, laid out like the console editor: a registers table, the fields and a bit diagram of the selected register, and the keys of the register or field in focus.
  • Right-click, the ⋯ button or Shift+F10 opens a menu per register or field (edit, add, insert, duplicate, move, remove, named values). Keys as in the console editor: a, f, m, Enter, Delete, Ctrl+Z.
  • Changes go through dialogs built from bust's JSON Schema and on to bust through the bridge. A change bust rejects keeps the dialog open with bust's problem next to the value.
  • Plain TypeScript and CSS in the bust docs palette, light and dark, themeable with --bust-* variables. No runtime dependencies.
  • Tests run the editor in happy-dom against python -m bust.editing.bridge. The Editor UI workflow runs them, and a tag editor-ui-vX.Y.Z publishes to npm with trusted publishing.

Publishing needs a one-time setup on npm: publish 0.1.0 by hand, then add this workflow as the package's trusted publisher.

@olagrottvik olagrottvik self-assigned this Oct 30, 2026
Base automatically changed from editor-bridge to master October 30, 2026 14:23
@olagrottvik
olagrottvik merged commit 4dc58dc into master Oct 30, 2026
13 checks passed
@olagrottvik
olagrottvik deleted the editor-ui branch October 30, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor UI package and editing bridge

1 participant