17 lines
1.4 KiB
Markdown
17 lines
1.4 KiB
Markdown
# UI component lifetime implementation plan
|
|
|
|
**Goal:** Reduce unnecessary UI allocation and hidden-page updates while retaining the existing workflow.
|
|
|
|
**Architecture:** Reuse the main task workspace. Render rules and results through Qt item models. Keep task logs and BOM report data outside disposable detail dialogs; create views only when opened and render only the active detail tab.
|
|
|
|
**Constraints:** Remain on the 1.1.2 development branch, preserve BOM/direct editing and batch drafts, do not package or release, do not launch CAD or alter original project/evidence data.
|
|
|
|
- [x] Establish allocation/timing baseline and failing resource-lifetime regressions.
|
|
- [x] Replace per-rule item widgets with QAbstractTableModel/QTableView; keep ordering, rule identity, persisted confirmation, lock gates and selection.
|
|
- [x] Extract disposable detail dialogs, lazy-load log tab, retain data independently, invalidate reads on closing and read latest on reopening.
|
|
- [x] Migrate UI callers, tests and evidence tools to explicit view/data APIs.
|
|
- [x] Verify lifecycle, paging, visible-only rendering, BOM drafts and actual Qt delegate interaction; reproduce UI layout using copied evidence.
|
|
- [x] Review changes and record measured results in `docs/reviews/2026-10-15-ui-component-lifetime.md`.
|
|
|
|
Integration: commit and push these changes on the existing `codex/execution-responsiveness` development branch; no release/tag/package.
|