-
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
Replace "Save and return" button with "Save" for Lens visualization created from Discover histogram or visualised field to avoid confusion #129053
Replace "Save and return" button with "Save" for Lens visualization created from Discover histogram or visualised field to avoid confusion #129053
Conversation
…reated from Discover histogram to avoid confusion
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.
LGTM
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@elasticmachine merge upstream |
@dziyanadzeraviankina I was testing your PR and works great but I found out that we have the same bug when we are hitting Visualize in Discover and navigate to Lens. Do you want to also take a look on that as it is on the same context? We can do it on another PR of course. |
Fix looks good to me, adding the other issue to this PR would kind of simplify the code since the function would not need an additional parameter anymore. |
…ave and return" with "Save" for the field visualized from Discover
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.
LGTM, tested in Chrome, MacOs, works as expected, thx for fixing this 👍
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
…reated from Discover histogram or visualised field to avoid confusion (#129053) * Replace "Save and return" button with "Save" for Lens visualization created from Discover histogram to avoid confusion * Remove passing originatingApp as trigger options at all to replace "Save and return" with "Save" for the field visualized from Discover Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit db67505)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…reated from Discover histogram or visualised field to avoid confusion (#129053) (#129573) * Replace "Save and return" button with "Save" for Lens visualization created from Discover histogram to avoid confusion * Remove passing originatingApp as trigger options at all to replace "Save and return" with "Save" for the field visualized from Discover Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit db67505) Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
Closes #128695
Summary
Lens visualization created from Discover histogram or from visualised field instead of displaying "Save as...." and "Save and return" buttons now contains only "Save" one for adding it to a library or to a dashboard.