Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sample dashboard Main Dashboard #167

Merged
merged 7 commits into from
Feb 10, 2023
Merged

Update sample dashboard Main Dashboard #167

merged 7 commits into from
Feb 10, 2023

Conversation

fridgepoet
Copy link
Member

@fridgepoet fridgepoet commented Feb 9, 2023

What this PR does / why we need it:
These changes refresh elements of the Main Dashboard so that it works as closely as it was originally intended to with v8.4.7 and ~v9

  • Added an Introduction ("getting started") box to explain to the user how to set up the data for this dashboard
  • Set some panel options to remove errors
  • Set the query options in Time Series panel and specified it only applies to Mixers
  • Set some default values for video panel and scene panel to work immediately after import

Which issue(s) this PR fixes:

Fixes #151

Special notes for your reviewer:
Exported this dashboard from v8.4.7 for AMG compatibility
Tested importing it to v9.3.6 to check compatibility with latest-ish Grafana

@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Levitate is-compatible report:

🔍 Resolving @grafana/data@latest...
🔍 Resolving @grafana/ui@latest...
🔍 Resolving @grafana/runtime@latest...
🔍 Resolving @grafana/e2e-selectors@latest...

🔬 Checking compatibility between ./src/module.ts and @grafana/data@9.3.6...
✔ Found @grafana/data version 8.4.11 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/ui@9.3.6...
✔ Found @grafana/ui version 8.4.11 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/runtime@9.3.6...
✔ Found @grafana/runtime version 8.4.11 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/e2e-selectors@9.3.6...
✔ Found @grafana/e2e-selectors version 8.4.11 locally

✔️ ./src/module.ts appears to be compatible with @grafana/data,@grafana/ui,@grafana/runtime,@grafana/e2e-selectors

@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Backend code coverage report for PR #167
No changes

@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Frontend code coverage report for PR #167

Plugin Main PR Difference
src 44.59% 44.59% 0%

@fridgepoet fridgepoet changed the title Dashboard Update Main Dashboard Feb 9, 2023
@fridgepoet fridgepoet marked this pull request as ready for review February 9, 2023 13:04
@fridgepoet fridgepoet requested a review from a team as a code owner February 9, 2023 13:04
@fridgepoet fridgepoet changed the title Update Main Dashboard Update sample dashboard Main Dashboard Feb 9, 2023
Copy link
Contributor

@iwysiu iwysiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we've gone back and forth on it, and I wonder how other people feel about, but I feel like this may be a bit tightly bound to the Cookie Factory example. Like there are several Cookie Factory specific variables set, ex. the scene for scene viewer and the row title. I wonder if it would be better to remove the cookie factory link and just have the description of how sel_entity and sel_comp work and a list of other things to set to get it to work, ex. setting the scene in the scene viewer. We can talk about it tomorrow if you want?

@iwysiu
Copy link
Contributor

iwysiu commented Feb 9, 2023

Also I don't know if you've noticed this, but for the updated Main dashboard, the query editor doesn't load when you open a panel to edit it:
Screen Shot 2023-02-09 at 4 15 41 PM
It does load for the Alarm sample dashboard, so I don't think it's that grafana bug that got fixed. I wonder if it's because it's being stored differently?

@fridgepoet
Copy link
Member Author

fridgepoet commented Feb 10, 2023

Which environment are you looking at where the query editor doesn't load?

Couldn't reproduce on v8.4.7 nor on v9.3.6.

Copy link
Contributor

@iwysiu iwysiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last datasource straggler, but I think it looks good besides that.

src/datasource/dashboards/twinmaker-main-dashboard.json Outdated Show resolved Hide resolved
@fridgepoet
Copy link
Member Author

Going to merge this for now but happy to make any changes if there is more feedback from others

@fridgepoet fridgepoet merged commit b1f0090 into main Feb 10, 2023
@fridgepoet fridgepoet deleted the dashboard branch February 10, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chore: Remove or fix non-working main dashboard in play.grafana.org
2 participants