-
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
[ui/public/utils] Copy rarely used items to where they are consumed #52841
Labels
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
40 tasks
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Dec 27, 2019
24 tasks
@lukeelmers almost all items were resolved in #53819 except
Not sure if we should create new duplicates of the code. Let's try to find a more suitable place for this file. |
alexwizp
added a commit
that referenced
this issue
Jan 8, 2020
…53819) * [ui/public/utils] Copy rarely used items to where they are consumed Closes: #52841 * sort_prefix_first 👉x-pack/legacy/plugins/kuery_autocomplete * numeric 👉src/legacy/core_plugins/kibana/public/management * diff_object + tests 👉ui/state_management * function + tests 👉ui/state_management (function.js was removed!) * key_map 👉ui/directives * leastCommonMultiple 👉ui/vis * string_utils 👉ui/saved_objects * collection * parse_interval * it -> test * fix CI * fix PR comments Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 8, 2020
…lastic#53819) * [ui/public/utils] Copy rarely used items to where they are consumed Closes: elastic#52841 * sort_prefix_first 👉x-pack/legacy/plugins/kuery_autocomplete * numeric 👉src/legacy/core_plugins/kibana/public/management * diff_object + tests 👉ui/state_management * function + tests 👉ui/state_management (function.js was removed!) * key_map 👉ui/directives * leastCommonMultiple 👉ui/vis * string_utils 👉ui/saved_objects * collection * parse_interval * it -> test * fix CI * fix PR comments Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
alexwizp
added a commit
that referenced
this issue
Jan 8, 2020
…53819) (#54233) * [ui/public/utils] Copy rarely used items to where they are consumed Closes: #52841 * sort_prefix_first 👉x-pack/legacy/plugins/kuery_autocomplete * numeric 👉src/legacy/core_plugins/kibana/public/management * diff_object + tests 👉ui/state_management * function + tests 👉ui/state_management (function.js was removed!) * key_map 👉ui/directives * leastCommonMultiple 👉ui/vis * string_utils 👉ui/saved_objects * collection * parse_interval * it -> test * fix CI * fix PR comments Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Part of #51560
There are a few utils in
src/legacy/ui/public/utils
that are small and not widely used. Rather than find a "shared" place for them to live, it is probably cleaner to just copy them to the places that rely on them:case_conversion
keysToSnakeCaseShallow
+ testssrc/legacy/server/status/lib
src/legacy/utils/case_conversion.ts
keysToCamelCaseShallow
+ testssrc/legacy/core_plugins/kibana/public/management
src/legacy/utils/case_conversion.ts
tracked in Kibana app migration: Move static code dependencies into kibana_legacy plugin #50670collection
move
+ tests 👉src/legacy/core_plugins/timelion
src/legacy/ui/public/vis/editors/default
organizeBy
+ tests 👉src/legacy/ui/public/indexed_array
pushAll
+ tests -- delete, unuseddiff_object
+ tests 👉ui/state_management
function
+ tests 👉ui/state_management
ui/directives/watch_multi
key_map
👉ui/directives
src/test_utils/public
math
leastCommonMultiple
👉ui/vis
(update imports inui/vis/lib
andui/vis/editor
greatestCommonDivisor
-- move withleastCommonMultiple
, but do not export as it is unused outside of this filenumeric
👉src/legacy/core_plugins/kibana/public/management
parse_interval
👉src/legacy/core_plugins/data/common
sort_prefix_first
👉x-pack/legacy/plugins/kuery_autocomplete
string_utils
👉ui/saved_objects
src/legacy/core_plugins/kibana/public/management
supports
👉src/legacy/core_plugins/tile_map/public
The text was updated successfully, but these errors were encountered: