WEFT_OS/crates
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
..
weft-app-shell feat: let an application decline a close to keep unsaved changes 2026-10-09 17:00:08 +00:00
weft-appd feat: let an application decline a close to keep unsaved changes 2026-10-09 17:00:08 +00:00
weft-build-meta Initialize Rust workspace and repository metadata 2026-03-10 18:47:06 +01:00
weft-compositor fix(appd): close a running session as a user close would before terminating it 2026-10-09 16:36:29 +00:00
weft-file-portal fix(runtime): enforce effective capability grants per session 2026-10-09 08:08:58 +00:00
weft-ipc-types feat: let an application decline a close to keep unsaved changes 2026-10-09 17:00:08 +00:00
weft-mount-helper fix(appd): resolve each launch to one package and fail closed on images 2026-10-09 10:03:40 +00:00
weft-pack test(appd): launch complete packages in the supervisor tests 2026-10-09 10:18:36 +00:00
weft-runtime Merge remote-tracking branch 'origin/fix/confine-app-renderer' into fix/resolve-verified-package 2026-10-09 11:43:01 +00:00
weft-servo-shell fix(shells): release the rendering context and window before the display goes away 2026-10-09 16:29:22 +00:00