Image 1 and 2 (Problem):
When the door opens too wide, it will hit the corner of the shoe cabinet causing the dent. One type of mechanism can be used, the linkages. Linkages can be used at the top of the door to prevent it from opening too big.
Image 3 and 4 (Suggested solution):
A slider is placed at the top. One side of the linkage is joined to the slider and the other at the top of the door. As the door opens, the linkage moves along the slider. The door will stop opening when the linkage reaches the end of the slider.