open-design/apps
Nagendhra Madishetti 84e1bb3b1a
fix(web): confirm before closing a dirty sketch so unsaved strokes are not lost (#988)
Issue #139: clicking Close in the sketch editor immediately discarded
unsaved strokes with no confirmation, even though the toolbar already
tracked dirty state and surfaced the bullet indicator.

Wrap the existing onCancel in a window.confirm() guard, gated on the
dirty flag so a clean sketch still closes in one click. Same pattern
the codebase uses for conversation/design/file delete and the
media-provider Clear button.

i18n: new key 'sketch.closeConfirm' translated across all 17 locales.

Co-authored-by: Nagendhra <nagendhra405@gmail.com>
2026-05-09 08:29:30 +08:00
..
daemon feat(daemon): expose gemini-3 preview models and 2.5-flash-lite in the Gemini picker (#986) 2026-05-09 08:15:34 +08:00
desktop feat(desktop): export artifacts directly to PDF (#532) 2026-05-08 23:42:12 +08:00
landing-page release: Open Design 0.5.0 (#820) 2026-05-08 00:41:01 +08:00
packaged fix(packaged): swallow harmless setTypeOfService EINVAL from undici (#895) (#906) 2026-05-09 01:16:23 +08:00
web fix(web): confirm before closing a dirty sketch so unsaved strokes are not lost (#988) 2026-05-09 08:29:30 +08:00
AGENTS.md test(e2e): gate beta packaged runtime (#637) 2026-05-06 17:44:29 +08:00