Commit Graph

97 Commits

Author SHA1 Message Date
Jesse Yang
75298ecda3 refactor(plugin-chart-table): migrate to API v1 (#889) 2021-11-26 11:46:51 +08:00
Jesse Yang
d8e1bbb9dd chore: upgrade eslint and babel (#892) 2021-11-26 11:46:49 +08:00
Jesse Yang
55ee542813 refactor: remove queryFields from formData and improve typing (#862) 2021-11-26 11:46:47 +08:00
Jesse Yang
286255d85a build: remove nimbus (#847) 2021-11-26 11:46:46 +08:00
ʈᵃᵢ
d995eaaa97 ci: add chromatic visual testing step (#849) 2021-11-26 11:46:45 +08:00
Jesse Yang
f28cd3f9c5 build: enable skipLibCheck for tsc (#769)
* build: enable skipLibCheck for tsc

* improve tsc configs
2021-11-26 11:46:39 +08:00
Jesse Yang
415ce5efd8 refactor: merge core superset-ui packages (#768)
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8. move superset-ui/chart-composition to core (#759)
9. move superset-ui/chart to core (#760)
2021-11-26 11:46:38 +08:00
Jesse Yang
6def6b4c0b feat: properly translate the table chart (#724) 2021-11-26 11:46:36 +08:00
dependabot-preview[bot]
0365a5dca9 build(deps): bump @types/jest from 25.2.3 to 26.0.4 (#670)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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:33 +08:00
Jesse Yang
18dfdd2a5a feat(query): add makeApi API generator (#666) 2021-11-26 11:46:32 +08:00
Jesse Yang
ddd9fb46c7 feat(connection): easier API for json payload (#634) 2021-11-26 11:46:31 +08:00
Jesse Yang
92ac471216 feat(plugin-chart-table): rewrite with react-table (#623) 2021-11-26 11:46:28 +08:00
Jesse Yang
716c235287 build: clean package-lock.json before release (#621) 2021-11-26 11:46:28 +08:00
Jesse Yang
b0858eee95 build: bump @types/react to 16.9.38 (#619) 2021-11-26 11:46:28 +08:00
Jesse Yang
84672b99b4 build: fix typing rebuild for single packages (#596) 2021-11-26 11:46:26 +08:00
Jesse Yang
ac326ded47 build: allow building only one (or more) package (#571) 2021-11-26 11:46:24 +08:00
David Aaron Suddjian
caf9a4000e fix(legacy-plugin-chart-nvd3): disable bad linting rule (#488)
* fix(legacy-plugin-chart-nvd3): disable linting rule that conflicts with having actual working code

* cleanup unnecessary eslint-disable
2021-11-26 11:46:15 +08:00
Jesse Yang
e487ec7274 chore: enforce commit-lint on first commit in branch (#471) 2021-11-26 11:46:14 +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
9b009e7198 feat(table): enable table filter and better typing (#344) 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
f230f3b89f build: configure publish workflow 2021-11-26 11:46:05 +08:00
Krist Wongsuphasawat
ff51929ada build: add more scripts and pilot workflow 2021-11-26 11:46:04 +08:00
Krist Wongsuphasawat
170ff4f60f chore: update npm script 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
7ee7b57193 chore: update lerna config and release script 2021-11-26 11:45:09 +08:00
Jianchao Yang
5c2a57a7b8 Disable commit lint (#363) 2021-11-26 11:45:07 +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
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
dependabot-preview[bot]
fc2cc231bc build(deps-dev): bump fs-extra from 8.1.0 to 9.0.0 (#336)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/8.1.0...9.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:04 +08:00
Jianchao Yang
23f52286cd build: try to merge superset-ui-plugins (#333) 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
6f42844366 Revert "build: clean up tsbuild.info, too"
This reverts commit bf45717b320c5ba653672ac9d7db89e6baada994.
2021-11-26 11:45:03 +08:00
Jesse Yang
5f87db7207 build: clean up tsbuild.info, too 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
5776092947 build: add force-release script 2021-11-26 11:45:02 +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
Krist Wongsuphasawat
6720f421a4 build: update script in package.json 2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
f40e06e942 build: rename yarn type:dts to yarn type (#290) 2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
761b426ba9 build(deps-dev): bump @types/jest from 24.9.1 to 25.1.1 (#287)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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
dependabot-preview[bot]
aabbb3d5ab build(deps-dev): bump husky from 3.1.0 to 4.2.1 (#283)
Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.2.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.1.0...v4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +08:00
dependabot-preview[bot]
75797faf6f build(deps-dev): bump lint-staged from 9.5.0 to 10.0.3 (#285)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.5.0...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +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
Krist Wongsuphasawat
62e801fd07 fix: typing issues surfaced by typescript 3.7 (#260) 2021-11-26 11:45:00 +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
Krist Wongsuphasawat
13ceb8dc70 fix: peerDependencies version (#210) 2021-11-26 11:44:55 +08:00
dependabot-preview[bot]
37e08a7a9d build(deps-dev): update lint-staged requirement from ^8.0.4 to ^9.2.1 (#197)
Updates the requirements on [lint-staged](https://github.com/okonet/lint-staged) to permit the latest version.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.0.4...v9.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:53 +08:00
dependabot-preview[bot]
69238f0f07 build(deps-dev): update husky requirement from ^2.3.0 to ^3.0.1 (#195)
Updates the requirements on [husky](https://github.com/typicode/husky) to permit the latest version.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v2.3.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:53 +08:00
dependabot-preview[bot]
8d05924e75 build(deps-dev): update fast-glob requirement from ^2.2.6 to ^3.0.1 (#179)
Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version.
- [Release notes](https://github.com/mrmlnc/fast-glob/releases)
- [Commits](https://github.com/mrmlnc/fast-glob/compare/2.2.6...3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
34d475fac7 feat: add error boundary and responsiveness to SuperChart (#175)
* feat: add fallback component

* feat: add superchart shell

* feat: add vx/responsive type declaration

* fix: path and dependencies

* test: add unit tests

* test: add more tests

* docs: add storybook

* test: fix FallBackComponent test

* feat: make fallback accepts width and height

* test: reach 100%

* fix: test

* fix: add more checks

* refactor: rename SuperChartKernel to SuperChartCore

* refactor: separate backward-compatibility code into another wrapper
2021-11-26 11:44:52 +08:00