Daily Log - 2026-05-02
Dynaforms: Builder Keybindings & Accessibility Enhancements
Achievements
- Global Builder Shortcuts: Successfully implemented native keyboard shortcut bindings (
Ctrl/Cmd + S/P/J/I) within the Builder Center Panel to immediately trigger save, preview, JSON viewing, and import actions. - Contextual Form Resets: Introduced a canvas-scoped
Ctrl/Cmd + Deletekeybinding strictly allocated to cleanly resetting the entire form when interacting within the primary editing mode. - Centralized Help Interface: Added a dedicated Keyboard Shortcuts modal overlay accessible universally via the
Shift + ?hotkey, visually mapping all newly available hotkeys for seamless user onboarding. - JSON Viewer Reliability: Corrected a focus trap issue by moving the JSON Viewer modal's
Escapehandler to a global scope, guaranteeing a reliable exit behavior regardless of the current focus target.
Decisions
- Scoping Global Undo/Redo: Retained explicit control over
Ctrl/Cmd+ZandCtrl/Cmd+Ylocally inside the overarchingDynaformBuilderComponentto circumvent collisions with the specialized canvas shortcuts dispatched insideCenterPanelComponent. - Destructive Separation: Visually emphasized the danger of the new
Ctrl/Cmd+Deleteform reset binding in the UI compared to the standard, undoable elementDeletekeystroke to prevent catastrophic user errors.
Technical Details
- Modified:
center-panel.component.ts/html-> Installed a@HostListenercapturing specialized shortcuts and rendering theshowShortcutsModalboolean structure. - Modified:
center-panel.config.ts-> Added display strings charting Mac/Windows keys specific to modal visualizations.