[NP] Remove kbnUrl usage in discover/dashboard/visualize#60016
[NP] Remove kbnUrl usage in discover/dashboard/visualize#60016sulemanof merged 7 commits intoelastic:masterfrom
Conversation
ee0e982 to
213c746
Compare
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
kertal
left a comment
There was a problem hiding this comment.
🎉 goodbye kbnUrl! there's one thing that should be adapted. kbnUrl.eval is using encodeURIComponent for encoding and securing url params, this should also be done in this PR
…l_visualize # Conflicts: # src/legacy/core_plugins/kibana/public/discover/get_inner_angular.ts # src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.js # src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/components/table_row.ts
Thanks, it a really good catch! |
|
@elasticmachine merge upstream |
thx! works! |
kertal
left a comment
There was a problem hiding this comment.
Code LGTM 👍 , tested locally in Chrome
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Remove kbnUrl usages from disciver/dashboard/visualize * Remove kbnUrl usage in angular_config * Wrap with encodeURIComponent * Fix reloading when base path Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (39 commits) [APM]Create custom link from Trace summary (elastic#59648) [ML] Fixing app clean up (elastic#60853) [SIEM] Use ECS categorisation for Authentication widgets (elastic#60734) [NP] Remove kbnUrl usage in discover/dashboard/visualize (elastic#60016) Skip failing test [Uptime]Update fetch effect failed action handling (elastic#60742) [npm] upgrade elastic/maki (elastic#60829) [Uptime] Add Settings Page (elastic#53550) [APM] service maps: avoid unnecesary `useDeepObjectIdentity` (elastic#60836) [Index management] Re-enable index template tests (elastic#60780) Fixed UI/UX issues: alerts delete confirmation, combobox behaviors (elastic#60703) [SIEM] Fix patching of ML Rules (elastic#60830) [APM] Service Map - Separate overlapping edges by rotating nodes (elastic#60477) [Alerting] fix flaky test for index threshold grouping (elastic#60792) [SIEM][Detection Engine] Adds test scripts for machine learning feature Flatten child api response for resolver (elastic#60810) Change "url" to "urls" in APM agent instructions (elastic#60790) [DOCS] Updates API requests and examples (elastic#60695) [SIEM] [Cases] Create case from timeline (elastic#60711) [Lens] Resetting a layer generates new suggestions (elastic#60674) ...
…0884) * Remove kbnUrl usages from disciver/dashboard/visualize * Remove kbnUrl usage in angular_config * Wrap with encodeURIComponent * Fix reloading when base path Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Summary
Resolves #58999
Remove all references to
KbnUrlProviderindashboard/discover/visualize.Cleans up unused angular services.
Replace
kbnUrl.evalwith template strings, embedded variables wrapped withencodeURIComponentfor safety and BWC (as it was insideevalfunc).Checklist
Delete any items that are not applicable to this PR.
For maintainers