Detail mode: view or dialog
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- The
AURORA:FORM-FIELDS-START/ENDpreservation region moves from*-detail.component.tsto the new*-form.component.ts. Custom region bodies do not migrate automatically — copy yours into the new form file before regenerating, or the CLI emits[REGION DROPPED]and your edits are lost. - Form body extracts into a standalone
*-form.component.ts— dumb component with[initial]+[mode]inputs,(save)+(cancel)outputs, and a publicsubmit()method. No Apollo, no chrome. - New optional YAML field
front.detailMode. Defaultviewkeeps the routed/new+/edit/:idflow;dialogskips emitting*-detail.component.tsand embeds an<hlm-dialog>plus the form inside the list. - New hand-authored composable
useAggregateShell<T>in@aurora/lib/—fetchForEdit,save,loading,error— consumed identically by view-mode and dialog-mode shells.
Why it matters
Section titled “Why it matters”The form becomes embeddable anywhere: routed detail in view mode, modal CRUD in dialog mode, and the relational child editor of the upcoming grid-elements-manager. Default-mode modules regenerate with identical runtime behaviour — list, routes, create, edit, and cancel flows are unchanged. The only observable difference is the file split, which is mechanical.