name: forms-mode-transitions description: Detailed guidance for FormsManager mode transitions in BeepDM. Use when working with EnterQueryModeAsync, ExecuteQueryAndEnterCrudModeAsync, EnterCrudModeForNewRecordAsync, and related readiness or validation checks across blocks.
Forms Mode Transitions
Use this skill when implementing or debugging mode-aware behavior in FormsManager.
File Locations
DataManagementEngineStandard/Editor/Forms/FormsManager.ModeTransitions.csDataManagementEngineStandard/Editor/Forms/FormsManager.EnhancedOperations.csDataManagementEngineStandard/Editor/Forms/Helpers/DirtyStateManager.cs
Core APIs
EnterQueryModeAsync(...)ExecuteQueryAndEnterCrudModeAsync(...)EnterCrudModeForNewRecordAsync(...)CreateNewRecordInMasterBlockAsync(...)ValidateAllBlocksForModeTransitionAsync()GetBlockMode(...)GetAllBlockModeInfo()IsFormReadyForModeTransitionAsync()
Working Rules
- Never force mode changes by mutating block state externally.
- Always inspect returned
IErrorsInfo. - Resolve unsaved changes and parent context before entering detail CRUD flows.
- Preserve status updates and event-trigger semantics around transitions.
Related Skills
Detailed Reference
Use reference.md for transition flows, failure patterns, and debug checks.