cad-editor/src/ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven c0844ad55c feat(annotative): synthesize per-object contexts + editable UI
Make objects genuinely annotative — carrying real per-scale
representations that interoperate with other CAD apps — rather than just
a native flag. `create_annotation_context` synthesizes the extension-dict
chain (AcDbContextDataManager -> ACDB_ANNOTATIONSCALES -> per-scale leaf)
from the entity's placement; the editable Annotative toggle now covers
Text and block references as well as MText/MLeader; and a new
"Annotation Object Scale" dialog (OBJECTSCALE) adds/removes an object's
per-scale memberships. Requires the acadrust ObjectContextData encoder
(Cargo.lock bump).

Also fixes a render bug where objects carrying an *empty*
ACDB_ANNOTATIONSCALES (a single-representation marker with no per-scale
reps) were treated as annotative and (mis)scaled by the annotation factor
in scaled paper viewports, ballooning the text: an object is now
annotative-by-context only when its scale collection is non-empty, so
such objects render at their base geometry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 22:38:29 +03:00
..
popup fix(annotative): make scale-manager rename and edits actually persist 2026-07-13 14:37:33 +03:00
ribbon fix(ribbon): highlight toggle buttons by their actual state 2026-07-12 19:53:48 +03:00
statusbar fix(precision): keep typed coordinates exact in f64 (#311) 2026-07-11 21:26:40 +03:00
style feat(annotative): synthesize per-object contexts + editable UI 2026-07-13 22:38:29 +03:00
window refactor(config): consolidate settings into one grouped settings.json 2026-07-10 16:41:34 +03:00
color_select.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
command_line.rs feat(alias): centralize command aliases in user-editable ocad.pgp (#286/#288) 2026-07-10 12:39:22 +03:00
icons.rs feat(save): native OS dialog for Save As, keep in-app format picker 2026-07-11 09:12:36 +03:00
mod.rs feat(ui): flex-wrap the ribbon top bar and status bar when narrow 2026-07-05 16:17:44 +03:00
modal.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
overlay.rs fix(stretch): free crossing-window corners from Ortho, draw filled marquee (#291) 2026-07-10 13:32:32 +03:00
properties.rs feat(props): make dim-line colour editable for leaders and dimensions 2026-07-13 17:31:09 +03:00
side_toolbar.rs feat(ui): right-edge side toolbar; drop the paper-space ribbon tab 2026-06-12 02:07:26 +03:00
text_util.rs feat(ui): elide overflowing text, tooltip full layer name 2026-06-09 19:04:18 +03:00
wrap_bar.rs feat(viewport): hide ViewCube then render bar as the viewport narrows 2026-07-10 14:58:48 +03:00