Skip to content

fix: keep keys from reaching the diagram behind an open dialog - #141

Merged
xevrion merged 2 commits into
mainfrom
fix/small-batch
Dec 2, 2026
Merged

xevrion merged 2 commits into
mainfrom
fix/small-batch

Conversation

@xevrion

@xevrion xevrion commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

What this changes

Two small fixes.

Keys behind an open dialog. With Share, Settings or any other dialog open, keys still reached the diagram behind it: Delete removed the selected box, Space on a dialog button paused the run instead of pressing the button, and C, M, S and the other letters folded panels or stepped the run. An open dialog now owns the keys. ? and Ctrl+/ still close their own dialog.

"all 1 slots busy". What just happened and Find the problem now say "its only slot busy" for a part with one slot, and the same for copies and connections.

Verification

  • New test in App.keyboard.test.tsx opens Share, presses Delete, Backspace, C, M, Space and S, and checks nothing behind it changed. It fails without the fix.
  • New test in bottleneck.test.ts for the one-slot wording
  • bun run test passes (3416)
  • bun run typecheck and bun run lint pass

@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
breakscale Ready Ready Preview Nov 26, 2026 9:50am UTC

Request Review

@xevrion
xevrion merged commit 9d46fbd into main Dec 2, 2026
10 checks passed
@xevrion
xevrion deleted the fix/small-batch branch December 2, 2026 12:59
@Kekobade

Kekobade commented Dec 2, 2026

Copy link
Copy Markdown

Your really cooking! appreciate your work :3

This branch was successfully deployed

1 active deployment
Preview – breakscale — e6872778 Deployed Nov 26, 2026 by vercel[bot]
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.

2 participants