-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Expressions] Align renderMode with the embeddable viewMode #110199
Conversation
1dc9165
to
20a5fba
Compare
Pinging @elastic/kibana-app-services (Team:AppServices) |
/** | ||
* Flag indicating that the chart is rendered in a non-interactive environment. | ||
*/ | ||
noInteractivity?: boolean; |
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.
we don't need to add this, disableTriggers
is the existing embeddable flag we should use.
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.
Thanks 👍 I've replaced that.
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.
we need to update visualize_embeddable as well to pass down noInteractivity option to expressions
73ea33e
to
4f1e4a7
Compare
@ppisljar I've updated that in the latest commit. Could you please take another look? |
4f1e4a7
to
f23d07d
Compare
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.
code LGTM
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.
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.
I did some testing locally on Safari and Chrome and it worked ok.
Code looks good.
Probably the only comment I would make is to change the prop noInteractivity
to a positive wording interactive
, which makes it easier to reason about: it's a nitpick, but I would prefer to use interactive={true/false}
rather than noInteractive={false/true}
.
f23d07d
to
5cc4233
Compare
5cc4233
to
eebb4c5
Compare
eebb4c5
to
dd0c65f
Compare
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.
presentation team changes lgtm
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Summary
Resolves #108906.
Checklist
For maintainers