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

Honor custom label, if set, in percentile and median metric visualizations #7021

Merged
merged 3 commits into from
Apr 28, 2016

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Apr 22, 2016

For #6246

}));

it('uses the custom label if it is set', function () {
let vis = new Vis(indexPattern, {});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use const instead of let wherever possible, which is in most places. The only variables in this file that need let are the three at the top of the initial describe.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Fixing this and others in this file as well. Thanks!

@epixa
Copy link
Contributor

epixa commented Apr 27, 2016

This should probably be applied to "percentile ranks" as well. But rather than block this PR further, why don't we get this thing merged so it can go out with alpha2 and then address percentile ranks as a follow up PR?

@ycombinator ycombinator self-assigned this Apr 27, 2016
@ycombinator
Copy link
Contributor Author

@epixa Agreed and created separate bug issue for percentile ranks agg: #7074

@ycombinator ycombinator assigned epixa and unassigned ycombinator Apr 27, 2016
@epixa
Copy link
Contributor

epixa commented Apr 28, 2016

LGTM

@ycombinator ycombinator merged commit a63015d into elastic:master Apr 28, 2016
@ycombinator ycombinator deleted the gh-6246 branch April 28, 2016 00:02
@epixa
Copy link
Contributor

epixa commented Oct 6, 2016

@ycombinator Do you think this is backportable to 4.6?

@ESamir
Copy link

ESamir commented Oct 10, 2016

@ycombinator can you backport this fix to 4.6?

@ycombinator
Copy link
Contributor Author

@epixa @ESamir yes, I'll look into backporting this to 4.6 today (I was on vacation the past week hence the lack of response here).

ycombinator added a commit that referenced this pull request Oct 10, 2016
---------

**Commit 1:**
Honor custom label, if set, in percentile and median metric visualizations

* Original sha: 4680853
* Authored by Shaunak Kashyap <[email protected]> on 2016-04-22T02:15:31Z

**Commit 2:**
Using custom label to replace field name

* Original sha: b0e8d7c
* Authored by Shaunak Kashyap <[email protected]> on 2016-04-22T19:00:23Z

**Commit 3:**
Using consts instead of lets

* Original sha: 7534b38
* Authored by Shaunak Kashyap <[email protected]> on 2016-04-27T18:42:24Z
ycombinator added a commit that referenced this pull request Oct 10, 2016
[backport] PR #7021 to 4.6 - Honor custom label, if set, in percentile and median metric visualizations
@epixa epixa added the v4.6.3 label Oct 26, 2016
@epixa epixa added v4.7.0 and removed v4.6.3 labels Nov 16, 2016
@epixa epixa added the v4.6.4 label Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants