Commit Graph

8879 Commits

Author SHA1 Message Date
dependabot[bot]
5d0a693e3f build(deps): update @vx/responsive requirement from ^0.0.184 to ^0.0.188 (#145)
Updates the requirements on [@vx/responsive](https://github.com/hshoff/vx) to permit the latest version.
- [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.184...v0.0.188)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
aedc1b405d feat: improve margin merging (#159) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
58f606be88 v0.11.6 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
eaa7851428 feat: add hooks (#158) 2021-11-26 11:44:49 +08:00
Saajan
3922193f57 docs: update Readme with missing yarn build command. (#156) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
8028c73cce fix: lint (#144) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
a148a2952b docs: update changelog 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
3c8dd8cec0 v0.11.5 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
80c46b0da3 chore: prepare to publish chart-composition 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
e5e09f9f26 feat: add chart companion components (#139)
* feat: add chart companion components

* test: add more tests

* test: improve coverage

* test: fix failed test

* test: mock ResizeObserver

* fix: test coverage

* test: fix set dimension

* feat: make keyColumn optional

* fix: address comments

* fix: test delay
2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
d6f39335d8 fix: broken build due to failing unit tests (#141)
* fix: callapi unit test

* test: fix async calls

* fix: remaining test

* refactor: do not declare unused var
2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
6421d4b514 build: update build config 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
3499761137 v0.11.4 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
a35f88a69e fix: make translation module type check correctly (#140) 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
368ed3cb5b build: fix changelog script 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
f0d55c313f docs: update changelog 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
847655a4ef v0.11.3 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
99c2e4c875 fix: bump peer dependencies (#136) 2021-11-26 11:44:48 +08:00
Hamel Husain
4d317fc021 chore: create issue_label_bot.yaml (#135) 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
f878e62e29 docs: readme (#134) 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
2feb8948bf build: migrate to storybook 5 (#133)
* build: storybook 5

* feat: configure js/jsx storybook

* chore: modify storybook webpack config

* fix: type

* fix: packages.json dep order
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
921fb90fa0 chore: add config for no-response bot (#130) 2021-11-26 11:44:47 +08:00
Christine Chambers
61c7e691b6 v0.11.2 2021-11-26 11:44:47 +08:00
Thomas Wang
cbc1de5c76 fix: smartDateVerbose at seconds (#132)
* fix: smartDateVerbose at seconds

* revert the version increment
2021-11-26 11:44:47 +08:00
Christine Chambers
49edfb4efe v0.11.1 2021-11-26 11:44:47 +08:00
Christine Chambers
2ac3c082ab feat: callback hooks for Reactified components (#131)
* feat: callback hooks for Reactified components

Add a second argument to the exported `reactify` method to allow wrapped component to pass in callback hooks for React lifecycle methods. This PR only exposes the willUnmount hook. Other hooks can be added in the future.

* fix: improve code coverage

* chore: rename willUnmount hook to componentWillUnmount
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
bd8b699a7d docs: update changelog (#129)
* docs: update changelog

* chore: update changelog script

* docs: update changelog
2021-11-26 11:44:47 +08:00
Christine Chambers
684e56b43e v0.11.0 2021-11-26 11:44:47 +08:00
Christine Chambers
f71180e251 Revert "Handle BigNumber conversions in JSON properly (without loss of precision) (#71)" (#126)
* revert: revert "Handle BigNumber conversions in JSON properly (without loss of precision) (#71)"

This reverts commit e3866129b2b3cbd6e099fe4ab66319c4fe6ae485.

* fix: type errors

* fix: typescript errors in superset-ui-demo
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
fef6466f74 v0.10.10 2021-11-26 11:44:47 +08:00
Beto Dealmeida
a63f947ff5 feat: add support for conditional get requests (#119)
* feat: add support for conditional requests

* feat: add unit tests for conditional requests

* feat: use invariant

* feat: add type guard

* feat: fix lint

* feat: add more unit tests
2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
27941b673f docs: update changelog 2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
e4beba91a2 v0.10.9 2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
82a142f542 chore: enforce check on PR title to be conventional commit (#113) 2021-11-26 11:44:46 +08:00
Kim Truong
c9b9935551 feat: add labels to color scheme (#125) 2021-11-26 11:44:46 +08:00
Conglei Shi
3113023b0f v0.10.8 2021-11-26 11:44:46 +08:00
Conglei
fdd10fa062 fix: 🐛 Fixed type definition for chart plugin (#123)
* fix: 🐛 Fixed typ definiton for chart plugin

This PR is to fix the type definiton for transformProps and LoadData.

* fix: 🐛 Type compatibility

Change the output of preTransformProps to ChartProps

* fix: 🐛 Fixed Test

Fixed the test according to the changes:
2021-11-26 11:44:46 +08:00
Kim Truong
9dd30b0350 feat: getter function to return color mapping (#124) 2021-11-26 11:44:46 +08:00
Conglei Shi
e8e54adad9 v0.10.7 2021-11-26 11:44:46 +08:00
Chris Williams
12ce877530 fix(chart): import types from package, not monorepo (#122)
* fix(chart): import types from package, not monorepo

* build: ensure fresh directories on build

* fix(chart): nix type deep import
2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
183547b9e0 v0.10.6 2021-11-26 11:44:45 +08:00
Chris Williams
fea7c589f5 chore(chart): remove faux @superset-ui/core TS declaration (#121)
* chore(chart): remove faux @superset-ui/core TS declaration

* test(chart): test all ChartPlugin.register() branches

* refactor(chart): support loaders that return esmodules

* refactor(chart): rename ChartMetaDataConfig => ChartMetadataConfig

* test(chart): fix loader test + branch coverage

* test(chart): hit all branches in sanitizeLoader

* refactor(chart): use ChartMetadata in registry
2021-11-26 11:44:45 +08:00
Chris Williams
30cc661f11 v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
df18f3b0f9 v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
49efedb83e v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
7ad0e1f57d v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
061faab818 feat(chart): Add <ChartDataProvider /> (#120)
* docs: [demo][connection] add ConfigureCORS story for testing CORS

* docs: [demo][ConfigureCORS] better instructions

* feat: [chart] add mvp DataProvider component

* docs: better CORS story, update webpack for @babel/polyfill

* docs: [chart] add DataProvider story with WordCloudPlugin

* docs: [chart] add DataProvider deets to Readme

* test(chart): move SuperChart.test.jsx => .tsx and instead use @ts-ignore

* fix(connection): point interface.request to client.request

* feat(chart): re-write DataProvider as ChartDataProvider

* docs(demo): re-write LegacyWordCloudStories => ChartDataProviderStories

* refactor(chart): use IDENTITY as ChartPlugin buildQuery default

* feat(chart): support legacy + v1 loadQueryData endpoints in ChartClient

* docs(demo): add sankey + sunburst plugins to ChartDataProvider story

* style(chart): run prettier on SuperChart

* feat(chart): export QueryData type from models/ChartProps

* feat(chart): export Metrics and BaseFormData from types/ChartFormData

* feat(chart): add request option overrides in ChartDataProvider

* fix(chart): use Partial<> for ChartClient request option overrides

* test(chart): add ChartDataProvider tests

* build: include demo pkg in type script

* build: move storybook/mocks to test/fixtures

* build: move json-bigint TS declaration to root

* test(chart): clean up ChartDataProvider test TS

* chore(chart): lint fix SuperChart

* fix(chart): set ChartPlugin.buildQuery default back to undefined

* test(connection): fix expected Client.get call count

* test(chart): fix ChartClient tests and add test for legacy API

* fix(chart): uninitialized typo, change fetching => loading

* docs(chart): update README to final ChartDataProvider API

* docs(chart): fix typo

* test(chart): get ChartDataProvider to one hundo

* feat(chart): add and export more meaningful Datasource type

* feat(chart): use Datasource type in ChartClient
2021-11-26 11:44:45 +08:00
Chris Williams
facb0aa4b3 docs(demo): Add TS support + CORS demo (#118)
* docs: [demo] add custom webpack config to resolve TS files

* docs: [demo] add @babel/polyfill

* docs: [demo][connection] add ConfigureCORS story for testing CORS

* docs: [demo][ConfigureCORS] better instructions

* fix: [demo] install an existing version of @superset-ui/connection

* docs: better CORS story, update webpack for @babel/polyfill
2021-11-26 11:44:45 +08:00
Conglei
86c0c26213 feat: 🎸 Improved QueryObject to handle more fields (#116)
* feat: 🎸 Improved QueryObject to handle more fields

The commit is to ensure the feature parity between frontend and backend
QueryOjbect

* test: 💍 Added tests to improve the coverage
2021-11-26 11:44:45 +08:00
Krist Wongsuphasawat
01a411ebc5 v0.10.4 2021-11-26 11:44:45 +08:00