Skip to content

ADR-0050 implementation: finish layout-forwarding (DrawerForm + entries) + narrow FormView.type (breaking) #1765

Description

@os-zhuang

Tracks the remaining ADR-0050 (form layout ⊥ presentation) implementation after the additive first step landed.

Done (additive, non-breaking):

Remaining A (additive, non-breaking) — consistency:

  • DrawerForm: add contentLayout (tabbed) like ModalForm.
  • Forward layout from the other modal entry points: useActionModal, DashboardView (and any list addRecord modal path) so every container honours the form view's layout.

Remaining B (BREAKING, spec-major — needs architect sign-off, ADR-0050):

  • Narrow FormViewSchema.type to layout-only (simple/tabbed/wizard); drop drawer/modal (caller-supplied containers) and split (covered by subforms + list split-detail).
  • ObjectForm: remove the retired drawer/modal/split branches.
  • Migrate the 5 demo named views (showcase task split/quick; hotcrm lead split/drawer/modal) to layout demos + open-mode demos.
  • spec-major changeset + downstream (hotcrm/templates) coordination. Bundle into the next spec-major batch rather than a standalone major bump.

See ADR-0050 (docs/adr/0050-form-layout-vs-presentation.md). Refs #1890.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions