* 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
* 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
* 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
* Add superchart and convert to ts
* fix compilation error
* fix build issue
* unit test working
* Add default width and height to ChartProps
* export SuperChart
* Add null check and update unit tests
* update unit tests
* complete test coverage
* Add generic
* reduce timeout
Metrics can take shape of an array of metrics in form data for a given metrics key. For example, `{ metrics: ['sum__num'] }`. This PR changes Metrics class to handle the array case.
* migrate query code from incubator-superset
* Getting tests to pass
- Up build-config version to pick up a fix to eslint-typescript-parser
- Remove usage of default exports in favor of named exports unless the export is the only thing being exported out of a module
- Fixing up a few linting errors
* - Remove DatasourceKey interface in favor of readonly id and type properties on the DatasourceKey class directly.
- Adding tests for DatasourceKey.