-
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
[NP] Remove absoluteToParsedUrl & KibanaParsedUrl ref in kibana app #61105
[NP] Remove absoluteToParsedUrl & KibanaParsedUrl ref in kibana app #61105
Conversation
…a_parsed_url # Conflicts: # x-pack/legacy/plugins/lens/public/plugin.tsx
Pinging @elastic/kibana-app (Team:KibanaApp) |
My only concern here is usage of |
Importing a constant from another plugin shouldn't be a problem when it's exposed from the top level, but maybe I'm missing something. @sulemanof what's your concern? |
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.
Tested and adding visualizations / lenses from dashboard still works fine, LGTM.
As discussed offline the current setup for URL building is a temporary state and should be unified so dashboards own building dashboard URLs with a fixed set of parameters
…a_parsed_url # Conflicts: # x-pack/legacy/plugins/lens/public/plugin.tsx
…a_parsed_url # Conflicts: # x-pack/legacy/plugins/lens/public/legacy_imports.ts
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…lastic#61105) * Remove absoluteToParsedUrl reference in dashboard * Remove KibanaParsedUrl from visualize * Fix tests * Add tests * Fix saved dashboard * Fix empty line after resolving conflicts Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…61105) (#61762) * Remove absoluteToParsedUrl reference in dashboard * Remove KibanaParsedUrl from visualize * Fix tests * Add tests * Fix saved dashboard * Fix empty line after resolving conflicts Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
This removes
absoluteToParsedUrl
&KibanaParsedUrl
from dashboard/visualize and uses simple url helpers instead.Checklist
Delete any items that are not applicable to this PR.
For maintainers