Tag Info

Hot answers tagged


To disable the option is a general way to go, is more appropriate considering that you should always work towards error prevention. My suggestion is to clearly change the appearance of the non-deletable node in comparison with the default ones, and additionally show a tooltip or something indicating why this node is special and cannot be deleted. Over time ...


The first option is the best. It's poor UX to invite someone to do something, and then tell them they can't do it. Think about Donald Norman's concept of 'Affordance'. A handle tells people that they can pull a door, while a plate tells them that they can push it. Your are giving people a handle on a push door here. Use a common pattern, like greying out ...

Only top voted, non community-wiki answers of a minimum length are eligible