Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

fix: Making viz components respect D3 Format from metric #280

Merged
merged 10 commits into from
Jan 13, 2020

Conversation

rusackas
Copy link
Member

@rusackas rusackas commented Dec 2, 2019

🐛 Bug Fix

Addresses this bug:
apache/superset#7650

Riffs on:
https://github.com/apache-superset/superset-ui-plugins/pull/171/files

Screenshots with a goofy number format to prove the point:

Bar (before):
image

Bar (after):
image

Line (before):
image

Line (after):
image

Pie (before):
image

Pie (after):
image

Dual line (before):
image

Dual line (after):
image

Area (before):
image

Area (after):
image

Treemap (before):
image

Treemap (after):
image

Reviewers:

@kristw @etr2460 @mistercrunch

@ghost
Copy link

ghost commented Dec 3, 2019

There were the following issues with this Pull Request

  • Commit: 67544e3
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here.

Happy coding!

@netlify
Copy link

netlify bot commented Dec 3, 2019

Deploy preview for superset-ui-plugins ready!

Built with commit 96e9d75

https://deploy-preview-280--superset-ui-plugins.netlify.com

@rusackas rusackas force-pushed the respect-metric-d3format branch from 67544e3 to fd67f96 Compare December 3, 2019 19:50
@pull-request-size pull-request-size bot added size/M and removed size/S labels Dec 3, 2019
@ghost
Copy link

ghost commented Dec 3, 2019

There were the following issues with this Pull Request

  • Commit: f313206
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here.

Happy coding!

@rusackas rusackas force-pushed the respect-metric-d3format branch from f313206 to 4685276 Compare December 3, 2019 22:10
@rusackas rusackas marked this pull request as ready for review December 3, 2019 22:12
@rusackas rusackas requested a review from a team as a code owner December 3, 2019 22:12
@codecov
Copy link

codecov bot commented Dec 4, 2019

Codecov Report

Merging #280 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #280   +/-   ##
======================================
  Coverage    36.9%   36.9%           
======================================
  Files          12      12           
  Lines         233     233           
  Branches       24      24           
======================================
  Hits           86      86           
  Misses        135     135           
  Partials       12      12

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 8586cc9...96e9d75. Read the comment docs.

Copy link
Contributor

@etr2460 etr2460 left a comment

Choose a reason for hiding this comment

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

some questions

@rusackas rusackas requested a review from etr2460 December 5, 2019 01:15
@rusackas
Copy link
Member Author

some questions

@etr2460 I think everything here was addressed and/or improved upon (thanks for looking at it!) - let me know if there's anything else that looks like it needs attention.

@rusackas
Copy link
Member Author

rusackas commented Jan 9, 2020

@etr2460 / @mistercrunch wondering if you wouldn't mind a (re)review on this.

@mistercrunch mistercrunch merged commit df66066 into apache-superset:master Jan 13, 2020
@rusackas rusackas deleted the respect-metric-d3format branch January 13, 2020 20:32
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
…rset#280)

* fix: BigNumber uses metric's d3format value now, when populated.

* fix: respecting D3 Format column for a handful of NVD3 charts

* fix: treemap respects metric's D3 Format setting

* style: Simpler loop syntax using forEach, Prettier cleanup.

* style: prettier

* style: re-installed modules, re-ran prettier

* fix: eslint nits

* style: moving grabD3Format outside the transformProps block

* fix: allow formData to override metric's D3 Format

* style: overwriting yAxisFormat rather than declaring a new var
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants