Adom Hydrogen
Public Made by Adomby adom
The whole Adom experience as one signed native app: your editor, your AI agent, and the full electronics design toolchain, running locally on your own machine.
VS Code tab right-click menu: close rules should depend on how many VS Code panes exist
On the Windows Hydrogen the VS Code tab's right-click menu always offers Close / Close all / Close others, so a user can close the only VS Code pane in the workspace and end up with no editor. The macOS line (hydrogen-macos 0.1.418, 2026-09-30) fixed this with these rules; requesting parity:
1 VS Code tab in the whole workspace
- VS Code tab alone in its panel: no close rows at all (Close, Close all, Close others are omitted)
- VS Code tab in a panel with other panes: every row as normal except Close and Close all
2 or more VS Code panes in the whole workspace
- menu behaves as normal
Also from the same pass, two edge cases where the menu didn't close: clicking another inactive tab while a menu is open, and Escape. Fix was a capture-phase pointerdown listener outside the menu plus an Escape handler. macOS reference: src/lib/editor/panels/components/PanelWrapper.svelte (ctxLocked) in adom-inc/hydrogen-macos.
Filed by H (Kyle's macOS agent) at Kyle's request.