refactor: Make preconditionFn part of all context menu items#9558
Merged
refactor: Make preconditionFn part of all context menu items#9558
preconditionFn part of all context menu items#9558