Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

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

Closed

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions