cad-editor/src/app/view
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven b77187e672 feat(save): warn before dropping AEC/Civil objects or overwriting on Save-As
Two in-canvas confirmations on the Save-As path:

- AEC/Civil drop warning: when the drawing carries unsupported AEC/Civil
  (application) objects that survive only as verbatim source-version bytes,
  saving to a different version or to DXF would silently drop them. The
  dialog reports the count and offers "Save in source version" (keep) vs
  "Save anyway" (drop). Same-version DWG saves are lossless and skip it.
- Overwrite confirmation: when the chosen filename already exists in the
  target folder, "Replace" / "Cancel" before clobbering it.

The two chain (AEC first, then overwrite) via per-flow acknowledgement flags
reset whenever the Save dialog opens or closes. Detection is a new
io::dropped_on_save_count over the document's Unknown (raw-passthrough)
objects/entities.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 11:47:37 +03:00
..
controls.rs refactor(viewport): migrate model-space tiling to iced pane_grid 2026-06-27 11:50:11 +03:00
mod.rs feat(save): warn before dropping AEC/Civil objects or overwriting on Save-As 2026-06-29 11:47:37 +03:00
modal.rs feat(save): warn before dropping AEC/Civil objects or overwriting on Save-As 2026-06-29 11:47:37 +03:00
overlay.rs refactor: split four oversized files into submodule trees 2026-06-26 22:51:29 +03:00
viewcube.rs refactor(viewcube): shrink cube 30%, compact controls, centre UCS picker 2026-06-27 01:56:17 +03:00