Task: Adopt the base in the history-dialog template and roll out
This page documents a task in the Consolidate history dialogs onto HistoryDialogBase story. It captures the goal, current status, acceptance, and any notes or results.
Goal
Bring the 61 generated history dialogs onto the target form: the
base renders fields and changes straight from the response, and
the per-entity dialogs shrink to generated declarations.
Gated on the codegen org-model migration: this task must not force codegen changes while entity models migrate. It proceeds component by component as each component's models settle, or waits for the migration to complete.
Status
| Field | Value |
|---|---|
| State | BACKLOG |
| Parent story | Consolidate history dialogs onto HistoryDialogBase |
| Now | Not yet started. |
| Waiting on | Nothing. |
| Next | Begin implementation. |
| Last touched | 2026-06-05 |
Acceptance
- All generated history dialogs derive from the base; no duplicated pipeline remains.
- Interim template method and helpers removed.
- History responses no longer ship full domain payloads.
- Zero-diff regeneration checks green.
Plan
- Update
cpp_qt_history_dialog.{hpp,cpp}.mustacheandqt_history_dialog_ui.mustache: derive fromHistoryDialogBasetarget form; remove the duplicated pipeline. - Per domain: add the entity field mappers and extend the history handlers (mechanical application of the pilot pattern).
- Regenerate per component; zero-diff guardrails catch drift.
- Remove the interim
calculateDiffmachinery from the base once no dialog uses it; drop full domain payloads from history responses once no client reads them.
Notes
PRs
| PR | Title |
|---|---|
Review
| Comment summary | File | Decision | Notes |
|---|---|---|---|