mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
80b6e066eb
* feat(big-number): add option to align time range In Superset, when a timeseries query has no data at the beginning period or end period of the filtered time range, there will not no data records at those periods, hence the trendline in Big Number chart would not render those periods. This often causes confusion and misinterpretaiton in dashboards, especially for those with multiple trendline charts aligned with each other. They could all be a very smooth line, but actually showing very different time ranges. This PR adds an option "alignTimeRange" to apply the filtered time range on the xAxis. Date periods for empty data will be rendered, but there will be no connected lines, dots, or tooltips for them. It's possible to still show tooltips for those periods, but I decided not to do that as: 1) it makes things much more complicated; 2) I don't want to confuse zero or nulls with empty data. * fix(big-number): disable alignRange by default * refactor(big-number): migrate to Typescript * fix(big-number): typescript build * fix(big-number): change tooltip trigger; fix storybook * fix(big-number): move @types to dependencies * fix(big-number): move all files to ts * build(big-number): add @types/d3-color as dependency * refactor(big-number): remove renderTooltip as prop * feat(big-number): add timeRangeUseFallback options and some refactor * fix(big-number): update formatting functions * fix(big-number): update copy for no data * fix(big-number): address PR feedbacks * feat(big-number): replace timeRangeUseFallback with bigNumberFallback * fix: upgrade @types/react-bootstrap * build(big-number): move react-bootstrap to dependencies * refactor(big-number): more coherent types * feat(big-number): use alert box for fallback values * build(big-number): remove react-bootstrap * build: upgrade nimbus and fix versions Keep running into building errors locally, so upgrade nimbus and fix all related packages to the working latest version. * feat(big-number): adjust fallback warning alignment * build: use a non-fixed version for @types/shortid * build: revert package versions in main |
||
---|---|---|
.. | ||
.github | ||
docs | ||
packages | ||
plugins | ||
scripts | ||
test | ||
.gitignore | ||
.npmrc | ||
CHANGELOG.md | ||
codecov.yml | ||
commitlint.config.js | ||
CONTRIBUTING.md | ||
lerna.json | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
@superset-ui
Collection of packages that power the Apache Superset UI, and can be used to craft custom data applications that leverage a Superset backend 📈
Demo
Most recent release: https://apache-superset.github.io/superset-ui/
Current master: https://superset-ui.now.sh/
Packages
Core packages
Chart plugin packages
Package | Version |
---|---|
@superset-ui/legacy-preset-chart-big-number | |
@superset-ui/legacy-plugin-chart-calendar | |
@superset-ui/legacy-plugin-chart-chord | |
@superset-ui/legacy-plugin-chart-table |
Contribution and development guide
Please read the contributing guidelines which include development environment setup and other things you should know about coding in this repo.
License
Apache-2.0