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

[line] fix verbose names in time shift #4765

Merged
merged 2 commits into from
Apr 7, 2018

Conversation

mistercrunch
Copy link
Member

screen shot 2018-04-04 at 10 32 20 pm

closes https://github.com//issues/4750

@codecov-io
Copy link

codecov-io commented Apr 5, 2018

Codecov Report

Merging #4765 into master will decrease coverage by 0.01%.
The diff coverage is 20%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
superset/viz.py 78.93% <20%> (-0.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee15fc8...f288919. Read the comment docs.

Copy link
Member

@betodealmeida betodealmeida left a 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', () => {
Copy link
Member

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 += '---';
Copy link
Member

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.

@mistercrunch mistercrunch merged commit 17e673e into apache:master Apr 7, 2018
@mistercrunch mistercrunch deleted the fix_time_shift_label branch April 7, 2018 22:20
hughhhh pushed a commit to lyft/incubator-superset that referenced this pull request Apr 11, 2018
* [line] fix verbose names in time shift

* Addressing comments
@michellethomas
Copy link
Contributor

@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?

mistercrunch added a commit to mistercrunch/superset that referenced this pull request May 23, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
* [line] fix verbose names in time shift

* Addressing comments
mistercrunch added a commit that referenced this pull request May 24, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
* [line] fix verbose names in time shift

* Addressing comments
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* [line] fix verbose names in time shift

* Addressing comments
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants