Commit Graph

379 Commits

Author SHA1 Message Date
Evan Rusackas
6d7de01abe chore(release): publish v0.13.8 2021-11-26 11:46:12 +08:00
Evan Rusackas
f75c378935 chore(release): publish v0.13.7 2021-11-26 11:46:12 +08:00
dependabot-preview[bot]
68b16a954b build(deps): bump @vx/responsive from 0.0.195 to 0.0.196 (#436)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.195 to 0.0.196.
- [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.195...v0.0.196)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:12 +08:00
Krist Wongsuphasawat
e87bf3bc24 chore(release): publish v0.13.6 2021-11-26 11:46:11 +08:00
Ville Brofeldt
4322d1cd39 feat(query): Add force to QueryContext (#445)
* Add force to QueryContext

* fix tests

* fix test
2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
95cd9cc4d5 chore(release): publish v0.13.5 2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
62b2a50faf fix: lint errors (#420)
* fix: lint errors

* fix: lint

* fix: more lints

* fix: broken test

* fix: singleton type
2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
619045048f fix(plugin-chart-word-cloud): make wordcloud take current formdata (#428)
* fix: make wordcloud take current formdata

* docs: fix storybook
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
445a44642c chore(legacy-preset-chart-big-number): rename directory (#427)
* chore: rename directory

* chore: correct naming
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
7cce8f0081 feat(superset-ui): include control utils in the umbrella package (#421) 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
be6789f9aa chore(legacy-plugin-chart-table): rename directory (#422) 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
c45a534e2f chore(release): publish v0.13.4 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
ead6efe5ad chore(release): publish v0.13.3 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
279f5d372d chore(release): publish v0.13.2 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
8e2732d282 chore(release): publish v0.13.1 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
82503cedf3 fix: bump peer dependencies 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
7d746a482c chore(release): publish v0.13.0 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
91d00ac8b1 feat(plugin-word-cloud): change how wordcloud is exported (#418)
* feat(plugin-word-cloud): change how wordcloud is exported

* docs: fix storybook
2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
2be7b4ba0a feat(control-utils): add packages control-utils (#417)
* feat(control-utils): add package

* fix: remove export

* fix: export

* fix: dep version
2021-11-26 11:46:09 +08:00
ʈᵃᵢ
c21ad5cee4 fix: export superset theme props (#391)
* fix: export superset theme props

* add spec
2021-11-26 11:46:08 +08:00
Krist Wongsuphasawat
587e6e1a77 feat(preset-chart-nvd3): migration from plugins repo (#399) 2021-11-26 11:46:08 +08:00
Ville Brofeldt
9aa7b6f5ee chore: bump pretty-ms (#398)
* chore: bump pretty-ms

* fix: unit test

* fix: Add unit test for colonNotation
2021-11-26 11:46:07 +08:00
David Aaron Suddjian
fb4664235b feat(chart): add shared plugin controls utilities (#389)
* add shared controls utilities

* accidentally yarn lock

* bring in date formatting fix

* turn off no-plusplus rule

* address PR feedback, reorganize modules a bit

* turn off no-plusplus

* bring in new external changes

* superset-ui packages should be peer dependencies

* add tests for ported in code
2021-11-26 11:46:07 +08:00
Krist Wongsuphasawat
afed1a0818 feat(preset-chart-xy): migrate from plugins repo (#377)
* chore: move chart-xy and word-cloud

* fix: babel settings

* fix: remove file

* docs: update storybook code

* docs: word cloud storybook working

* chore: move files back

* fix: ts issues

* fix: import path

* fix: all storybook thingy

* fix: add query storybook back

* fix: address comments

* fix: sorting
2021-11-26 11:46:07 +08:00
Jesse Yang
8ab578e121 fix(superset-ui-query): add unit tests for #387 (#390) 2021-11-26 11:46:07 +08:00
Ville Brofeldt
1917d84c7a fix: make all filter operators uppercase (#378)
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
2021-11-26 11:46:07 +08:00
erik_ritter
aa4a8cf6c4 chore(release): publish v0.12.23 2021-11-26 11:46:07 +08:00
Erik Ritter
0cb4e4f9ff fix: unset row_limit when it's not a number (#387)
* fix: unset row_limit when it's not a number

* fix: address comments
2021-11-26 11:46:07 +08:00
erik_ritter
0293228f44 chore(release): publish v0.12.22 2021-11-26 11:46:06 +08:00
Erik Ritter
b711d3eba7 feat: add retry to callApi (#384) 2021-11-26 11:46:06 +08:00
Jesse Yang
9b009e7198 feat(table): enable table filter and better typing (#344) 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
aa2cdcaad5 chore(release): publish v0.12.21 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
8dd02b3633 feat(legacy-plugin-chart-country-map): migrate and replace india map (#376)
* feat(legacy-plugin-chart-country-map): migrate and replace india map with smaller file

* fix: lint

* chore: move files

* docs: update storybook

* docs: wire storybook

* fix: lint
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
81ca3b9801 feat: migrate chart plugins (#375)
* feat(legacy-plugin-chart-rose): migrate package and lint

* feat(legacy-plugin-chart-sankey): migrate

* feat(legacy-plugin-chart-sankey-loop): migrate

* feat(legacy-plugin-chart-sunburst): migrate and lint

* feat(legacy-plugin-chart-treemap): migrate

* feat(legacy-plugin-chart-world-map): migrate

* docs: update storybooks

* feat(legacy-plugin-chart-force-directed): migrate and lint

* feat(legacy-plugin-chart-map-box): migrate and lint

* feat(legacy-plugin-chart-histogram): migrate and lint

* docs: update storybooks
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
1e2039388f chore(release): publish v0.12.20 2021-11-26 11:46:05 +08:00
Krist Wongsuphasawat
aac4b0575e chore(release): publish v0.12.19 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
89c2203704 Merge pull request #368 from apache-superset/kristw--migrate-pivot
feat: migrate 4 chart plugins
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
f2cf0a2a7f feat(style): add style to umbrella package (#366) 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
12bf14b7cd feat: migrate heatmap, horizon, iframe and markup (#367)
* feat: migrate heatmap

* feat: add horizon, iframe and markup
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
d5b51202f7 v0.12.18 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
d36b36ecfc feat: migrate legacy-plugin-chart-chord (#365)
* docs: update storybook

* fix: import

* fix: import

* fix: import
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
b491361b10 v0.12.17 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
1feab468e5 fix: publish settings 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
536b0b8dd1 v0.12.16 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
d71940b325 docs: update readme 2021-11-26 11:45:07 +08:00
David Aaron Suddjian
11dbae71a6 feat: style package for theming and styled components (#362)
* feat: style package for theming and styled components

* fix: addressing PR feedback on style package

* fix: we need badges

* fix: sideEffects false for better tree shaking

* fix: readme title nit
2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
f4eb082df6 v0.12.15 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
aa84115ca4 feat: make time formatter handle number and fix formatters type warnings (#358)
* fix: type warnings for formatters

* docs: add comment

* fix: unit tests

* fix: type

* feat: make time formatter handle timestamp
2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
735e8b2dd6 feat: make CategoricalScale compatible with D3 ScaleOrdinal (#357)
* feat: make categorical scale compatible with d3 scaleOrdinal

* feat: make CategoricalColorScale signature compatible with D3 ScaleOrdinal

* test: add unit test

* feat: use scaleOrdinal in implementation
2021-11-26 11:45:06 +08:00
Krist Wongsuphasawat
e0bbdf9f85 v0.12.14 2021-11-26 11:45:06 +08:00
Evan Rusackas
98848b361a feat: allow toggling of table viz's bar chart backgrounds (#352)
* feat: allow toggling of bar chart backgrounds

* fix: inverting bar-chart-bg hide/show

* fix: keeping metrics right aligned
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
a7583bd92a build(deps): bump core-js from 3.6.4 to 3.6.5 (#354)
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/v3.6.5/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
Krist Wongsuphasawat
a8f3923851 feat: add calendar package and storybook (#356)
* feat: add calendar package and storybook

* fix: jest threshold

* build: update codecov

* build: update codecov
2021-11-26 11:45:05 +08:00
Krist Wongsuphasawat
149405e90e v0.12.13 2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
676979edd8 build(deps): bump chalk from 3.0.0 to 4.0.0 (#337)
Bumps [chalk](https://github.com/chalk/chalk) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
186b4be33c build(deps): bump @types/storybook__react from 4.0.2 to 5.2.1 (#276)
Bumps [@types/storybook__react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__react) from 4.0.2 to 5.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:04 +08:00
Jesse Yang
8e8d1f799d fix: new line at end 2021-11-26 11:45:04 +08:00
Jianchao Yang
23f52286cd build: try to merge superset-ui-plugins (#333) 2021-11-26 11:45:04 +08:00
Krist Wongsuphasawat
6ffcfec6e7 feat: add validator to umbrella package (#327) 2021-11-26 11:45:04 +08:00
Jesse Yang
4d0d05f71f Revert "build: try to merge superset-ui-plugins"
This reverts commit 823126633ea0743254f78b0a74fe83c68ee6438f.
2021-11-26 11:45:03 +08:00
Jesse Yang
1238e78e2d build: try to merge superset-ui-plugins 2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
d32465db7e v0.12.12 2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
dbc98609a5 feat: add validator package (#322)
* feat: add validator package

* test: add unit tests

* feat: add legacy function

* fix: rename
2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
aa9d262fba build(deps): bump pretty-ms from 5.1.0 to 6.0.1 (#304)
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 5.1.0 to 6.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v5.1.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
14013c381c build(deps): bump @vx/responsive from 0.0.194 to 0.0.195 (#297)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.194 to 0.0.195.
- [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.194...v0.0.195)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
b14de72218 v0.12.11 2021-11-26 11:45:02 +08:00
Erik Ritter
eef4699807 fix: small rendering for no results message (#309) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
3342bfdd56 v0.12.10 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
5966ff10be feat: add more support for undefined format to number and time formatters (#308)
* feat: add more support for undefined format

* test: add unit tests

* fix: handle empty string
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
64dca92eb2 v0.12.9 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
83a1901a35 feat: make formatTime and formatNumber handle undefined format (#307) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
94d8280482 v0.12.8 2021-11-26 11:45:02 +08:00
Erik Ritter
06d7ad571a feat: add NoResultsComponent to charts (#305) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
517020abf5 build: fix demo build (#298)
* build: fix demo build

* fix: version

* build: add yarn.lock

* fix: clean up webpack config
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
aa7ddd2e93 build(deps): bump @vx/responsive from 0.0.193 to 0.0.194 (#296)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.193 to 0.0.194.
- [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.193...v0.0.194)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
18db591367 build: remove babel transform runtime (#291)
* build: remove babel transform runtime

* build: remove corejs config

* build: update nimbus target
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
5ddff8b6d8 build(deps): bump @vx/responsive from 0.0.192 to 0.0.193 (#288)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193.
- [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.192...v0.0.193)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
6ae05114ca build: fix lints (#289)
* build: remove no-test-callback override

* fix: no-callback auto-fix

* fix: lint issues import/extension
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
97f18e686b build: migrate build tool to nimbus (#281)
* build: migrate to nimbus

* build: update gitignore

* build: update package.json

* build: update travis config

* build: lower engine requirements

* build: adjust typescript config

* fix: errors

* fix: change yarn run to yarn

* fix: lint

(cherry picked from commit 22328c349c9b987eecc5e46fb306e459b6a9cadc)

* fix: eslint rules

* fix: lint

* fix: setup file

* fix: more lint

* fix: lint - pass build and lint

* fix: test setup and babel transform runtime

(cherry picked from commit dd55fd88ced045a8f83ca771705721bf2f930ff0)

* fix: timeout issues

* fix: some broken test due to jest.setTimeout

* fix: computeMaxFontSize tests

* fix: createLoadableRenderer test

* fix: loadble and broken tests due to warnings

* fix: test coverage

* fix: coverage of generator tests

* fix: all unit tests pass

* fix: remove yeutech-lab/react-loadable
2021-11-26 11:45:00 +08:00
Ville Brofeldt
00ede940dc docs(number-format): add durationFormatter example README (#266)
* docs: add durationFormatter example to number-format README.md

* docs: refactor example to use registry
2021-11-26 11:45:00 +08:00
Ville Brofeldt
7212d1240b feat(number-format): bump pretty-ms to 5.1.0 (#262) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
2d91764c60 v0.12.7 2021-11-26 11:45:00 +08:00
Chris Williams
d6a46c1265 fix(dimension): set 0 width/height in createHiddenSvgNode (#261) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
09442bbfe0 v0.12.6 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
62e801fd07 fix: typing issues surfaced by typescript 3.7 (#260) 2021-11-26 11:45:00 +08:00
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