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

Default hoverHeaderOffset to 0 #730

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sergej-Vlasov
Copy link
Contributor

@Sergej-Vlasov Sergej-Vlasov commented May 9, 2024

This PR is part of alternative approach to grafana/grafana#87495 that maked hoverHeaderOffset always 0

πŸ“¦ Published PR as canary version: 4.17.4--canary.730.9018441703.0

✨ Test out this PR locally via:

npm install @grafana/scenes@4.17.4--canary.730.9018441703.0
# or 
yarn add @grafana/scenes@4.17.4--canary.730.9018441703.0

@Sergej-Vlasov Sergej-Vlasov added type/bug Something isn't working patch Increment the patch version when merged release Create a release when this pr is merged labels May 9, 2024
@Sergej-Vlasov Sergej-Vlasov self-assigned this May 9, 2024
@@ -19,7 +19,7 @@ export function VizPanelRenderer({ model }: SceneComponentProps<VizPanel>) {
_pluginLoadError,
displayMode,
hoverHeader,
hoverHeaderOffset,
hoverHeaderOffset = 0,
Copy link
Member

Choose a reason for hiding this comment

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

@Sergej-Vlasov can we try this first in core? (save model to scene), so we can get a feel for it before we force this default on all scene apps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged type/bug Something isn't working
Projects
Status: πŸ” In review
Development

Successfully merging this pull request may close these issues.

None yet

2 participants