cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven f2dfd01795 feat(styles): unify the five style managers behind a shared frame
The text/dimension/table/multileader/multiline managers were hand-copied,
so their list CRUD kept drifting and breaking: Dimension's New created
nothing (#73), new text styles never reached the ribbon dropdown (#74),
and several were added with a NULL handle (dropped on DWG save, #67).

Collapse the duplicated parts into three shared pieces and leave only the
per-manager property editor bespoke:

- app/style_ops.rs: one StyleKind-dispatched CRUD layer (new / copy /
  delete / rename) handling handle allocation, ribbon sync, Table re-key
  and name-reference rewrites in a single place.
- ui/style_manager.rs: the window scaffold — uniform toolbar (New / Copy /
  Delete on the left, Set Current + Apply on the right), style list and
  chrome. Each manager now only builds its editor.
- ui/style_list.rs: the list row — single click selects, double click
  starts an inline rename.

New capabilities, now consistent across all five:
- Copy duplicates the selected style.
- Double-click a name to rename it inline.
- Right side is always Set Current + Apply (added Table set-current;
  MLine apply is a documented placeholder until its editor is editable).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 15:03:34 +03:00
..
app feat(styles): unify the five style managers behind a shared frame 2026-06-10 15:03:34 +03:00
command Merge pull request #80 from mf4633/feature/plugin-host 2026-06-10 00:37:37 +03:00
entities perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
io fix(io): purge degenerate arcs/splines that OOM on load 2026-06-10 08:39:50 +03:00
modules Merge pull request #80 from mf4633/feature/plugin-host 2026-06-10 00:37:37 +03:00
plugin Add demo_plugin and plugin host integration tests 2026-06-09 13:52:15 -04:00
scene fix(io): purge degenerate arcs/splines that OOM on load 2026-06-10 08:39:50 +03:00
shaders fix(hatch): render dot patterns (zero-length dashes) 2026-06-09 23:15:45 +03:00
snap Merge pull request #80 from mf4633/feature/plugin-host 2026-06-10 00:37:37 +03:00
ui feat(styles): unify the five style managers behind a shared frame 2026-06-10 15:03:34 +03:00
lib.rs Add plugin host architecture and Storm Sewer add-on package 2026-06-09 13:41:21 -04:00
linetypes.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
main.rs Add plugin host architecture and Storm Sewer add-on package 2026-06-09 13:41:21 -04:00
patterns.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
update_check.rs feat(update-check): suppress popup for releases under 30 min old 2026-05-29 15:29:00 +03:00