Open walterra opened 2 years ago
For the MVP of the Explain log rate spike feature we copied code from other plugins. This issue tracks progress on consolidating the copied code into shared utilities.
useStorage
useUrlState
Refresh
DatePickerWrapper
full_time_range_selector_service
FullTimeRangeSelector
[x] getTimeFieldRange https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/services/time_field_range.ts https://github.com/elastic/kibana/pull/152196
getTimeFieldRange
[x] error_utils https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/error_utils.ts https://github.com/elastic/kibana/pull/155372
error_utils
[x] query_utils https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/common/utils/query_utils.ts https://github.com/elastic/kibana/pull/149224
query_utils
[ ] saved_search_utils https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts
saved_search_utils
[ ] TotalCountHeader https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx
TotalCountHeader
[ ] ProgressControls https://github.com/elastic/kibana/blob/main/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx
ProgressControls
[ ] fetchChangePointPValues https://github.com/elastic/kibana/blob/main/x-pack/plugins/aiops/server/routes/queries/fetch_change_point_p_values.ts
fetchChangePointPValues
[ ] fetchFieldCandidates https://github.com/elastic/kibana/blob/main/x-pack/plugins/aiops/server/routes/queries/fetch_field_candidates.ts
fetchFieldCandidates
Pinging @elastic/ml-ui (:ml)
For the MVP of the Explain log rate spike feature we copied code from other plugins. This issue tracks progress on consolidating the copied code into shared utilities.
useStorage
https://github.com/elastic/kibana/pull/148049useUrlState
https://github.com/elastic/kibana/pull/147912Refresh
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/services/timefilter_refresh_service.tsDatePickerWrapper
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/common/components/date_picker_wrapper/date_picker_wrapper.tsxfull_time_range_selector_service
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.tsFullTimeRangeSelector
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx[x]
getTimeFieldRange
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/services/time_field_range.ts https://github.com/elastic/kibana/pull/152196[x]
error_utils
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/error_utils.ts https://github.com/elastic/kibana/pull/155372[x]
query_utils
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/common/utils/query_utils.ts https://github.com/elastic/kibana/pull/149224[ ]
saved_search_utils
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts[ ]
TotalCountHeader
https://github.com/elastic/kibana/blob/main/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx[ ]
ProgressControls
https://github.com/elastic/kibana/blob/main/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx[ ]
fetchChangePointPValues
https://github.com/elastic/kibana/blob/main/x-pack/plugins/aiops/server/routes/queries/fetch_change_point_p_values.ts[ ]
fetchFieldCandidates
https://github.com/elastic/kibana/blob/main/x-pack/plugins/aiops/server/routes/queries/fetch_field_candidates.ts