Code Insights: Show how many dashboards have the current editing insight
Created by: vovakulikov
Context
At the moment we have a possible security issue when a user shared a dashboard via public org and other users took one or more insights from this dashboard to their private dashboards. Then if the first user (or any other users actually) takes this previously shared dashboard back other users who took insights from this dashboard still can see those insights.
But the problem is if some of the users try to edit these insights then these edits will affect the insights in other users' personal dashboards. See this loom for more details
A possible solution to solve this problem for GA release: adding dashboard count where to the edit page of the insight which was included in more than one dashboard and notify in the pre-submit step that these changes will affect dashboards for other users as well.
For version 1:
We can just show the total count, not the dashboard names.