-
Notifications
You must be signed in to change notification settings - Fork 121
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
fix: build issues and tooltip formatting issues #810
fix: build issues and tooltip formatting issues #810
Conversation
- add `formattedValue` to `TooltipValue` - fix x-axis and tooltip header formatting - add `--no-version-updates` flag to storybook start script - upgrade `@storybook/` dependencies - remove `@types/react` causing type error in dist library check - move redux `optionalDependencies` to `devDependencies`
Codecov Report
@@ Coverage Diff @@
## master #810 +/- ##
==========================================
- Coverage 74.35% 74.27% -0.08%
==========================================
Files 273 273
Lines 9322 9330 +8
Branches 2011 2010 -1
==========================================
- Hits 6931 6930 -1
- Misses 2383 2392 +9
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
jenkins retest this please |
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.
LGTM on an less than full length look. Would be good to have a visual regression test that passes with this change but wouldn't have passed before this, but it can be added subsequently to merging this PR
jenkins retest this please |
Added in bebb62c |
## [21.1.1](v21.1.0...v21.1.1) (2020-09-08) ### Bug Fixes * build issues and tooltip formatting issues ([#810](#810)) ([74d9ae0](74d9ae0))
🎉 This PR is included in version 21.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [22.0.0](v21.3.2...v22.0.0) (2020-09-22) ### Bug Fixes * breaking change in patch release of 21.1.1 ([d0ddc45](d0ddc45)), closes [#810](#810) ### BREAKING CHANGES * caused by changes in #810 see #830 for more info * `TooltipValue.value` is now raw value and `TooltipValue.formattedValue` is now the string formatted value.
🎉 This issue has been resolved in version 22.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
breaking change caused by changes in elastic#810 see elastic#830 for more info BREAKING CHANGE: `TooltipValue.value` is now raw value and `TooltipValue.formattedValue` is now the string formatted value. fix elastic#810
## [21.1.1](elastic/elastic-charts@v21.1.0...v21.1.1) (2020-09-08) ### Bug Fixes * build issues and tooltip formatting issues ([opensearch-project#810](elastic/elastic-charts#810)) ([738283a](elastic/elastic-charts@738283a))
# [22.0.0](elastic/elastic-charts@v21.3.2...v22.0.0) (2020-09-22) ### Bug Fixes * breaking change in patch release of 21.1.1 ([9ae64a9](elastic/elastic-charts@9ae64a9)), closes [opensearch-project#810](elastic/elastic-charts#810) ### BREAKING CHANGES * caused by changes in opensearch-project#810 see opensearch-project#830 for more info * `TooltipValue.value` is now raw value and `TooltipValue.formattedValue` is now the string formatted value.
Summary
Fix x-axis and tooltip header formatting caused by #802, by adding
formattedValue
string toTooltipValue
in addition to actualvalue
.The issue in #802 changed value from the given value to the formatted string value when using the
tooltip.headerFormatter
prop.Also fixes...
--no-version-updates
flag to storybook start script@storybook/
dependencies@types/react
causing type error in dist library checkoptionalDependencies
todevDependencies
Checklist
src/index.ts
(and stories only import from../src
except for test data & storybook)