Move Group Analytics settings to dedicated page
Problem to solve
Followup from !122136 (comment 1441949369)
question: We're moving the
Analytics
section from projects but leaving the same section in its current location for groups. Shouldn't we have a consistent location for both?🤔
The IA for analytics settings is inconsistent between project, group and admin settings. Our project level settings live in a dedicated Analytics
page, and we would like to bring this structure to group (this issue) and admin (see: #451584 (closed)) level settings as well.
Proposal
We should split out the settings from Group -> Settings -> General -> Analytics into a new Analytics
settings page.
We should also update our documentation to note the changes in IA as well.
New settings page should follow existing settings page conventions.
Screenshots
Project settings
Group settings
(I expect we may need group level "data sources" configuration at some stage)
Admin settings
(single data source, "product analytics")
Implementation plan
- Add a new page + nav entry at Group -> Settings -> Analytics
- Use same nav hierarchy as project level, e.g. not sorted alphabetically
- Page has same layout / structure as project level analytics settings page
- (
Data sources
section not needed at group level at this point)
- (
- Move the contents of
_analytics.html.haml
into this new page- Update the
Analytics dashboards
section to match project-level settings, e.g. rename toCustom dashboards project
- Update the
- Clean up references on old Group -> Settings -> General page
- Update specs
- Update docs to ensure we refer to new settings location