Commit Graph
9 Commits
Author SHA1 Message Date
aiongg da7c19d803 Ctrl+Q quits from a text field, a dialog and a floating panel's window
As before the move to the craft-ui runtime, Ctrl+Q asks the main window to
close whatever has the keyboard there, so unsaved work is asked about. In
a floating panel's own window, where the key closed only that window, it
asks in the same way. The runtime's Quit command runs the key.
2026-11-25 18:53:01 +00:00
aiongg d50e985a6e F6 and Shift+F6 node shortcuts run and record again
As before the move to the craft-ui runtime, F6 and Shift+F6 reach
MaterialCraft's node shortcuts and the shortcut recorder. The runtime's
pane moves, which took both chords out of egui's input, are unbound.
2026-11-25 18:24:57 +00:00
aiongg 5a480d1bd1 Escape releases the keyboard from a dock control 2026-11-25 15:43:23 +00:00
aiongg 96850c2d87 The canvas menus take real clicks; the canvas gets focus after a dialog opens a graph 2026-11-25 14:10:42 +00:00
aiongg 252d671c2b The canvas is one real Tab stop and takes the keyboard when pressed 2026-11-25 13:58:02 +00:00
aiongg d493e5dae6 Merge storytold main into minimal-port-next
Conflicts: main.rs (kept the port's frame decision and framework install, took main's Nightly window name, build version and exit hook, dropped window_layout), material_craft_app.rs (kept on_exit and the port's raw_input_hook), updates_ui.rs and its test (main's optional updater on the port's Updater::run and UpdateCheckDialog). The framework install takes the app id from os_window.
2026-11-25 13:41:25 +00:00
aiongg e59c49a7c5 Repin craft-libs to cd87dc61f7; pass the app icon to the host
- Every aiongg/craft-libs dependency moves to cd87dc61f7 (QuitCommand::Quit and HostBuilder::icon_png).
- The host carries MaterialCraft's 128 px app icon, which the update dialogs show.
- MaterialCraft keeps its own ui.quit (File > Exit, Ctrl+Q), so the framework's window.quit is unbound in the command overrides.
2026-11-24 03:37:20 +00:00
aiongg 768dc94613 Repin craft-libs to 5d9f4b62cb; pass FrameInput::app_modal for MaterialCraft's own modals and restore the floating-panels test on it 2026-11-24 02:25:19 +00:00
aiongg 2afa397987 Host MaterialCraft's egui UI on craft-libs next's runtime
The runtime is installed in the desktop and web shells and fed each frame;
the unsaved-work question decides in the framework's close path. Panels dock
in next's DockArea beside the saved workspace (file format unchanged), with
the graph as the canvas group. The update dialogs run on a DialogHost. Where
the app draws the window frame, the menu bar sits in the framework's title
bar. Escape no app widget takes arrives as the window's cancel and still runs
the Escape shortcuts. Shortcuts match through craft_keymap::Matcher with the
old dispatcher's contract. Removed framework helpers (widget palette, icon
button painter, interface direction) are app-local or come from craft-i18n.
Test harnesses that draw the app install the runtime.
2026-11-24 01:18:57 +00:00