* 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
* 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
* 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
* 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:
* 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
* 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
* 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
* feat: implement smart number format
* test: add unit tests
* refactor: Rename number formats
BREAKING CHANGE: NumberFormat.xxx are renamed
* feat: Make smart number default formatter
* fix: add unit test
* refactor: move formatters outside
* scaffold
* resolve dependency issues
* use d3 v4
* - Update peer dependencies
- Getting src to build
* Type word cloud
* Add tests for transformProps
* Update and simplify d3-cloud typing as the fix we've been waiting was merged.
* resolve all tests
* update unit tests
* fix unit test
* update readme