Extract app frame and ui state services
This commit is contained in:
@@ -25,6 +25,24 @@ agent or engineer to remove them without reconstructing context from chat.
|
||||
owns that document-open handoff inline while retained dialog creation,
|
||||
unsaved-project prompting, project-open execution, and title/layer refresh
|
||||
still remain.
|
||||
- 2026-06-17: `DEBT-0003` was narrowed again. `App::update()` in
|
||||
`src/legacy_app_runtime_shell_services.cpp` no longer owns retained
|
||||
app-frame layout-update and canvas-toolbar refresh execution inline;
|
||||
`src/legacy_app_frame_services.*` now owns that frame-update execution
|
||||
behind an explicit `App&` plus `AppFrameUpdatePlan` seam, while draw-time
|
||||
execution, UI observer walking, and broader app-frame ownership still
|
||||
remain.
|
||||
- 2026-06-17: `DEBT-0003` was narrowed again. `App::tick()` and
|
||||
`App::resize()` in `src/app_events.cpp` no longer own retained app-frame
|
||||
tick and surface-resize execution inline; `src/legacy_app_frame_services.*`
|
||||
now owns the tick/resize execution against explicit `App&` plus frame plans,
|
||||
while broader event dispatch and runtime/platform frame ownership still
|
||||
remain.
|
||||
- 2026-06-17: `DEBT-0045` was narrowed again.
|
||||
`src/app_layout_ui_state.cpp` no longer owns retained floating/docked panel
|
||||
save/restore serialization inline; that panel-persistence family now lives in
|
||||
`src/legacy_app_ui_state_services.*`, while RTL direction execution and
|
||||
broader preference/runtime ownership still remain.
|
||||
- 2026-06-17: `DEBT-0035` was narrowed again.
|
||||
`src/app_layout_main_toolbar.cpp` no longer owns the retained main-toolbar
|
||||
button wiring inline; `src/legacy_main_toolbar_binding_services.*` now owns
|
||||
@@ -48,6 +66,12 @@ agent or engineer to remove them without reconstructing context from chat.
|
||||
submenu popup flow or panel-item wiring inline; that binding now lives in
|
||||
`src/legacy_tools_menu_binding_services.*`, while retained Tools command
|
||||
execution and options-menu preference wiring still remain in the app shell.
|
||||
- 2026-06-17: `DEBT-0063` was narrowed again.
|
||||
`src/app_layout_sidebar.cpp` no longer owns the retained color-popup open /
|
||||
close wiring inline; that binding now lives in
|
||||
`src/legacy_sidebar_color_popup_services.*` with explicit `App&`,
|
||||
popup-root, trigger-button, and panel dependencies, while retained
|
||||
stroke/grid/layer popup families still remain on the sidebar shell.
|
||||
- 2026-06-17: `DEBT-0038` was narrowed again. The retained cloud upload and
|
||||
download background execution in `src/legacy_cloud_services.cpp` now routes
|
||||
through `AppRuntime::canvas_async_task` instead of a file-static worker
|
||||
|
||||
@@ -87,6 +87,11 @@ Current conclusion:
|
||||
lives in dedicated `legacy_*_binding_services.*` helpers, so the
|
||||
corresponding `app_layout_*` files are thinner adapters even though retained
|
||||
execution still lives in the app shell.
|
||||
- App-frame update, tick, and resize execution now route through
|
||||
`src/legacy_app_frame_services.*`, and floating/docked panel persistence now
|
||||
routes through `src/legacy_app_ui_state_services.*`, so more of the retained
|
||||
app shell is down to adapter calls even though runtime draw/event/sidebar
|
||||
execution still remains.
|
||||
- Platform extraction improved substantially and the root app source group no
|
||||
longer compiles Web platform sources directly, but broader CMake and
|
||||
entrypoint cleanup are not complete.
|
||||
|
||||
@@ -84,6 +84,23 @@ Key facts:
|
||||
wiring through `src/legacy_tools_menu_binding_services.*`, so
|
||||
`src/app_layout_tools_menu.cpp` no longer owns that floating-panel submenu
|
||||
body inline while retained Tools execution and options wiring remain.
|
||||
- `App::update()` now delegates retained app-frame layout update and
|
||||
canvas-toolbar refresh execution through `src/legacy_app_frame_services.*`,
|
||||
so `src/legacy_app_runtime_shell_services.cpp` is thinner at the frame
|
||||
update seam while draw-time execution still remains there.
|
||||
- `App::tick()` and `App::resize()` now delegate retained app-frame tick and
|
||||
surface-resize execution through `src/legacy_app_frame_services.*`, so
|
||||
`src/app_events.cpp` is thinner at the frame-execution seam while broader
|
||||
input/platform dispatch still remains there.
|
||||
- `App::ui_save()` and `App::ui_restore()` now delegate retained floating and
|
||||
docked panel persistence through `src/legacy_app_ui_state_services.*`, so
|
||||
`src/app_layout_ui_state.cpp` is down to thin preference adapters while RTL
|
||||
direction execution stays local.
|
||||
- `App::init_sidebar()` now delegates the retained color-popup open/close
|
||||
wiring through `src/legacy_sidebar_color_popup_services.*` with explicit
|
||||
`App&`, popup-root, trigger-button, and panel dependencies, so
|
||||
`src/app_layout_sidebar.cpp` is thinner while the retained stroke/grid/layer
|
||||
popup families still remain inline.
|
||||
|
||||
## Parallel Assignment Rules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user