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

Grafana-ui: disables storybook controls that are irrelevant #35250

Merged
merged 4 commits into from
Jul 5, 2021

Conversation

thisisobate
Copy link
Contributor

What this PR does / why we need it:
This PR completely disables storybook controls that are irrelevant.
Which issue(s) this PR fixes:

Relates to #34417

@thisisobate thisisobate added area/storybook Issues related to Storybook that displays components for Grafana UI old backport v8.0.x Mark PR for automatic backport to v8.0.x labels Jun 4, 2021
@thisisobate thisisobate added this to the 8.0.0 milestone Jun 4, 2021
@thisisobate thisisobate requested review from Clarity-89 and a team June 4, 2021 13:32
@thisisobate thisisobate self-assigned this Jun 4, 2021
@thisisobate thisisobate requested review from mckn and removed request for a team June 4, 2021 13:32
@thisisobate thisisobate added this to In Review (max. internal 8, external 3) in Frontend Platform Backlog via automation Jun 4, 2021
@thisisobate thisisobate requested review from dprokop and jackw and removed request for mckn and dprokop June 4, 2021 13:32
@thisisobate thisisobate requested a review from torkelo June 4, 2021 13:33
@Clarity-89
Copy link
Contributor

Let's wait with this PR until 8.1. Due to a bug in storybook v6.2 the excluded controls are not passed as props on the first render to the stories, so we get lots of undefined props error storybookjs/storybook#14732. This should be fixed in Storybook v6.3.

@thisisobate
Copy link
Contributor Author

Alright 👍

@thisisobate thisisobate modified the milestones: 8.0.0, 8.1.0 Jun 4, 2021
@Clarity-89 Clarity-89 removed the old backport v8.0.x Mark PR for automatic backport to v8.0.x label Jun 4, 2021
@thisisobate thisisobate moved this from In Review (max. internal 8, external 3) to Bugs (max. 35) in Frontend Platform Backlog Jun 8, 2021
@thisisobate thisisobate moved this from Bugs (max. 35) to To do in Frontend Platform Backlog Jun 8, 2021
@thisisobate thisisobate requested review from dprokop and removed request for jackw June 25, 2021 13:21
@thisisobate thisisobate enabled auto-merge (squash) June 28, 2021 10:12
@natellium natellium added this to In Review (max internal 8, max external 3) in User essentials squad (deprecated) via automation Jul 1, 2021
@thisisobate thisisobate removed the request for review from ifrost July 5, 2021 07:40
@thisisobate thisisobate enabled auto-merge (squash) July 5, 2021 08:02
@thisisobate thisisobate merged commit 808b9a3 into main Jul 5, 2021
@thisisobate thisisobate deleted the controls-disabling-fix branch July 5, 2021 08:17
Frontend Platform Backlog automation moved this from To do to Done Jul 5, 2021
User essentials squad (deprecated) automation moved this from In Review (max internal 8, max external 3) to Done Jul 5, 2021
bryanuribe pushed a commit to open-o11y/grafana that referenced this pull request Aug 6, 2021
…35250)

* Grafana-ui: disables storybook controls that are irrelevant

* excluded unused control in Select story

* made timeRange control visisble in GraphNG story
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend area/storybook Issues related to Storybook that displays components for Grafana UI
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants