After a series of recent refactorings `enterView` and `leaveView` became identical. This PR merges both into one concept of view selectio (similar to a node selection). This reduces number of concepts and code size. PR Close #32263
After a series of recent refactorings `enterView` and `leaveView` became identical. This PR merges both into one concept of view selectio (similar to a node selection). This reduces number of concepts and code size. PR Close #32263