-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
[line] fix verbose names in time shift #4765
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4765 +/- ##
==========================================
- Coverage 72.64% 72.63% -0.02%
==========================================
Files 205 205
Lines 15402 15403 +1
Branches 1183 1183
==========================================
- Hits 11189 11188 -1
- Misses 4210 4212 +2
Partials 3 3
Continue to review full report at Codecov.
|
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.
Cool cool cool, looks awesome!
bar: 'Bar', | ||
}; | ||
describe('formatLabel', () => { | ||
it('is formats simple labels', () => { |
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.
Nit, drop the "is"?
it('formats simple labels', () => {
const verboseLabels = input.filter(s => s !== '---').map(verboseLkp); | ||
label = verboseLabels.join(', '); | ||
if (input.length > verboseLabels.length) { | ||
label += '---'; |
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.
Did you test leaving a space between the label and the dashes? Seems a bit cluttered to me without the space there.
04dbe3c
to
f288919
Compare
* [line] fix verbose names in time shift * Addressing comments
@mistercrunch it looks like this broke the time shift color assignment (that you fixed here #4202), but it seemed like that broke the verbose names in time shift. Any thoughts on how to solve for both cases? |
* [line] fix verbose names in time shift * Addressing comments
closes apache#4765 (cherry picked from commit 05061a7)
* [line] fix verbose names in time shift * Addressing comments
* [line] fix verbose names in time shift * Addressing comments
closes https://github.com//issues/4750