Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 51ea784dc8dfca501e22bc9fad3c6002c617bdce
parent 0008400e542b331d12dd9888041aff54804921d3
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 10 Nov 2026 15:13:54 -0500

umtool: a verb chosen in a block's menu opens the palette in the same event -- no gap between the focus going back to the block and the dialog opening, in which a typed E or arrow reached the workspace (L8b review 6)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/workspace/BlockMenu.tsx | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/umtool/components/projects/workspace/BlockMenu.tsx b/umtool/components/projects/workspace/BlockMenu.tsx @@ -198,10 +198,10 @@ export default function BlockMenu({ onClose(true); it.run(); } else if (it.kind === "verb") { + // The focus back on the block, then the palette's dialog opened at once -- in this same event, so no key typed + // in between reaches the workspace -- and closing it returns the focus to the block. onClose(true); - // The palette's dialog opens after the focus is back on the block, so closing it returns there. - const req = { row: it.row, values: fromBlockValues(it.row, info) }; - setTimeout(() => openCommand(req), 0); + openCommand({ row: it.row, values: fromBlockValues(it.row, info) }); } else { onClose(false); }