-
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
New platform cleanup filters #34555
New platform cleanup filters #34555
Conversation
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
💔 Build Failed |
💚 Build Succeeded |
@elastic/kibana-platform please pay specific attention to the removal of the uriencode directive in src/legacy/ui/public/url/url.js |
💔 Build Failed |
retest |
💔 Build Failed |
retest |
6de43c0
to
9501d3d
Compare
💚 Build Succeeded |
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 but we should find someone with experience regarding how this might fail in unexpected ways.
💚 Build Succeeded |
src/legacy/core_plugins/kibana/public/discover/controllers/discover.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/components/field_data_card/field_data_card_directive.js
Outdated
Show resolved
Hide resolved
} | ||
|
||
return $parse(expr)(paramObj); | ||
return encodeURIComponent($parse(expr)(paramObj)); |
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 you explain why we always need to encode this?
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.
A. It's always best to encode URL params
B. It's the previous behavior :)
x-pack/plugins/ml/public/components/field_data_card/field_data_card_directive.js
Outdated
Show resolved
Hide resolved
💚 Build Succeeded |
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 ML changes (data visualizer date card), and LGTM
* Delete label filter * Delete risonDecode * Deleted rison * removed fieldType filter * Deleted field type tests * Replaced uriescape filter with use of encodeURIComponent * Delete short dots filter * Removed usages of moment filter (and moved it to watcher) * Code review changes
* Delete label filter * Delete risonDecode * Deleted rison * removed fieldType filter * Deleted field type tests * Replaced uriescape filter with use of encodeURIComponent * Delete short dots filter * Removed usages of moment filter (and moved it to watcher) * Code review changes
Summary
Removing filters from ui/filters
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] Unit or functional tests were updated or added to match the most common scenarios- [ ] This was checked for keyboard-only and screenreader accessibility