WEFT_OS/crates/weft-ipc-types
Marco Allegretti 551df84562
feat: let an application decline a close to keep unsaved changes
A package declares its unsaved-change policy in [ui].close. With
"ask", the app shell dispatches a cancelable weftclose event before
the window closes and waits up to 2 s for the page. A page that
cancels the close keeps running, and the app shell reports this to
weft-appd with its readiness token, which returns the session to
running. The page closes itself later with window.close().

Notes declares "ask". With unsaved changes it offers Save and close,
Close without saving, and Cancel. It closes after a save only once the
save is acknowledged. The taskbar shows a declined close as running
again.
2026-10-09 17:00:08 +00:00
..
src feat: let an application decline a close to keep unsaved changes 2026-10-09 17:00:08 +00:00
Cargo.toml fix(appd): resolve each launch to one package and fail closed on images 2026-10-09 10:03:40 +00:00