Commit Graph

33 Commits

Author SHA1 Message Date
Yongjie Zhao
d490ee89b1 chore: fix end-of-file (#1468)
* chore: end of file fixer

* compress image

* lint without build

* lintrc improvment

* exporting

* update parallel-coordinates tsconfig

* add license to md file

* add license

* add eslintignore
2021-11-26 11:47:39 +08:00
Yongjie Zhao
c78551df4f chore: refine prettier config as the main repository (#1456)
* change to prettier.config.js

* printWidth to 80

* format

* tweak
2021-11-26 11:47:38 +08:00
Yongjie Zhao
0d219533b2 chore: merge tsconfig.json and tsconfig.options.json (#1459) 2021-11-26 11:47:38 +08:00
Yongjie Zhao
66b5b2cf9f chore: add Apache License for superset-ui (#1444)
* chore: add rat script

* add license

wip
2021-11-26 11:47:36 +08:00
Yongjie Zhao
f552abaa42 refactor: replace yarn with npm (#1405)
* refactor: replace yarn with npm

* revert npm requirement back to 14 for vercel

* disable build Storybook job

* fix linting errors

* update lock file

* rebase master and bump encodable/color to 1.1.1

* update package-lock.json

update lock file

* change node version format to satisfy vercel

* remove restriction on @encodable/color

* rename yarn.lock to package-lock.json

* add resolved in lock file and restriction on @encodable/color

* install dependences by npm ci

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:47:34 +08:00
Jesse Yang
a89b78c112 chore: upgrade to emotion@11 (#1086) 2021-11-26 11:47:07 +08:00
Jesse Yang
cd5a95763d fix(chart-controls): export/import DTTM_ALIAS properly (#1035) 2021-11-26 11:47:00 +08:00
simchaNielsen
16225132c2 chore(core): remove queryData and replace with queriesData (#874)
* feat: remove single queryData from api

* feat: migrate old plugins to queriesData api property

* test: fix tests

* test: fix tests

* fix: fix storybook

* lint: fix lint

* refactor: fix CR notes

* refactor: remove queryData from Chart Provider
2021-11-26 11:46:47 +08:00
Jesse Yang
55ee542813 refactor: remove queryFields from formData and improve typing (#862) 2021-11-26 11:46:47 +08:00
Jesse Yang
05f335477d test: use stable random for stories (#861)
* test: use stable random for stories

* Seed with superset-ui

* Add tests for random
2021-11-26 11:46:46 +08:00
Jesse Yang
286255d85a build: remove nimbus (#847) 2021-11-26 11:46:46 +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
7b7c8a0c1a fix(plugin-chart-table): value undefined when table name has dot (#686)
* fix(plugin-chart-table): value undefined when table name has dot

* Upgrade react everywhere

* add comment
2021-11-26 11:46:33 +08:00
Jesse Yang
90ac8caa03 chore: deprecate legacy table plugin (#674)
* chore: move legacy table plugin to potentially deprecated

* Rename story

* update readme
2021-11-26 11:46:32 +08:00
Jesse Yang
92ac471216 feat(plugin-chart-table): rewrite with react-table (#623) 2021-11-26 11:46:28 +08:00
Jesse Yang
57c5f950ec build: update package versions in peerDependencies (#622) 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
269a7df3e6 chore: upgrade @types/react (#613) 2021-11-26 11:46:27 +08:00
Krist Wongsuphasawat
ae6a1bbefb feat(legacy-plugin-chart-event-flow): migrate package (#514) 2021-11-26 11:46:19 +08:00
David Aaron Suddjian
53e8a4ff5b feat(legacy-plugin-chart-event-flow): control panel (#501) 2021-11-26 11:46:18 +08:00
David Aaron Suddjian
9c2495c03c feat(legacy-plugin-chart-big-number): add control panel config for the BigNumber charts (#419)
* move nvd3 controls file to the correct directory

* feat: BigNumber registers its own controls

* fix: nvd3 controls imports

* fix: disable rules for some lines

* controls -> controlPanel

* control utils got moved

* fix: control utils required from nvd3

* fix: version

Co-authored-by: Krist Wongsuphasawat <krist.wongz@gmail.com>
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
82503cedf3 fix: bump peer dependencies 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
ea27fbb246 chore: delete unused files (#412)
* chore: delete unused files

* chore: delete files

* chore: move files back
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
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
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
ca3897c638 chore: move files 2021-11-26 11:46:04 +08:00
Krist Wongsuphasawat
41d62ba640 docs: update readme 2021-11-26 11:46:04 +08:00
Krist Wongsuphasawat
b562418eb6 docs: update url in package.json and readme 2021-11-26 11:46:04 +08:00
Krist Wongsuphasawat
8d688d5c10 chore: remove already migrated packages 2021-11-26 11:46:04 +08:00
Krist Wongsuphasawat
dfb0451022 chore: move unmigrated files 2021-11-26 11:46:03 +08:00