Skip to content
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

Merged
merged 3 commits into from
Apr 18, 2018

Conversation

ppisljar
Copy link
Member

@ppisljar ppisljar commented Apr 12, 2018

remove angular from AggTypes (unwrapping providers only, no functional changes)

@ppisljar ppisljar added WIP Work in progress Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Apr 12, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@ppisljar
Copy link
Member Author

jenkins, test this

@elasticmachine
Copy link
Contributor

💔 Build Failed

@ppisljar ppisljar changed the title WIP: remove angular from AggTypes remove angular from AggTypes Apr 17, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@ppisljar ppisljar added review v7.0.0 and removed WIP Work in progress labels Apr 17, 2018
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

}


export const calcEsInterval = esDuration;
Copy link
Contributor

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 };

@elasticmachine
Copy link
Contributor

💚 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 },
Copy link
Contributor

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?

Copy link
Contributor

@timroes timroes left a 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.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@ppisljar ppisljar merged commit e96e6b5 into elastic:master Apr 18, 2018
ppisljar added a commit to ppisljar/kibana that referenced this pull request May 7, 2018
# 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
ppisljar added a commit that referenced this pull request May 8, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) review v6.3.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants