Skip to content

New Custom Dashboard

Tim Zallmann requested to merge tz-new-custom-dashboard into master

What does this MR do and why?

This adds the flow for adding a new dashboard:

  • Dashboard List has a new Dashboard button
  • Opens /new which simply loads the dashboard designer with an empty dashboard object and a special attribute isNew
  • When hitting save this marker will be removed and we use a create commit action
  • When saved successfully we redirect to the dashboard editor with this route

Note: Product analytics is an experimental feature behind a default off feature flag.

Screenshots or screen recordings

New Button

Bildschirm_foto_2023-03-10_um_15.29.40

New create a dashboard view

image

Error while saving

image

Bad request error while saving

image

Required title when saving

image

How to set up and validate locally

Note: This feature has a lot of setup steps. If you need help please ask me or I can step through these during a call with you.

  1. Follow these instructions to setup Product Analytics in GDK and configure a project.
  2. Configure a custom dashboard project like in !112481 (merged).
    • This needs a repository with a main branch in the same group as your test project.
  3. View the dashboard list at Project -> Analytics -> Dashboards.
  4. Verify that you can create a new dashboard by clicking on the New dashboard button.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

closes #390108 (closed)

Edited by Jiaan Louw

Merge request reports