Currently, the SCM Viewlet and the Views Viewlet use separate implementations of the contributable views model. Additionally, SCM is a frankenstein of views: it manages part of its views and merges that with contributable views.
Suggestion:
ContributableViewsModel in ViewsViewlet - #48535Source Control Providers view only toggles setVisible() in the ContributableViewsModel@joaomoreno Adopted views model in ViewContainerViewlet aka ViewsViewlet. Since SCM Viewlet is not completely a ViewContainerViewlet and it has some unregistered views, I have to incorporate the knowledge of SCM viewlet in ViewsService to skip enablement/disablement. See - fc6c30ed3158d2e4b30d767e97635b984c9fd32c

@bpasero

@joaomoreno

@sandy081 Can you verify w/ code review?
Most helpful comment
@bpasero