mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
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> |
||
|---|---|---|
| .. | ||
| daemon | ||
| desktop | ||
| landing-page | ||
| packaged | ||
| web | ||
| AGENTS.md | ||