MD.OFFICE
FAL

Daily Log - 2026-05-04

Dynaforms: Config & Translation Keybindings

Achievements

  • Global Actions Shortcuts: Concluded the center panel keybindings integration by wiring Ctrl/Cmd + Alt + G to instantly open the Global Config modal, and Ctrl/Cmd + Alt + L to access the Add Translation menu.
  • State-Aware Execution: Hardened the shortcut dispatcher to evaluate the active state of the form; the translation shortcut natively refuses execution if the translation capabilities are currently disabled in the form properties.

Decisions

  • Consistent Guarding: Decided to mirror existing visual button constraints (like disabled) into the keystroke listeners directly to prevent backend execution mismatch errors via shortcut overrides.

Technical Details

  • Modified: center-panel.component.ts -> Inserted the translation guard and action triggers for both global configurations.
  • Modified: center-panel.component.html -> Appended shortcut tooltip hints natively onto the action buttons themselves.
  • Modified: center-panel.component.jest.spec.ts -> Ensured both disabled gating and operational routing were captured by regression tests.