openpencil/crates
Kayshen-X 5f68ab3c1a refactor: extract op-editor-ui crate
Relocate the widget facade (widgets/, including the Widget trait,
render primitives, the editor-UI compositions, the CanvasViewport
center canvas, the lucide icon drawer, and editor_state_ext), the
theme tokens, the layout-resolved render scene (layout_scene +
layout_scene_hit), and the design-variable aggregation (scene_vars)
out of openpencil-shell-core into a dedicated op-editor-ui crate.

The canvas widgets (canvas_viewport*) stay inside op-editor-ui rather
than splitting into a separate op-canvas crate: they depend on the
widgets/ siblings editor_state_ext + icons and on the Widget trait, so
a clean mechanical split is not possible — per the task's explicit
allowance not to force a fragile split.

op-editor-ui's lib.rs mirrors the old shell-core crate-root re-exports
(render_backend facade types + jian gesture types + the i18n alias) so
every intra-module `crate::Color` / `crate::theme` / `crate::widgets`
path resolves unchanged — a pure relocation with no path rewrites
inside the moved modules. openpencil-shell-core becomes a thin
re-export shim (`pub use op_editor_ui::{widgets, theme, ...}`) so the
hosts keep resolving `openpencil_shell_core::*` until the Task 7.3
host rename dissolves the crate. The widgets_static integration test
moves to op-editor-ui/tests with its imports rewritten. The widget
boundary script's reverse-check path is updated to the new crate.
No behaviour change; all tests move with their code.
2026-05-16 23:33:47 +08:00
..
op-ai refactor: extract op-ai crate 2026-05-16 23:24:29 +08:00
op-codegen refactor: extract op-codegen crate 2026-05-16 23:14:45 +08:00
op-editor-core refactor: delete shell-core's document module 2026-05-16 23:07:57 +08:00
op-editor-ui refactor: extract op-editor-ui crate 2026-05-16 23:33:47 +08:00
op-figma refactor: extract op-figma crate 2026-05-16 23:17:05 +08:00
op-i18n fix(i18n): point convert-locales.py output at the op-i18n crate 2026-05-16 14:25:58 +08:00
op-mcp refactor: extract op-mcp crate 2026-05-16 23:21:17 +08:00
op-pen-loader refactor: delete shell-core's document module 2026-05-16 23:07:57 +08:00
openpencil-desktop refactor: extract op-ai crate 2026-05-16 23:24:29 +08:00
openpencil-shell-core refactor: extract op-editor-ui crate 2026-05-16 23:33:47 +08:00
openpencil-shell-native refactor: delete shell-core's document module 2026-05-16 23:07:57 +08:00
openpencil-shell-web refactor: delete shell-core's document module 2026-05-16 23:07:57 +08:00
wasm-libc-shim style(shell): cargo fmt --all (rustfmt-clean) 2026-05-10 18:47:33 +08:00
CLAUDE.md docs: fix stale i18n + renderer paths flagged by Codex review 2026-05-16 15:45:54 +08:00