MD.OFFICE
FAL

Daily Log - 2026-05-05

Dependent Fields — Property-Mutation Contract

Achievements

  • Contract Scaffolding: Established dependency config and type contracts for runtime property mutation (setFieldProps). Added property metadata contracts and field-level prop compatibility.
  • Builder Authoring: Implemented builder authoring UI for setFieldProps with single and map modes, enabling users to configure either fixed property outcomes or controller-value mappings. Added controller-value input auto-typing inside map rows.

Decisions

  • Non-Breaking Updates: Kept the update non-breaking and contract-only without enabling UI/runtime execution initially.
  • Unified Effect: Used a single property-effect type (setFieldProps) with explicit mode (single and map) rather than splitting into multiple effects.
  • Map Mode Conditioning: For map-only property mappings, rule-level operator/value inputs are hidden to use the mapping table as the primary condition surface.

Technical Details

  • Added: Dependency prop-metadata contract and typed dependency effect for dynamic field-prop mapping.
  • Modified: Expanded dependency configurator effect handling to support setFieldProps with UI switches for single-mode and map-mode editors.