Commit Graph

451 Commits

Author SHA1 Message Date
Jesse Yang
5a91f0a043 chore: publish v0.15.2 2021-11-26 11:46:40 +08:00
Jesse Yang
6ac6880fd9 feat: make GET request work for fetchExploreJson, closes #668 (#777) 2021-11-26 11:46:39 +08:00
Jesse Yang
4a3e11c47c chore: publish v0.15.1 2021-11-26 11:46:39 +08:00
Jesse Yang
1862341226 refactor: convert legacy-plugin-chart-event-flow to typescript (#771)
* refactor: convert legacy-plugin-chart-event-flow to typescript

* retype TimeseriesDataRecord in ECharts
2021-11-26 11:46:39 +08:00
Jesse Yang
047ad3c0c5 chore: compress thumbnail images with pngquant (#770) 2021-11-26 11:46:39 +08:00
Jesse Yang
9cc96b96f4 chore: move @types/react to peerDependencies (#774)
* chore: move @types/react to peerDependencies

* chore: move react-bootstrap and react-loadable to peerDependencies, too
2021-11-26 11:46:39 +08:00
Jesse Yang
44a8dbfc1b chore: url prop for MetricOption should be optional (#775) 2021-11-26 11:46:39 +08:00
Jesse Yang
1856dce5d7 chore: publish v0.15.0 2021-11-26 11:46:38 +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
David Aaron Suddjian
9907d13063 fix(style): throw if there is no theme (#761)
* fix(style): throw if there is no theme

* tests

* factor out SupersetTheme type

* fix test
2021-11-26 11:46:38 +08:00
Ville Brofeldt
13831d8de9 chore: publish v0.14.23 2021-11-26 11:46:38 +08:00
Ville Brofeldt
e916fd9015 feat: Add ECharts Timeseries plugin (#737)
* make it work

* Add color scheme and timeseries limits

* latest improvements

* bump

* moving dependencies to plugin

* Shuffling logic to transformProps, making Typescript happy.

* zoom controls!

* declaration for the dang PNG files

* Revert "declaration for the dang PNG files"

This reverts commit b37f01076e36ba2b05424f861187a182f4d327d6.

* PIE! (super basic)

* lowercase import name, moving types.

* capitalization fix

* nixing console log

* removing echarts peer dependency (missed it earlier)

* basic pie controls/types

* typescript fixes and whatnot

* yarn alphabetizing peerDependencies

* fixing Pie chart typing

* less enthusiasm

* fixing resize and data redraw quirks

* fixing zoom display quirks

* add predictive analytics

* fix controls

* improve typing and tests

* add rebasing to forecasts

* improve stacking etc

* Minor improvements

* add tooltip

* Charts draw and resize correctly

* clean up code

* lint

* yet more lint

* fix unit tests

* fix unit tests

* fix tests

* add useEchartsComponent and address comments

* address comments

* address more comments

* Add Echart component

* bump echarts to 4.9.0

* clean up Echart component

* add storybook

* replace radios with boolean

* address review comments

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:37 +08:00
Ville Brofeldt
9f1aafa628 feat(color): add official ECharts color schemes (#751)
* feat(color): add echarts colors

* rename categorical schemes
2021-11-26 11:46:37 +08:00
Jesse Yang
46ea73953b chore: clean up a couple of TypeScript warnings (#754) 2021-11-26 11:46:37 +08:00
Evan Rusackas
6ad0117a59 chore: silencing console errors by making things optional (#752) 2021-11-26 11:46:37 +08:00
erik_ritter
5e8f67ff5d chore: publish v0.14.22 2021-11-26 11:46:37 +08:00
Erik Ritter
3fa767582c feat: add certification icon to metrics (#748) 2021-11-26 11:46:37 +08:00
Grace Guo
149c175617 chore: remove iframe and markup viz type support (#746) 2021-11-26 11:46:37 +08:00
Ville Brofeldt
5dd6e66fff chore: publish v0.14.21 2021-11-26 11:46:36 +08:00
Evan Rusackas
86eedab4d0 feat: logger supports console.table, with console.log fallback (#738)
* feat: logger.table

* applying Jesse's feedback

* missed a method
2021-11-26 11:46:36 +08:00
Jesse Yang
971eb03f0e chore: publish v0.14.20 2021-11-26 11:46:36 +08:00
Jesse Yang
6def6b4c0b feat: properly translate the table chart (#724) 2021-11-26 11:46:36 +08:00
Evan Rusackas
4e5f69b24f feat: style pkg exports emotion's css module (#718) 2021-11-26 11:46:35 +08:00
erik_ritter
e82f2fbadb chore: publish v0.14.19 2021-11-26 11:46:35 +08:00
Erik Ritter
c24428643d fix: add timeout value to error details in rejectAfterTimeout (#715)
* fix: add timeout value to error details in rejectAfterTimeout

* Update callApiAndParseWithTimeout.test.ts
2021-11-26 11:46:35 +08:00
Ville Brofeldt
bd83ba48a6 chore: publish v0.14.18 2021-11-26 11:46:35 +08:00
Jesse Yang
da59465122 chore: publish v0.14.16 2021-11-26 11:46:35 +08:00
Ville Brofeldt
cc73ad9930 chore: publish v0.14.15 2021-11-26 11:46:34 +08:00
Ville Brofeldt
0e16cbbeb9 fix(query): equals operator, duplicate filters and time range endpoints (#700)
* fix(query): correct equals operator and duplicate filters

* add time range endpoints
2021-11-26 11:46:34 +08:00
Ville Brofeldt
018da38dab chore: publish v0.14.14 2021-11-26 11:46:34 +08:00
Ville Brofeldt
67a0543bff chore: publish v0.14.13 2021-11-26 11:46:34 +08:00
Ville Brofeldt
3607532640 chore: publish v0.14.12 2021-11-26 11:46:33 +08:00
Ville Brofeldt
ea729831c3 fix: implement extra filter logic (#688)
* fix: implement extra filter logic

* fix bugs and add tests

* remove redundant changes

* improve types

* fix coverage

* improve codevov
2021-11-26 11:46:33 +08:00
Jesse Yang
a62559ea54 chore: publish v0.14.11 2021-11-26 11:46:33 +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
Phillip Kelley-Dotson
4b6aa112ba feat(legacy-time-table): add time table to storybook (#680)
* add chart info and update package

* add data

* add more data?

* remove consoles

* remove console
2021-11-26 11:46:33 +08:00
dependabot-preview[bot]
5ff6c30ff1 build(deps): bump fetch-retry from 3.1.0 to 4.0.1 (#664)
Bumps [fetch-retry](https://github.com/jonbern/fetch-retry) from 3.1.0 to 4.0.1.
- [Release notes](https://github.com/jonbern/fetch-retry/releases)
- [Commits](https://github.com/jonbern/fetch-retry/compare/3.1.0...4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:33 +08:00
dependabot-preview[bot]
6f420792bb build(deps-dev): bump fork-ts-checker-webpack-plugin from 4.1.6 to 5.0.7 (#671)
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 4.1.6 to 5.0.7.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v4.1.6...v5.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:33 +08:00
Evan Rusackas
2fd0caa201 chore: publish v0.14.10 2021-11-26 11:46:32 +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
09a585835a chore: publish v0.14.9 2021-11-26 11:46:32 +08:00
Jesse Yang
18dfdd2a5a feat(query): add makeApi API generator (#666) 2021-11-26 11:46:32 +08:00
Jesse Yang
ba8c619c2e feat(connection): optimize typing and API for SupersetClient (#635) 2021-11-26 11:46:31 +08:00
Jesse Yang
ddd9fb46c7 feat(connection): easier API for json payload (#634) 2021-11-26 11:46:31 +08:00
Jesse Yang
e86319f065 chore: publish v0.14.8 2021-11-26 11:46:31 +08:00
Jesse Yang
0e1ea1217c fix(plugin-chart-table): formatting non-numeric metrics (#663) 2021-11-26 11:46:31 +08:00
Evan Rusackas
f96e617e3e chore: publish v0.14.7 2021-11-26 11:46:31 +08:00
Evan Rusackas
fb69984857 feat: updated viz plugin generator (#636)
* feat: hello world plugin

* Fix yeoman generator

* Adding Emotion to template and template result

* adding `reactify` technique to example code

* fixing errant comma

* annoying lint issue

* React needed for JSX

* questionable typing fix

* labelling options

* freshly generated hello world

* linting and freshly generated plugin

* add comments to buildQuery

* Add docs

* nixing word cloud console logs

* lint annoyance

* a note on multiple plugin exports

* second option for building a plugin is now enabled

* Officially supporting viz plugins ;)

* fresh plugin build

* Adding note about controls,  and TODOs for example controls

* linting

* new lock file

* adding file structure to readme

* more transform props notes

* better notes, better linting

* Adding a third option for rendering plugin

* fresh package rendering

* manually updated plugin. Now let's see if the generator matches it!

* template changes, fresh plugin render.

* moving file tree to the right place

* touchups to template (killing third option)

* thumbnail update

* Spit out form data, for good measure.

* more clarity

* dummy controls

* bold control works, fresh docs, fresh build!

* typing for fancy props

* bump superset-ui deps to 0.14

* Implement header text and font size

* Add tests + mcense headers + inor cleanup

* Replace YourPluginName with packageLabel in README

* remove trailing spaces

* fix hard coded reference to HelloWorld

* removing legacy generators

* plugin comment tweaks

* typescript comments, minor formatting

* adding option for badges in readme

* generator offers choice of function or class plugin

* Add timeseries option

* killing the plugin... we'll make that a separate PR.

* add new tests

* remove unnecessary imports

* fix timeseries type

* comment on value/label in select options

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>

* moving renderTrigger note up to first instance

* control-utils -> chart-controls

* Wrapper -> Styles nomenclature

* Stronger typing (H/T @ktmud)

* ControlPanelConfig type on control config

* nixing requiresTime

* moving Styles component to be external, passing it props

* lint nits

* typing tweak

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:31 +08:00
Jesse Yang
a540cc283c chore: publish v0.14.6 2021-11-26 11:46:31 +08:00
Jesse Yang
771cf48c6b fix(plugin-chart-table): anchor should keep href (#661) 2021-11-26 11:46:30 +08:00