ComfyUI_frontend
ComfyUI_frontend copied to clipboard
[refactor] Extract dialog composables and add showSmallDialog helper
Summary
- Added
showSmallDialoghelper function todialogServicefor reusable small dialog styling - Extracted
showLoadWorkflowWarningandshowNodeConflictDialoginto independent composablesuseMissingNodesDialoguseNodeConflictDialog
- This is foundational work for also displaying MissingModels warning in a small modal
Changes
- dialogService.ts: Added
showSmallDialoghelper, removed migrated functions - useMissingNodesDialog.ts: New composable for Missing Nodes dialog
- useNodeConflictDialog.ts: New composable for Node Conflict dialog
- Migrated existing usages to the new composable pattern
🤖 Generated with Claude Code