-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: (scenes-react) - VizPanel add missing props and tests #998
Conversation
hoverHeader?: boolean; | ||
hoverHeaderOffset?: number; | ||
menu?: VizPanelMenu; | ||
titleItems?: React.ReactNode | SceneObject | SceneObject[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we restrict this to only react elements?
|
||
const { getByText } = render( | ||
<TestContextProvider value={scene}> | ||
<VizPanel title="Test" titleItems={titleItems} viz={viz} /> |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore the above, I got this working locally in the browser and everything works as expected, must be something in the test env that is keeping the panel from rendering
🚀 PR was released in |
Description
scenes
. It looks like there might be some newer props in VizPanelState already📦 Published PR as canary version:
5.31.0--canary.998.12301751531.0
✨ Test out this PR locally via: