This repository was archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
feat(big-number): allow fallback to last available value and fix time range for trend lines #403
Merged
Merged
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
38e6e33
feat(big-number): add option to align time range
ktmud 3f80d84
fix(big-number): disable alignRange by default
ktmud 14e7c48
refactor(big-number): migrate to Typescript
ktmud c852f2b
fix(big-number): typescript build
ktmud 3670f55
fix(big-number): change tooltip trigger; fix storybook
ktmud bcf0255
fix(big-number): move @types to dependencies
ktmud af8512e
fix(big-number): move all files to ts
ktmud 252e0ba
build(big-number): add @types/d3-color as dependency
ktmud 69874ff
refactor(big-number): remove renderTooltip as prop
ktmud b561cf6
feat(big-number): add timeRangeUseFallback options and some refactor
ktmud f085a86
fix(big-number): update formatting functions
ktmud 27e7875
fix(big-number): update copy for no data
ktmud e4b3d04
fix(big-number): address PR feedbacks
ktmud e6b0643
feat(big-number): replace timeRangeUseFallback with bigNumberFallback
ktmud 8cf8224
fix: upgrade @types/react-bootstrap
ktmud 116b0fb
build(big-number): move react-bootstrap to dependencies
ktmud 3113b2d
refactor(big-number): more coherent types
ktmud cc2c36e
feat(big-number): use alert box for fallback values
ktmud 61db243
build(big-number): remove react-bootstrap
ktmud d98f2d2
build: upgrade nimbus and fix versions
ktmud 14da264
feat(big-number): adjust fallback warning alignment
ktmud 7476ea4
build: use a non-fixed version for @types/shortid
ktmud 3912f58
build: revert package versions in main
ktmud File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
259 changes: 0 additions & 259 deletions
259
packages/superset-ui-legacy-preset-chart-big-number/src/BigNumber/BigNumber.jsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why pin to specific version without
^?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.
Was having trouble building. Couldn't figure out why. Just don't want to deal with the unpredictability. Sometimes even with the implied "not a breaking change" in a minor version upgrade, things might still break.
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.
This repo already check in
yarn.lockso if you did not modify these package version, it should be the same version that was working inmaster. Could you try resetingyarn.lockandpackage.jsontomaster's version while keeping the changes you made toBigNumber'spackage.jsonandyarn installagain?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.
Weird, it works... I'm pretty sure I tried that yesterday... Maybe it's because I inadvertently pined
@types/shortid.I think it's probably not a bad idea to pin
devDependenciesas they are unlikely to cause dependency hell and the added stability is valuable. Renovate actually pin the dependencies for you once you set it up.