Krist Wongsuphasawat
28acf608c8
v0.12.5
2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
4274520781
feat: add @superset-ui/superset-ui package as one-stop install ( #255 )
2021-11-26 11:45:00 +08:00
dependabot-preview[bot]
934d6a7031
build(deps): bump @types/lodash from 4.14.147 to 4.14.149 ( #259 )
...
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash ) from 4.14.147 to 4.14.149.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
2745d8b513
build: migrate encodable to separate repo
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
1772b671cf
feat(encodable): add function for setting domain ( #256 )
...
* feat: add scale helper
* feat: add functions
* fix: remove unused import
* fix: add unit tests
* fix: unit tes
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
e719c19365
feat(encodable): handle edge cases when making domain includes zero ( #257 )
...
* feat: handle edge cases when making domain includes zero
* test: remove redundant tests
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
9ef831829b
feat(encodable): implement axis functions for ChannelEncoder ( #247 )
...
* feat: add axis encoder
* test: add unit test
* fix: params
* refactor: rename
* fix: address comments
* fix: update import
* fix: error
* fix: lint
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
f5f944b405
feat(encodable): make applyDomain() able to handle domain from dataset ( #254 )
...
* feat: make applyDomain() able to handle domain from dataset
* test: add unit tests
* fix: rename variable
2021-11-26 11:44:59 +08:00
dependabot-preview[bot]
497a4b0ea6
build(deps): bump chalk from 2.4.2 to 3.0.0 ( #252 )
...
Bumps [chalk](https://github.com/chalk/chalk ) from 2.4.2 to 3.0.0.
- [Release notes](https://github.com/chalk/chalk/releases )
- [Commits](https://github.com/chalk/chalk/compare/v2.4.2...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
b6723737a3
feat(encodable): only set scale domain if both bounds are defined ( #250 )
...
* feat: only set scale domain if both bounds are presented
* fix: unit test
* fix: more optimize
2021-11-26 11:44:59 +08:00
dependabot-preview[bot]
f5f876fc32
build(deps): bump @types/lodash from 4.14.108 to 4.14.147 ( #253 )
...
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash ) from 4.14.108 to 4.14.147.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
2726e4a1b1
build: fix lodash type dependencies ( #251 )
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
9300c2b40b
refactor(encodable): rename .getDomain() to .getDomainFromDataset() ( #248 )
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
f8bd7c6065
fix: d3 scale types ( #246 )
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
20452b1cfc
v0.12.4
2021-11-26 11:44:58 +08:00
Erik Ritter
9b0d77adea
feat(time-format): bump d3-time-format ( #244 )
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
a5a4f1bcec
build: fix lint ( #245 )
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
2923a9318d
feat: add function for getting legend information ( #236 )
...
* feat: add .getLegendInformation()
* fix: lint
* test: add unit test
* feat: revise how legend information is computed
* fix: address comments
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
6a5fcfd8ef
build: fix vega and vega-lite version
2021-11-26 11:44:58 +08:00
dependabot-preview[bot]
1e3f4bdf73
build(deps): bump @vx/responsive from 0.0.189 to 0.0.192 ( #232 )
...
Bumps [@vx/responsive](https://github.com/hshoff/vx ) from 0.0.189 to 0.0.192.
- [Release notes](https://github.com/hshoff/vx/releases )
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hshoff/vx/compare/v0.0.189...v0.0.192 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
ac99cd0efb
fix: build error ( #235 )
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
e11071cd9c
feat: Add Encoder ( #230 )
...
* feat: add encoder
* feat: add encoder
* refactor: revamp encoding types and derivations
* test: add unit tests
* fix: unit tests
* test: add unit tests
* fix: remove unused code
* fix: channeltype
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
e07b6210bd
build: fix lint errors ( #231 )
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
937a7ecb10
feat: Add channel encoder ( #224 )
...
* feat: add channel encoder
* fix: all errors
* fix: test
* feat: complete channel encoder implementation and unit tests
* fix: lint
* fix: address comments
* fix: lint
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
6cd7beed69
build: fix storybook type ( #227 )
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
1978d9bc2e
feat(encodable): fill missing fields in user-specified channel definition ( #222 )
...
* feat: fill missing fields in user-specified channel definition
* fix: type
* test: add unit tests
* fix: lint
* test: add more unit tests
* test: add unit tests
* test: fix unit tests
* fix: unit tests
* refactor: change order of parameters
* fix: type annotation
* fix: type annotation
* feat: add generic support
* refactor: reorder params
* fix: rename variables
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
c0c45c2d3c
feat: add promiseTimeout ( #223 )
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
e6c3fad721
build: suppress logs from intentionally thrown/caught errors ( #221 )
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
e5377abbab
v0.12.3
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
885e4e9785
fix: fix React.Fragment complaining about width/height ( #219 )
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
99532444f2
build: add missing unit test for callApi ( #218 )
...
* build: add missing unit test for callApi
* fix: test
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
095c1839b2
feat: add Wrapper support and bounding box for dynamic width/height ( #215 )
...
* feat: add Wrapper support and bounding box for dynamic width/height
* fix: unit tests
* fix: address comments and update unit tests
* docs: update storybook
2021-11-26 11:44:56 +08:00
dependabot-preview[bot]
ed45bdfc06
build(deps): update @superset-ui/legacy-plugin-chart-sankey requirement ( #217 )
...
Updates the requirements on [@superset-ui/legacy-plugin-chart-sankey](https://github.com/apache-superset/superset-ui-plugins ) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases )
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:56 +08:00
dependabot-preview[bot]
10c1998c61
build(deps): update @superset-ui/legacy-plugin-chart-word-cloud requirement ( #216 )
...
Updates the requirements on [@superset-ui/legacy-plugin-chart-word-cloud](https://github.com/apache-superset/superset-ui-plugins ) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases )
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
74679623b0
refactor: rename encodeable to encodable ( #214 )
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
024b318dd2
feat: add functions for parsing scales ( #207 )
...
* feat: add more util functions
* feat: add unit test
* feat: define HasToString
* fix: unit test
* fix: update unit tests
* feat: add scale types
* feat: update scale parsing
* fix: enum
* feat: add color scale extraction
* refactor: create scale from config
* feat: parse more scales and add more test
* feat: add tests for band and point
* test: add more unit tests
* refactor: separate applyXXX into multiple files
* feat: parse nice time
* test: add unit tests
* test: make 100% coverage
* fix: complete coverage
* refactor: update type definitions
* fix: address comments
* fix: add comments for date parts
* fix: build issue
* fix: broken tests
2021-11-26 11:44:56 +08:00
dependabot-preview[bot]
3138aaa229
build(deps): update @superset-ui/legacy-preset-chart-big-number requirement ( #213 )
...
Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins ) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases )
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:55 +08:00
dependabot-preview[bot]
59affbc29e
build(deps): update @superset-ui/legacy-plugin-chart-sunburst requirement ( #212 )
...
Updates the requirements on [@superset-ui/legacy-plugin-chart-sunburst](https://github.com/apache-superset/superset-ui-plugins ) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases )
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
d70e634d32
v0.12.2
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
bffc760ac8
fix: remove is_prequery and prequeries ( #208 )
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
3928e063ae
v0.12.1
2021-11-26 11:44:55 +08:00
Ville Brofeldt
dc9d0a0d40
feat: add duration formatter ( #209 )
...
* feat: add duration formatter
* fix: address review comments
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
13ceb8dc70
fix: peerDependencies version ( #210 )
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
287ee479e0
v0.12.0
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
be65a04238
feat: add functions for parsing formatters from encoding ( #205 )
...
* feat: add function for parsing formatters from encoding
* fix: add unit test
* feat: add getter
* fix: update type
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
3df26ae76d
refactor(chart): remove and rename fields in ChartProps ( #174 )
...
* refactor(chart): remove and remove fields in ChartProps
BREAKING CHANGE: ChartProps fields are removed and renamed.
* test: update tests
* fix: unit tests
* fix: type
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
cb9e617d90
feat: Add types and type guards for encodeable ( #201 )
...
* feat: scaffold superset-ui-encodeable
* feat: add type and typeguards
* fix: remove unused
* docs: update comments
* fix: address comments
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
a7a12c79a2
feat: add control panel support to chart plugin ( #203 )
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
0fb91c0e6b
feat: deprecate old SuperChart API that accepts chartProps ( #202 )
...
BREAKING CHANGE: No longer accept chartProps as a single prop in <SuperChart>. Developers must specify each field in chartProps individually.
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
9decd815ec
feat: split superset-ui/query from superset-ui/chart ( #178 )
...
BREAKING CHANGE: some api and types are removed from @superset-ui/chart and moved to /query
* feat: split superset-ui/query from superset-ui/chart
* fix: update references
* test: fix broken tests
* refactor: rename ChartFormData to QueryFormData
* fix: rename file
* fix: remove annotation layer from query package
2021-11-26 11:44:54 +08:00