erik_ritter
5badd26abb
docs: update changelog
2021-11-26 11:44:53 +08:00
erik_ritter
02265669b3
v0.11.14
2021-11-26 11:44:53 +08:00
Erik Ritter
f0204ea9bd
feat: allow reactify callbacks to access props ( #200 )
2021-11-26 11:44:53 +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
Krist Wongsuphasawat
e48b445bfe
fix: eslint issues ( #198 )
2021-11-26 11:44:53 +08:00
schoel-bis
fb4a3c2ec5
fix(connection): disable caching when on an insecure connection ( #194 )
...
When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.
fix #193
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
Erik Ritter
e1c635d9e2
fix: clean up unneeded Promise.resolves() ( #185 )
2021-11-26 11:44:53 +08:00
dependabot-preview[bot]
e9c2b7146a
build(deps): update whatwg-fetch requirement from ^2.0.4 to ^3.0.0 ( #150 )
...
Updates the requirements on [whatwg-fetch](https://github.com/github/fetch ) to permit the latest version.
- [Release notes](https://github.com/github/fetch/releases )
- [Commits](https://github.com/github/fetch/compare/v2.0.4...v3.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:53 +08:00
Erik Ritter
3d6ef61658
fix: move eslint disable comment in reactify test ( #184 )
2021-11-26 11:44:53 +08:00
Krist Wongsuphasawat
3fc8551014
feat: support locale in number and time format ( #182 )
...
* feat: support locale in number and time format
* test: improve coverage
* test: merge js and ts test
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
9b82cd203f
v0.11.13
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
3d6d622b18
fix: wrong type for filters field ( #183 )
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
34e2e621e9
docs: update changelog
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
b2b3bf639c
v0.11.12
2021-11-26 11:44:52 +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
9f8461b965
feat: store reference to container and update bindings ( #180 )
...
* feat: store reference to container
* fix: minor adjustment
* feat: forward ref from shell to superchart
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
135084c5ed
v0.11.11
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
Krist Wongsuphasawat
420321ca7b
v0.11.10
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
5a79a7000f
feat: add parseLength function to @superset-ui/dimension ( #171 )
...
* feat: add parseLength function
* feat: export
* fix: address Kim's comment
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
4f23311813
test: extract mock plugins into separate file ( #172 )
...
* test: extract mock plugins into separate file
* fix: use constants
* fix: test coverage
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
bbf13fd0d0
refactor: separate transform function types into a new file ( #169 )
...
* refactor: separate transform function types into a new file
* fix: import
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
09f9405334
feat: allow chart plugin to be unregistered ( #168 )
...
* feat: allow chart plugin to be unregistered
* test: address edge cases
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
62204a9dde
build: bump build-config with beemo 1.0.0
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
9810dad834
build: bump build-config ( #167 )
...
* build: bump build-config
* test: fix typings in mock data
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
4b711eb299
v0.11.9
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
70d210ca5d
fix: remove padding in WithLegend
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
7d6d5dcf4a
docs: update changelog
2021-11-26 11:44:51 +08:00
dependabot-preview[bot]
e514f3efa5
build(deps-dev): update jest-mock-console requirement ( #165 )
...
Updates the requirements on [jest-mock-console](https://github.com/bpedersen/jest-mock-console ) to permit the latest version.
- [Release notes](https://github.com/bpedersen/jest-mock-console/releases )
- [Commits](https://github.com/bpedersen/jest-mock-console/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:51 +08:00
dependabot-preview[bot]
5d3d688f4b
build(deps): update d3-scale requirement from ^2.1.2 to ^3.0.0 ( #146 )
...
Updates the requirements on [d3-scale](https://github.com/d3/d3-scale ) to permit the latest version.
- [Release notes](https://github.com/d3/d3-scale/releases )
- [Commits](https://github.com/d3/d3-scale/compare/v2.1.2...v3.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot-preview[bot]
958e6160de
build(deps): update yeoman-generator requirement from ^3.1.1 to ^4.0.0 ( #152 )
...
Updates the requirements on [yeoman-generator](https://github.com/yeoman/generator ) to permit the latest version.
- [Release notes](https://github.com/yeoman/generator/releases )
- [Commits](https://github.com/yeoman/generator/compare/v3.1.1...v4.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
Krist Wongsuphasawat
0669fca4fd
v0.11.8
2021-11-26 11:44:50 +08:00
Krist Wongsuphasawat
c9e3e73f2e
feat: update ChartFormData and QueryObject to support filters. ( #164 )
...
* feat: update types to include filters
* refactor: remove namespace
* refactor: split function
* feat: add filter processing and refactor
* feat: revise metrics processing
* test: add unit tests
* refactor: move type files back
* test: add unit tests
* fix: unit test
* fix: remove exports
* docs: add field info
* fix: type check undefined
* docs: add more comments
* build: speed up storybook build
2021-11-26 11:44:50 +08:00
dependabot[bot]
1d42434894
build(deps-dev): update husky requirement from ^1.1.2 to ^2.3.0 ( #157 )
...
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/v1.1.2...v2.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
4dad70ed8b
build(deps): update @types/storybook__addon-knobs requirement ( #147 )
...
Updates the requirements on [@types/storybook__addon-knobs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__addon-knobs ) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__addon-knobs )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
d68b3b9f76
build(deps-dev): update yeoman-test requirement from ^1.9.1 to ^2.0.0 ( #161 )
...
Updates the requirements on [yeoman-test](https://github.com/yeoman/yeoman-test ) to permit the latest version.
- [Release notes](https://github.com/yeoman/yeoman-test/releases )
- [Commits](https://github.com/yeoman/yeoman-test/compare/v1.9.1...v2.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
ed2c4a6bf1
build(deps-dev): update fs-extra requirement from ^7.0.1 to ^8.0.1 ( #155 )
...
Updates the requirements on [fs-extra](https://github.com/jprichardson/node-fs-extra ) to permit the latest version.
- [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/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
c393bc8247
build(deps): update @vx/responsive requirement from ^0.0.188 to ^0.0.189 ( #160 )
...
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.188...v0.0.189 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
Krist Wongsuphasawat
01dd0f7ce5
v0.11.7
2021-11-26 11:44:50 +08:00
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
Krist Wongsuphasawat
ac241aa599
feat: add dimension type ( #117 )
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
a98cde6b3e
feat: re-export types from @superset-ui/dimension ( #115 )
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
4c49331f3c
v0.10.3
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
349adeda92
docs: update CHANGELOG
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
494f7853c7
docs: update CHANGELOG
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
e5d7e50ee2
feat: add mergeMargin() function ( #114 )
...
* feat: add mergeMargin()
* fix: typings
* refactor: address chris' comments
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
b162aacb90
v0.10.2
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
72772e9ed9
docs: update changelog
2021-11-26 11:44:44 +08:00
fabiomendescom
3c53885aba
feat(superset-ui-connection): Allow PUT and PATCH in call API
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
9454aed59f
feat: 🎸 add .clone() function to ChartMetadata ( #112 )
...
* feat: 🎸 add .clone() function to ChartMetadata
* test: 💍 add unit tests
* fix: 🐛 lint
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
e14d6567a9
v0.10.1
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
ca04f8ce85
refactor: make @superset-ui/core peer dependency ( #111 )
...
* refactor: 💡 make @superset-ui/core peer dependency
BREAKING CHANGE: @superset-ui/core becomes peer dependency
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
3c85cd1ffc
chore: add commitlint and commitizen config
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
df861706e3
docs: update changelog
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
1975277cb0
v0.10.0
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
0cde8a2884
feat: Add SMART_NUMBER formatter and make it default ( #109 )
...
* 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
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
8fe9e2f2cb
refactor: Migrate word cloud to superset-ui-plugins ( #110 )
...
refactor: Migrate word cloud to superset-ui-plugins
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
0332e8d602
Feat: Set default color scheme for the color registries ( #108 )
...
* Set default color scheme for the color registries
* fix: Add unit test
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
0f5e88eb5a
Feat: Enable warnings when values are overwritten in registries ( #107 )
...
* enable warning
* add warning
* fix order
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
11378a4ea5
Fix: update build config version ( #106 )
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
e4cd35a02e
Rename FormData to ChartFormData ( #100 )
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
dd9cf0deb6
Point to @superset-ui/build-config
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
d7f8394cd6
seems not helpfing
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
e2ff5523b7
Update changelog and pin beemo version
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
b175c28df8
v0.9.6
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
b17b350c3a
fix superset-ui-chart peerDependencies
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
86cde58f0f
v0.9.5
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
80290426ec
Remove unnecessary export types and reorganize types ( #99 )
...
* fix re-export types in translation
* Fix more types
* reorganize type in chart package
* Fix unit tests
* remove Array<> in favor of []
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
dba200aa84
Manage dependencies ( #98 )
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
b22f9b941a
update change log and dependency ( #97 )
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
74365f4271
v0.9.4
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
d7da5ff0cb
Merge branch 'kristw--template'
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
6c3a410a0e
make id optional ( #96 )
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
48c881f5c3
update generator and bump build config version
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
9863d8779f
update @data-ui/config to fix build ( #95 )
...
* update @data-ui/config
* update to 39
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
87a78ded84
Add storybooks for number-format and time-format ( #93 )
...
* add number format storybook
* Add explanation
* add time-format storybook
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
447537f5d7
v0.9.3
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
7a922f0527
make lerna use yarn workspaces
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
dc363854e9
specify npm client for lerna
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
55248c10c5
remove unnecessary dependencies
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
34f09f40c8
update change log
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
d16fa5d8b3
make svg ignore pointer events in getTextDimension ( #92 )
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
bd3e7020a1
add scripts to copy assets to dist folders ( #90 )
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
1e1cf146ca
Add WordCloud plugin ( #50 )
...
* 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
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
92f7794a44
Add @superset-ui/dimension ( #88 )
...
* add code for computing text dimension
* update readme
* Add unit tests
* remove dependency
* refactor util function
* add description
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
f389bd2fb5
Add unit test for generator to keep 100% coverage ( #89 )
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
df7a49cfac
Minor updates for generators ( #87 )
...
* update version in package template
* change only first letter to uppercase
* update template
* add language choice
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
fcbd7222cd
update change log
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
0e79c602eb
v0.9.2
2021-11-26 11:44:40 +08:00
Maxime Beauchemin
b12bb31bd0
[SupersetClient] Implement put and delete HTTP methods ( #85 )
...
* feat: Allow any http METHOD
* Add method to RequestConfig
* linting
* fix tests
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
6e8fe718b1
Add more subgenerators to create package and demo in superset-ui-legacy ( #86 )
...
* feat: add new subgenerators for legacy package and demo
* feat: make the default generator provide choices to choose subgenerators
2021-11-26 11:44:40 +08:00
Krist Wongsuphasawat
2ae8d7a74d
v0.9.1
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
f4b7e0dffc
update change log
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
d9252d75d4
fix jed type export ( #83 )
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
59402bbce6
v0.9.0
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
68b97db5d7
Convert time-format to TypeScript ( #78 )
...
* convert source to TS
* fix lint
* convert unit test to TS
* fix rebasing issue
* fix typings
* use ts-ignore
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
18746a9789
make jed work ( #82 )
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
26f12af273
add legacy flag ( #80 )
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
597d9b362d
Convert translation to typescript ( #74 )
...
* Convert translation to typescript
* update input types
* update travis
* update node version
2021-11-26 11:44:39 +08:00
Chris Williams
458d9b9987
[deps] build-config@0.0.37 ( #79 )
...
* [deps] build-config@0.0.37
* [chart] lint SuperChart
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
9a7e3dc7b2
Convert number-format to TypeScript ( #75 )
...
* Convert number-format to TypeScript
* return string
* unit test 100%
* Allow developer to specify return type for loader
* add doc
2021-11-26 11:44:39 +08:00
Christopher Council
56f8af889f
Combined two similarly-named test files, updated release notes ( #76 )
...
* internal: Combined two similarly-named test files
* internal: Update CHANGELOG
2021-11-26 11:44:38 +08:00
Christopher Council
28a1124719
v0.8.0 ( #72 )
2021-11-26 11:44:38 +08:00
Christopher Council
99568b6bc8
Handle BigNumber conversions in JSON properly (without loss of precision) ( #71 )
...
* Handle BigNumber conversions in JSON properly (without loss of precision)
* Rewrap "errors" from JSONbig.parse in proper error object.
* Use DefinitelyTyped's fetch-mock type def
* Improved type def for json-bigint
* Added type casts to some tests due to addition of fetchMock type def
2021-11-26 11:44:38 +08:00
Krist Wongsuphasawat
fded8f1a1c
Migrate @superset-ui/color to TypeScript ( #69 )
...
* Refactor: Convert color to TS
2021-11-26 11:44:38 +08:00
Krist Wongsuphasawat
1d62f764e2
Add SuperChart ( #68 )
...
* 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
2021-11-26 11:44:38 +08:00
Krist Wongsuphasawat
fb6cde64d8
Convert core to TS ( #62 )
...
feat: convert core models to ts
2021-11-26 11:44:38 +08:00
Chris Williams
6c8e40c710
[build] fix typescript builds ( #56 )
...
* [build] fix typescript builds
* [typescript] ensure types pass in build
* [typescript][connection] declare modules in tests
* [typescript][connection] fix ts errors in tests
* [typescript][connection] test/types.ts => types/external.d.ts
* [chart][typescript] add @types/react-loadable
* [chart][components] convert to ts
* [charts][tests][broken] convert to ts
* [chart][typescript] re-write component generics
* [chart][typescript] fix reactify generic, add react-dom types
* [chart][typescript] more iteration
* - Tweaking reactify types (using Readonly types).
- Uncovered an issue in which ReactifyProps and Props can collide on id and className.
- Move @types/react-loadable to dev dependency
- Fixing a lint error
* [chart][deps] add @types/fetch-mock
* [client][typescript] add and export SupersetClientInterface
* [chart][clients] fix ts
* [charts][components] more ts iterations
* [chart][client] assert FormData type
* [chart][deps] try adding newest @types/react
* [chart][components][ts] fix reactify prop TS
* [chart] lint
* [chart][ts] lint #2 , move @types to deps not dev-deps
* [chart][jest] fix tests
* [chart][tests] up branch coverage
* [chart][ts][test] null => undefined
* [chart][tests] hundo
* [chart][tests] update name
* [chart][ts] ChartClient type fixes
2021-11-26 11:44:38 +08:00
Conglei
908f9693f0
Revert "[Chart]Unify Metric format ( #63 )" ( #65 )
...
This reverts commit a97f66689ae51ad2e02101230ca959fa3e429218.
2021-11-26 11:44:38 +08:00
Conglei
9c8c0a9692
[Chart]Unify Metric format ( #63 )
...
* unify the metric format
* fix test
* fix lint
* fix lint
* change per comments in pr
2021-11-26 11:44:38 +08:00
Krist Wongsuphasawat
fcb7ded22a
Add ChartClient (v2) ( #57 )
...
feat: Add ChartClient
2021-11-26 11:44:38 +08:00
Christine Chambers
07ad06f595
Allow metrics arrays in form data ( #61 )
...
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.
2021-11-26 11:44:38 +08:00
Christine Chambers
466084706d
Make connection and color packages peer dependencies ( #59 )
...
* Make connection and color packages peer dependencies
- Also updating the version of the color package in the demo package to be the latest
* Addressing PR comments. Only updating the version of the color package in the demo package
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
19bb506ca1
Convert chart models to TS and export additional modules ( #55 )
...
internal: Convert Chart models to ts
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
d9163364f9
Separate SupersetClient and SupersetClientClass ( #53 )
...
feat: Export `SupersetClientClass`
internal: Increase test coverage.
2021-11-26 11:44:37 +08:00
Chris Williams
3cf863fb58
[bugfix][connection] fix client promise ( #52 )
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
3b54039428
Add reactify ( #51 )
...
feat: Add `reactify` function from `incubator-superset`
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
a4c3e7da3a
Add createLoadableRenderer
( #49 )
...
feat: Add `createLoadableRenderer`
2021-11-26 11:44:37 +08:00
Christine Chambers
0f3bd0cd9c
Moving query module into superset-ui from incubator-superset ( #48 )
...
* 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.
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
ffc52baced
v0.7.2
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
ec83d80973
update changelog
2021-11-26 11:44:37 +08:00
Christine Chambers
084115a7d2
Type promises ( #47 )
...
- type rejectAfterTimeout with generics.
- fixing an import typo in tests.
2021-11-26 11:44:37 +08:00
Krist Wongsuphasawat
5485593fb1
Fix typo in unit test description ( #45 )
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
06ecc4742e
allow leading and trailing space when looking up formatter ( #46 )
...
feat: allow leading and trailing space when looking up formatter
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
0d001900b6
v0.7.1
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
6f7d57721a
Expose factory functions as public API ( #43 )
...
feat: Expose factory functions through API
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
1d3ee733e4
update changelog
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
e18ae6621d
v0.7.0
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
81b82f82c2
update dependency
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
ebf1fe4c89
Merge branch 'master' of github.com:apache-superset/superset-ui
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
a39dcddfe3
update readme
2021-11-26 11:44:36 +08:00
Krist Wongsuphasawat
c3db185c41
Add @superset-ui/time-format ( #38 )
...
feat: Add @superset-ui/time-format
* update unit test (+6 squashed commits)
Squashed commits:
[5fae1ed] fix lint
[7672544] support local and utc
[c33fae7] update unit tests
[97fdc0d] fix all unit tests
[88e8029] add formatter code
[a33c76c] initialize
* update readme
* add formatDate and formatDateVerbose equivalent
* add unit test
* extract constants
* get to 100 coverage
* update readme
* Update preview test
* explicitly disable magic number
2021-11-26 11:44:36 +08:00
Chris Williams
b3444d86df
add Typescript support + convert @superset-ui/connection to Typescript ( #41 )
...
* [typescript] add build support for typescript
* [typescript] working lint and build
* [typescript] refactor SupersetClient to TS
* [typescript][connection] leverage RequestInit types when relevant
* [typescript][connection] callApi.js => callApi.ts
* [typescript][connection] remaining .js => .ts
* [typescript][connection] add and export src/types.ts, refactor things, convert test to .ts and fix
* [typescript] build:ts only in typescript-containing packages
2021-11-26 11:44:35 +08:00
Conglei
4a92a91cb6
changed the default value for buildQuery to null ( #40 )
2021-11-26 11:44:35 +08:00
Chris Williams
b343ca503d
add codecov badge ( #39 )
...
Since it's 100% it seems worthwhile to add ;)
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
307ce86ece
Add overwritePolicy for Registry ( #37 )
...
BREAKING CHANGE: Change Registry constructor API to take object instead of single string name.
feat: Add overwritePolicy for Registry so developer can customize whether overwriting is ALLOW, WARN or PROHIBIT.
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
f6ea69b7b2
Rename D3Formatter
to D3NumberFormatter
( #36 )
...
BREAKING CHANGE: rename D3Formatter to D3NumberFormatter
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
4e39bf7f6e
Rename ColorScheme field 'name' to 'id' ( #35 )
...
BREAKING CHANGE: Rename ColorScheme field 'name' to 'id'
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
1edfdcf1b5
Add @superset-ui/number-format package ( #31 )
...
* feat: Add number-format package
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
af725ce874
Make CategoricalColorScale instance a function and remove .toFunction() ( #33 )
...
* Feat: Use the recently added ExtensibleFunction to make an instance of CategoricalColorScale be a function
* BREAKING CHANGE: Remove categoricalColorScale.toFunction().
* BREAKING CHANGE: The color scale no longer convert input to lowercase before finding color.
* Fix: Also transform input value before setting color.
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
ffcc27270c
fix: npm exclude template files ( #34 )
2021-11-26 11:44:35 +08:00
Krist Wongsuphasawat
a546210bda
fix: generator-superset public access
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
0ab3f094a5
v0.6.0
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
74b91268bc
Update generator-superset package name and change log
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
f639763cc2
Add ExtensibleFunction class ( #32 )
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
f408cb1550
Add RegistryWithDefaultKey class ( #27 )
...
* import main lodash instead of lodash/fp
* add factory and unit test
* more unit test to increase branch coverage
* refactor color
* update unit test and references
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
b2c7e3cade
update devDependencies version ( #29 )
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
058d98b71d
Update issue templates ( #30 )
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
166de54924
Add more unit tests for color package ( #28 )
...
* add more unit tests for color package
* revert file name
* rename
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
86f0007a77
Add generator-superset ( #21 )
...
* add generator to monorepo
* Squash all attempts (+21 squashed commits)
Squashed commits:
[cca27ae] enable jest projects
[e7dc4ce] wip
[dd3ea7a] run in order
[cf87275] define projects
[69baf16] use specific version
[c880cfa] ignore generator test
[e9e0fd3] update travis
[4bbb3c0] update travis
[d63118b] update travis config
[267fe08] remove config
[44883e8] update travis
[40580c3] reduce node version
[59b6add] update ignore rule
[fbbd03c] update readme
[b299dfe] remove script
[a988933] fix test and lint
[95b7d5b] try install and not install
[f4583b4] remove unnecessary files
[c735329] remove eslint-config-xo
[49b3106] pass lint and test
[56c6def] remove git and readd
* can get test to pass if exclude generator-superset
* add afterall to correct working directory
* update config
* add readme
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
b6d7ed2870
add CODEOWNERS ( #26 )
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
4d651c4a31
Update README.md
2021-11-26 11:44:33 +08:00
Chris Williams
010890ae76
[demo] add package + storybook ( #25 )
...
* [demo] add package + storybook
* [demo] add color stories
* [demo] update readme, add gh-pages hooks, remove vx deps
* [demo] remove nesting for color stories
* [gh-pages] run postrelease
* [gh-pages] add link in readme
* [demo] exclude demo package from build script
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
4e0d2c1dae
v0.5.0
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
5bb2fd599c
use simple js to create range ( #24 )
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
ae476317d6
Add @superset-ui/chart with extract modules and additional unit tests ( #23 )
...
* initialize chart package
* add unit tests for metadata and chartprops
* fix lint
* add unit test for ChartPlugin
* update README
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
537b6a53e5
v0.4.0
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
81e2b797a0
update changelog
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
fbdefa7e3c
Update color module ( #22 )
...
* add brand color
* update test
* add unit tests
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
c19a55f04d
Add color package to README
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
3df20eff6e
@superset-ui/color ( #20 )
...
* add initial files
* update references
* fix lint issues
* Define top-level exports
* disable linting for color schemes
* update test
* update travis
* update travis
* revert travis
* install once
* update clear()
* update core index test
* update color index test
* update travis
* try build before test
* update unit tes
* override beemo config
* remove test command
* update ignore path
* use new build config
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
098a0198bc
update travis badge
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
6dc7871f05
v0.3.0
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
efd7f676ed
add core to readme
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
7097a0e89f
Merge pull request #19 from apache-superset/kristw--new-core
...
Add new core modules from incubator-superset
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
b9391d3c6b
add badges
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
cc0411865d
add license
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
a285b55b80
Merge pull request #18 from apache-superset/kristw--rename-core
...
rename core package to connection
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
68c8873370
Merge pull request #17 from apache-superset/kristw--readme
...
Update readme and remove unnecessary items from package.json
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
730d532087
v0.2.1
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
1b6bf6355f
Update README.md
...
Add badges
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
4df2ca0148
Update README.md
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
d4eee73672
Update README.md
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
3594d09191
Merge pull request #16 from apache-superset/kristw--wran
...
Make the translation module less strict and won't crash the app if not configured.
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
267c7c063c
v0.2.0
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
d77f81d0b7
Merge pull request #15 from apache-superset/kristw--translation-num
...
Add tn / translateWithNumber
2021-11-26 11:44:31 +08:00
Chris Williams
282e719bb1
[build-config] move to monorepo root ( #11 )
...
* [build-config] move to monorepo root
* [lint-staged] testing
* [@babel/runtime] move to package level
* [build-config] update travis.yml for root build
* [lint] generate prettier config before linting
* [build-config] ^0.0.24
* [jest] add test:watch script
* [translation] remove package scripts
* [core] set author
* [core] add .eslintrc for root overrides
* [root] fix lint + prettier scripts
* [travis][jest] try --no-cache --debug
* [travis][jest] try running jest directly
* build-config@^0.0.25 to fix jest
* travis and test script to non-debug mode
* [travis] lerna bootstrap instead of installing 2x
* [npmrc] package-lock=false
* [travis] lerna bootstrap in script not install
* [travis] install and run tests per-package
* yarn workspaces are magical
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
fca5c4bf67
Merge pull request #14 from apache-superset/kristw--publishconf
...
update package.json to include publishConfig
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
524ea2df2c
v0.1.0
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
0981b6dc5b
Merge pull request #13 from apache-superset/kristw--translator-lint
...
Fix lint issues in translation module
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
e2c83f92e9
Merge pull request #12 from apache-superset/kristw--translation
...
Add @superset-ui/translation
2021-11-26 11:44:31 +08:00
Chris Williams
e0c71f0188
v0.0.7
2021-11-26 11:44:31 +08:00
Chris Williams
d9cc46fd17
[SupersetClient] include csrfToken passed in configuration in headers ( #10 )
2021-11-26 11:44:31 +08:00
Chris Williams
1f2b4fe765
v0.0.6
2021-11-26 11:44:31 +08:00
Chris Williams
f0b02cdf21
[SupersetClient] allow csrf token to be passed as configuration ( #9 )
...
* [SupersetClient] allow csrf token to be passed as configuration
* [SupersetClient] update readme
* [build-config] ^0.0.20
* [SupersetClient] fix test.
* [build-config] ^0.0.21
* [build-config] ^0.0.22
* [build-config] ^0.0.23
2021-11-26 11:44:31 +08:00
Chris Williams
405dda57ac
v0.0.5
2021-11-26 11:44:31 +08:00
Chris Williams
1bc6e79bb2
[core][client] mirror window.location.protocol format in config ( #8 )
2021-11-26 11:44:30 +08:00
Chris Williams
446914ed0d
v0.0.4
2021-11-26 11:44:30 +08:00
Chris Williams
f5d62e3f33
[core] support empty CSRF
token ( #7 )
...
* [core][deps] remove unused deps
* [core][test] add test for response.ok=false
* [core] support csrf_token=''
* [core][tests] move mock to sole function that uses it
2021-11-26 11:44:30 +08:00
Chris Williams
eabb10de4f
v0.0.3
2021-11-26 11:44:30 +08:00
Chris Williams
fc471d6511
[core] add parseMethod
( #5 )
...
* [core] expose 'parseMethod' in SupersetClient and callApi for text responses
* [parseResponse][test] fix parseMethod test
* [monorepo] gitignore .npmrc
* [core][deps] @data-ui/build-config => ^0.0.14
* [monorepo] tweak npm scripts
* [core] clean up parseResponse
* [core] clean up parseResponse more
* [core] don't fallback to text parsing if response is supposed to be json, allow for null responseParser
* [core][tests] fix borken tests, return promises instead of calling done()
2021-11-26 11:44:30 +08:00
Chris Williams
d821d5c9b2
v0.0.2
2021-11-26 11:44:30 +08:00
Chris Williams
c3b28b8202
[core] add missing babel-runtime dep ( #4 )
2021-11-26 11:44:30 +08:00
Chris Williams
d50f0fdbcf
v0.0.1
2021-11-26 11:44:30 +08:00
Chris Williams
39677afc8a
[monorepo] add travis + codecov ✅ ( #3 )
...
* [monorepo] initial attempt at travis
* [monorepo] coveralls => codecov
* [monorepo] don't lerna bootstrap?
* [monorepo] ignore lock files, add lint:fix script
* [core] add node-fetch dev dep
* [monorepo] tweak codecov call
* [monorepo] tweak codecov call take ii
* [monorepo] codecov again
* [core][deps] build-config@^0.0.11
* [core][jest] add <rootDir> to coveragePathIgnorePatterns paths
* [core][jest] add collectCoverageFrom config
* [core][jest] try adding rootDir to collectCoverageFrom glob
* [core][deps] build-config@0.0.12
* [travis] yolo
* [travis] this is the one
* [travis] install global codecov
* [travis] no quotes in yml
* [travis] no quotes in yml part 2
2021-11-26 11:44:30 +08:00
Chris Williams
c4b946f965
Merge pull request #1 from apache-superset/chris--core-package
...
[SIP-4] add lerna monorepo and`@superset-ui/core` package with `SupersetClient`
2021-11-26 11:44:30 +08:00
Chris Williams
01bcbefac6
it's starting
2021-11-26 11:44:30 +08:00