Analytics visualization designer is accessible before it is functional
Problem to solve
The Project > Analyze > Analytics dashboards button Visualization Designer
is visible even though the feature is not functional until both custom dashboards and product analytics have been fully set up. This creates a confusing user experience where you can open the designer and click Save
only to receive an error that something went wrong.
Screenshots
Steps to repoduce
- Create a new project in a instance / group that has product analytics and customizable dashboards enabled.
- Navigate to Project > Analyze > Analytics dashboards.
- Click the
Visualization Designer
button and create a visualization. - Click
Save
and observe the error.
Proposed solution
Since the designer is dependant on both product analytics and custom dashboards only show the Visualization Designer
button if both are set up.
Implementation plan
frontend
- Update
dashboards_list.vue
to only render theVisualization Designer
button if PA has been onboarded andcustomDashboardsProject
is set. - Update the button string to be sentence case as suggested by Pajamas.
Visualization designer
. - Update specs to verify.