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

Transformations: Move transformation help to drawer component #79247

Merged
merged 5 commits into from
Jan 19, 2024

Conversation

codeincarnate
Copy link
Collaborator

@codeincarnate codeincarnate commented Dec 7, 2023

What is this feature?

We've been moving a number of transformation components into a Drawer to make better use of screen space. Along the same lines we moved help into a Modal recently as well. This builds on that by moving help into a Drawer as well to make it consistent with other controls.

Under the surface it also renames TransformationEditorHelperModal to TransformationEditorHelpDisplay.

Why do we need this feature?

This provides transformation help while still allowing visualization/transformations to still be visible. This also brings this behavior inline with the rest of the behavior of transformations which are currently using the Drawer component.

Who is this feature for?

Users of transformations

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@codeincarnate codeincarnate requested a review from a team December 7, 2023 19:58
@codeincarnate codeincarnate requested a review from a team as a code owner December 7, 2023 19:58
@codeincarnate codeincarnate requested review from oscarkilhed, mdvictor, Clarity-89 and eledobleefe and removed request for a team December 7, 2023 19:58
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.3.x milestone Dec 7, 2023
@oscarkilhed
Copy link
Contributor

oscarkilhed commented Dec 12, 2023

image

I think the name of the transformation should be emphasized here, maybe even skip the "Transformation help" header.

@catherineymgui wdyt?

@catherineymgui
Copy link
Contributor

I think having the header about what this modal is providing is helpful. But yeah we could flip the hierarchy and size for "Transformation help" and the name of the transformation

Also I noticed in the help - the "Note:" section has a different font size than the rest of the body

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update or ping for review. Thank you for your contributions!

@github-actions github-actions bot added stale Issue with no recent activity and removed stale Issue with no recent activity labels Jan 12, 2024
@codeincarnate codeincarnate requested a review from a team as a code owner January 19, 2024 08:33
@codeincarnate codeincarnate requested review from Develer and drew08t and removed request for a team January 19, 2024 08:33
@grafana-pr-automation grafana-pr-automation bot requested review from a team and jackw and removed request for a team January 19, 2024 08:37
@codeincarnate codeincarnate removed this from the 10.3.x milestone Jan 19, 2024
@codeincarnate codeincarnate added this to the 10.4.x milestone Jan 19, 2024
@codeincarnate codeincarnate enabled auto-merge (squash) January 19, 2024 08:40
@grafana-pr-automation grafana-pr-automation bot requested review from a team and removed request for a team January 19, 2024 10:39
@codeincarnate codeincarnate merged commit 4d60695 into main Jan 19, 2024
17 checks passed
@codeincarnate codeincarnate deleted the transform/drawer-help branch January 19, 2024 10:47
Ukochka pushed a commit that referenced this pull request Feb 14, 2024
* Move help to drawer component

* Update component name

* Flip hierarchy of transformation name and help description
@aangelisc aangelisc modified the milestones: 10.4.x, 10.4.0 Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants