- Add local scope state in RoutineEditor and sync it when the incoming scope prop changes - Wire scope toggle buttons to update local state and invoke optional onScopeChange callbacks - Use the selected local scope for validation, submit payload scope resolution, and helper text rendering - Expand RoutineEditor tests to cover scope toggle interactions, disabled states, callback calls, submission, and prop-sync behavior
32 KiB
32 KiB