-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
remove angular from AggTypes #17681
remove angular from AggTypes #17681
Conversation
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
88abce5
to
b5d05e6
Compare
💔 Build Failed |
b5d05e6
to
3249ce0
Compare
💔 Build Failed |
3249ce0
to
4577138
Compare
💚 Build Succeeded |
4577138
to
ef5392b
Compare
💔 Build Failed |
} | ||
|
||
|
||
export const calcEsInterval = esDuration; |
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.
Could we use either export { esDuration as calcEsInterval };
syntax or just rename the above function to calcEsInterval
and export { calcEsInterval };
💚 Build Succeeded |
{ name: 'cumulative_sum', title: 'Cumulative Sum', provider: AggTypesMetricsCumulativeSumProvider }, | ||
{ name: 'moving_avg', title: 'Moving Avg', provider: AggTypesMetricsMovingAvgProvider }, | ||
{ name: 'serial_diff', title: 'Serial Diff', provider: AggTypesMetricsSerialDiffProvider }, | ||
{ name: 'derivative', title: 'Derivative', provider: derivativeMetricAgg }, |
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.
Maybe we could rename that field from provider
to something like agg
since it's not really a provider function anymore, that it might just be confusing that way?
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.
Besides some minor suggestions LGTM as long as the tests pass.
💚 Build Succeeded |
# Conflicts: # src/ui/public/agg_response/point_series/__tests__/_fake_x_aspect.js # src/ui/public/agg_response/point_series/_fake_x_aspect.js # src/ui/public/agg_types/__tests__/agg_param_writer.js # src/ui/public/agg_types/__tests__/agg_type.js # src/ui/public/agg_types/__tests__/buckets/_geo_hash.js # src/ui/public/agg_types/__tests__/buckets/_histogram.js # src/ui/public/agg_types/__tests__/buckets/_terms_other_bucket_helper.js # src/ui/public/agg_types/__tests__/buckets/create_filter/date_histogram.js # src/ui/public/agg_types/__tests__/buckets/create_filter/date_range.js # src/ui/public/agg_types/__tests__/buckets/create_filter/filters.js # src/ui/public/agg_types/__tests__/buckets/create_filter/histogram.js # src/ui/public/agg_types/__tests__/buckets/create_filter/ip_range.js # src/ui/public/agg_types/__tests__/buckets/create_filter/range.js # src/ui/public/agg_types/__tests__/buckets/create_filter/terms.js # src/ui/public/agg_types/__tests__/buckets/date_histogram/_editor.js # src/ui/public/agg_types/__tests__/buckets/date_histogram/_params.js # src/ui/public/agg_types/__tests__/buckets/terms.js # src/ui/public/agg_types/__tests__/index.js # src/ui/public/agg_types/__tests__/metrics/parent_pipeline.js # src/ui/public/agg_types/__tests__/metrics/percentile_ranks.js # src/ui/public/agg_types/__tests__/metrics/percentiles.js # src/ui/public/agg_types/__tests__/metrics/sibling_pipeline.js # src/ui/public/agg_types/__tests__/metrics/std_deviation.js # src/ui/public/agg_types/__tests__/metrics/top_hit.js # src/ui/public/agg_types/buckets/_bucket_agg_type.js # src/ui/public/agg_types/buckets/_terms_other_bucket_helper.js # src/ui/public/agg_types/buckets/create_filter/date_range.js # src/ui/public/agg_types/buckets/date_histogram.js # src/ui/public/agg_types/buckets/date_range.js # src/ui/public/agg_types/buckets/filter.js # src/ui/public/agg_types/buckets/filters.js # src/ui/public/agg_types/buckets/geo_hash.js # src/ui/public/agg_types/buckets/histogram.js # src/ui/public/agg_types/buckets/ip_range.js # src/ui/public/agg_types/buckets/range.js # src/ui/public/agg_types/buckets/significant_terms.js # src/ui/public/agg_types/buckets/terms.js # src/ui/public/agg_types/index.js # src/ui/public/agg_types/metrics/avg.js # src/ui/public/agg_types/metrics/bucket_avg.js # src/ui/public/agg_types/metrics/bucket_max.js # src/ui/public/agg_types/metrics/bucket_min.js # src/ui/public/agg_types/metrics/bucket_sum.js # src/ui/public/agg_types/metrics/cardinality.js # src/ui/public/agg_types/metrics/count.js # src/ui/public/agg_types/metrics/cumulative_sum.js # src/ui/public/agg_types/metrics/derivative.js # src/ui/public/agg_types/metrics/geo_bounds.js # src/ui/public/agg_types/metrics/geo_centroid.js # src/ui/public/agg_types/metrics/max.js # src/ui/public/agg_types/metrics/median.js # src/ui/public/agg_types/metrics/metric_agg_type.js # src/ui/public/agg_types/metrics/min.js # src/ui/public/agg_types/metrics/moving_avg.js # src/ui/public/agg_types/metrics/percentile_ranks.js # src/ui/public/agg_types/metrics/percentiles.js # src/ui/public/agg_types/metrics/serial_diff.js # src/ui/public/agg_types/metrics/std_deviation.js # src/ui/public/agg_types/metrics/sum.js # src/ui/public/agg_types/metrics/top_hit.js # src/ui/public/courier/data_source/__tests__/decorate_query.js # src/ui/public/time_buckets/time_buckets.js # src/ui/public/vis/__tests__/_agg_config.js # src/ui/public/vis/agg_configs.js # src/ui/public/vis/editors/default/agg_params.js
* remove angular from AggTypes (#17681) # Conflicts: # src/ui/public/agg_response/point_series/__tests__/_fake_x_aspect.js # src/ui/public/agg_response/point_series/_fake_x_aspect.js # src/ui/public/agg_types/__tests__/agg_param_writer.js # src/ui/public/agg_types/__tests__/agg_type.js # src/ui/public/agg_types/__tests__/buckets/_geo_hash.js # src/ui/public/agg_types/__tests__/buckets/_histogram.js # src/ui/public/agg_types/__tests__/buckets/_terms_other_bucket_helper.js # src/ui/public/agg_types/__tests__/buckets/create_filter/date_histogram.js # src/ui/public/agg_types/__tests__/buckets/create_filter/date_range.js # src/ui/public/agg_types/__tests__/buckets/create_filter/filters.js # src/ui/public/agg_types/__tests__/buckets/create_filter/histogram.js # src/ui/public/agg_types/__tests__/buckets/create_filter/ip_range.js # src/ui/public/agg_types/__tests__/buckets/create_filter/range.js # src/ui/public/agg_types/__tests__/buckets/create_filter/terms.js # src/ui/public/agg_types/__tests__/buckets/date_histogram/_editor.js # src/ui/public/agg_types/__tests__/buckets/date_histogram/_params.js # src/ui/public/agg_types/__tests__/buckets/terms.js # src/ui/public/agg_types/__tests__/index.js # src/ui/public/agg_types/__tests__/metrics/parent_pipeline.js # src/ui/public/agg_types/__tests__/metrics/percentile_ranks.js # src/ui/public/agg_types/__tests__/metrics/percentiles.js # src/ui/public/agg_types/__tests__/metrics/sibling_pipeline.js # src/ui/public/agg_types/__tests__/metrics/std_deviation.js # src/ui/public/agg_types/__tests__/metrics/top_hit.js # src/ui/public/agg_types/buckets/_bucket_agg_type.js # src/ui/public/agg_types/buckets/_terms_other_bucket_helper.js # src/ui/public/agg_types/buckets/create_filter/date_range.js # src/ui/public/agg_types/buckets/date_histogram.js # src/ui/public/agg_types/buckets/date_range.js # src/ui/public/agg_types/buckets/filter.js # src/ui/public/agg_types/buckets/filters.js # src/ui/public/agg_types/buckets/geo_hash.js # src/ui/public/agg_types/buckets/histogram.js # src/ui/public/agg_types/buckets/ip_range.js # src/ui/public/agg_types/buckets/range.js # src/ui/public/agg_types/buckets/significant_terms.js # src/ui/public/agg_types/buckets/terms.js # src/ui/public/agg_types/index.js # src/ui/public/agg_types/metrics/avg.js # src/ui/public/agg_types/metrics/bucket_avg.js # src/ui/public/agg_types/metrics/bucket_max.js # src/ui/public/agg_types/metrics/bucket_min.js # src/ui/public/agg_types/metrics/bucket_sum.js # src/ui/public/agg_types/metrics/cardinality.js # src/ui/public/agg_types/metrics/count.js # src/ui/public/agg_types/metrics/cumulative_sum.js # src/ui/public/agg_types/metrics/derivative.js # src/ui/public/agg_types/metrics/geo_bounds.js # src/ui/public/agg_types/metrics/geo_centroid.js # src/ui/public/agg_types/metrics/max.js # src/ui/public/agg_types/metrics/median.js # src/ui/public/agg_types/metrics/metric_agg_type.js # src/ui/public/agg_types/metrics/min.js # src/ui/public/agg_types/metrics/moving_avg.js # src/ui/public/agg_types/metrics/percentile_ranks.js # src/ui/public/agg_types/metrics/percentiles.js # src/ui/public/agg_types/metrics/serial_diff.js # src/ui/public/agg_types/metrics/std_deviation.js # src/ui/public/agg_types/metrics/sum.js # src/ui/public/agg_types/metrics/top_hit.js # src/ui/public/courier/data_source/__tests__/decorate_query.js # src/ui/public/time_buckets/time_buckets.js # src/ui/public/vis/__tests__/_agg_config.js # src/ui/public/vis/agg_configs.js # src/ui/public/vis/editors/default/agg_params.js * updating x-pack
remove angular from AggTypes (unwrapping providers only, no functional changes)