mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 08:11:41 +00:00
VectorCraft on the craft UI framework (#8800)
VectorCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (`next`; the framework side is storytold/craft-libs#2809), as PhotoCraft's did. The app keeps its engine, document model, file formats, commands and automation; its windows, panels, bars, dialogs and canvas are now built and driven by the framework: shell, docking and panels, hosted dialogs, keyboard, focus, IME and pointer routing, and theme tokens. About 264,000 lines of VectorCraft's own egui UI code are removed and about 154,000 added. craft-libs is pinned at bf62d509f (in `next`), the egui fork at f5025284. Tests that drove the old UI were rewritten against the port where only their premise changed, with their assertions kept. The UI tests still failing at merge, and their follow-ups, are listed in the pull request.
This commit is contained in:
@@ -25,7 +25,13 @@ jobs:
|
||||
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
|
||||
with:
|
||||
os: '["windows-2022"]'
|
||||
timeout-minutes: 90
|
||||
# A change to Cargo.lock finds no cache (only main saves one) and builds everything cold:
|
||||
# about 55 minutes for `-p vectorcraft` alone, then the UI crate's tests.
|
||||
timeout-minutes: 150
|
||||
# As in ci.yml: test binaries without debug info or symbols, and workspace crates without
|
||||
# line tables. A panic still names its file and line.
|
||||
dev-strip: true
|
||||
dev-debug: "0"
|
||||
# As before: printing builds and tests without craft-fonts, nextest or the wasm target.
|
||||
craft-fonts-ref: ""
|
||||
tools: ""
|
||||
|
||||
Reference in New Issue
Block a user