Ensure Language Analytics Project Component available for CE in the new analytics space
Problem to solve
Once the new Language Statistics on a group level page has been added - there will be no need for the old project level page and this can therefore be removed. Otherwise, this can be confusing to clients and will require additional engineering support.
HOWEVER, Based on https://about.gitlab.com/company/stewardship/ we can't simply remove the old page and not still provide the functionality to CE users.
Intended users
PMs, EMs
Further details
Proposal
- Allow lower tier users access to the new code analytics page, with the limitation of only being able to see language analytics statistics and graph
- Remove the old project level language analytics
-
License.feature_available?(:code_analytics_advanced)would need to be passed to the FE and we should be able to display the above mentioned features based on this flag - For gitlab.com, we have the additional complication that a user can buy a namespace for himself only and can be part of both a paid or unpaid group. The current thinking is that a user can only see information under their paid namespaces/groups.