Commit Graph

591 Commits

Author SHA1 Message Date
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
Jesse Yang
c64335f6f6 chore: publish v0.14.5 2021-11-26 11:46:30 +08:00
erik_ritter
b2f4db4f9b chore: publish v0.14.4 2021-11-26 11:46:30 +08:00
Evan Rusackas
313d9daa94 chore: publish v0.14.3 2021-11-26 11:46:29 +08:00
Lily Kuang
c0bdeb8d92 add opacity and zIndex variables to theme (#632) 2021-11-26 11:46:29 +08:00
Jesse Yang
c8d5401141 chore: publish v0.14.2 2021-11-26 11:46:29 +08:00
Jesse Yang
aade5ef42c feat(legacy-table-chart): add query mode switch (#609) 2021-11-26 11:46:28 +08:00
Jesse Yang
92ac471216 feat(plugin-chart-table): rewrite with react-table (#623) 2021-11-26 11:46:28 +08:00
Maxime Beauchemin
2a28128f55 fix: got one color wrong when copy pasting (#624) 2021-11-26 11:46:28 +08:00
Jesse Yang
05aca62856 chore: publish v0.14.1 2021-11-26 11:46:28 +08:00
Jesse Yang
57c5f950ec build: update package versions in peerDependencies (#622) 2021-11-26 11:46:28 +08:00
Jesse Yang
0e6b3cf4c8 chore: publish v0.14.0 2021-11-26 11:46:28 +08:00
Jesse Yang
261738c12f refactor: rename control-utils to chart-controls (#620) 2021-11-26 11:46:28 +08:00
Jesse Yang
b0858eee95 build: bump @types/react to 16.9.38 (#619) 2021-11-26 11:46:28 +08:00
Krist Wongsuphasawat
dacd58de79 chore: publish v0.13.31 2021-11-26 11:46:27 +08:00
Jesse Yang
6639b24563 refactor(control-utils): reorganize files and refine typing (#610) 2021-11-26 11:46:27 +08:00
Jesse Yang
269a7df3e6 chore: upgrade @types/react (#613) 2021-11-26 11:46:27 +08:00
Evan Rusackas
2ebc9e6940 chore: publish v0.13.30 2021-11-26 11:46:27 +08:00
Maxime Beauchemin
8cc4399815 feat: import theme colors (#601) 2021-11-26 11:46:27 +08:00
Jesse Yang
e5feefe035 build: optimize storybook config (#600)
- Output minimal webpack stats only when in development mode
- Separate type checking and build, so failed typing does not block
  `yarn sb` watch rebuild
- Rearrange addon loading order so knobs can appear as the first tab
2021-11-26 11:46:26 +08:00
Evan Rusackas
20871d60a5 chore: publish v0.13.29 2021-11-26 11:46:26 +08:00
Jesse Yang
64ffc1782e feat(control-utils): better typing for control configs (#595)
* feat(control-utils): better typing for control configs

* Optimize ControlPanelActions

* Add control panel config

* More robust typing for SelectControl

* Support formData, add typing for BigNumber
2021-11-26 11:46:25 +08:00
Maxime Beauchemin
2d317774d6 feat: add color pallettes defined in SIP-34 (#597) 2021-11-26 11:46:25 +08:00
Evan Rusackas
e3fa24eede chore: publish v0.13.28 2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
ac90efaa40 chore(superset-ui-control-uitils): add MetricOption and dependencies to control utils (#593)
* feat: metric option added to control utils

* add test

* Add MetricOptions to superset-ui control utils and fix tests

* add suggestions

* Update packages/superset-ui-control-utils/test/components/InfoTooltipWithTrigger.test.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* remove prop assignments

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:25 +08:00
Evan Rusackas
7953441c1f chore: publish v0.13.27 2021-11-26 11:46:25 +08:00
Jesse Yang
5e3c6a9ee8 style(control-utils): fix type reexport warning in babel (#586) 2021-11-26 11:46:25 +08:00
dependabot-preview[bot]
abc2188419 build(deps): bump @vx/responsive from 0.0.196 to 0.0.197 (#577)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [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.196...v0.0.197)

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:24 +08:00
Ville Brofeldt
9955156265 feat(query): add new fields to QueryContext and QueryObject (#583)
* feat: add new fields to QueryContext and QueryObject

* linting

* remove change to package.json
2021-11-26 11:46:24 +08:00
Krist Wongsuphasawat
d277421124 feat(query): add more query wrappers (#570)
* feat: add more api wrappers

* test: add unit tests
2021-11-26 11:46:24 +08:00
dependabot-preview[bot]
1fd72d53e0 build(deps): bump gh-pages from 2.2.0 to 3.0.0 (#565)
Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/tschaub/gh-pages/releases)
- [Changelog](https://github.com/tschaub/gh-pages/blob/master/changelog.md)
- [Commits](https://github.com/tschaub/gh-pages/compare/v2.2.0...v3.0.0)

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:23 +08:00
Krist Wongsuphasawat
72c2b7afc0 feat(plugin-chart-choropleth-map): add package (#560)
* feat(plugin-chart-choropleth-map): scaffold and load map (#527)

* feat: add package

* feat: storybook working

* feat: load usa and world map

* refactor: clean up

* fix: remove test data

* refactor: utilize dynamic import

* build: remove unused dependencies

* fix: address pr comments

* fix: comment

* feat(plugin-chart-choropleth-map): add more country maps (#529)

* feat(plugin-chart-choropleth-map): add zooming (#528)

* feat: add zooming

* feat: can zoom in and out

* feat: add zoom controls

* refactor: extract controls

* fix: address comments

* feat(plugin-chart-choropleth-map): add encoding (#541)

* feat: add encoder

* feat: add encoding

* docs: add categorical

* fix: any

* docs: update storybook

* feat(plugin-chart-choropleth-map): add tooltip (#548)

* feat: support tooltip

* feat: support tooltip fields

* fix: default projection

* build: bump dependency

* build: update dependency

* build: mark private
2021-11-26 11:46:23 +08:00
Krist Wongsuphasawat
c966fc41a9 chore: publish v0.13.26 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
9a53bdfb68 feat(query): add functions to wrap api calls with typings (#555)
* feat: add function to wrap api calls

* feat: add function to wrap api calls with returned type

* fix: remove deprecated

* fix: rename

* test: add unit test

* test: add unit tests
2021-11-26 11:46:22 +08:00
Jesse Yang
5adb9aaa43 feat(demo): add helpers for resizable chart demo (#557) 2021-11-26 11:46:22 +08:00
Jesse Yang
a39a058919 feat(superset-ui-style): export ThemeProvider and useTheme (#553) 2021-11-26 11:46:22 +08:00
Jesse Yang
be31aa4997 Revert "feat(superset-ui-style): export ThemeProvider and useTheme from emotion-theming"
This reverts commit 2e760e3d5425c903ec33cce94803f5bd9695c675.
2021-11-26 11:46:22 +08:00
Jesse Yang
87f00900ca feat(superset-ui-style): export ThemeProvider and useTheme from emotion-theming 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
b3dbd0ec75 chore: publish v0.13.25 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
0a48d6e774 feat(connection): allow developer to get supersetclient instance (#552) 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
bdb0f50874 feat(chart): adjust chartclient to point to new endpoints (#551)
* feat: adjust to new endpoints

* fix: unit tests

* fix: tests

* fix: unit tests

* fix: remove unused
2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
38c424c09e chore: publish v0.13.24 2021-11-26 11:46:21 +08:00
Krist Wongsuphasawat
f2a053b034 feat(color): support better color interpolation for sequential schemes (#547)
* feat: update functions

* test: add unit tests

* fix: unit tests

* fix: address comments and use piecewise
2021-11-26 11:46:21 +08:00
Evan Rusackas
21ebb5be7a chore: publish v0.13.22 2021-11-26 11:46:21 +08:00
Krist Wongsuphasawat
17075ae021 feat(time-format): improve support for formatting with granularity in mind (#509)
* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
2021-11-26 11:46:20 +08:00
Jesse Yang
4cbc751ed8 chore: publish v0.13.21 2021-11-26 11:46:19 +08:00
Jesse Yang
843ed92d21 chore(legacy-plugin-chart-table): cleanup fromFormData (#521) 2021-11-26 11:46:19 +08:00
Krist Wongsuphasawat
ae6a1bbefb feat(legacy-plugin-chart-event-flow): migrate package (#514) 2021-11-26 11:46:19 +08:00
David Aaron Suddjian
ddc8ac983e chore: publish v0.13.20 2021-11-26 11:46:19 +08:00
Evan Rusackas
b3d6df740d chore: publish v0.13.19 2021-11-26 11:46:19 +08:00
Evan Rusackas
d66daa6578 chore: publish v0.13.18 2021-11-26 11:46:18 +08:00
Evan Rusackas
b6931fbcd6 feat(legacy-preset-big-number): use emotion styling (#455)
* chore(release): publish v0.13.7

* Revert "chore(release): publish v0.13.7"

This reverts commit 3c9ce9ed4c46f9a52fd78bd9b43732803e93c0ac.

* Revert "chore(release): publish v0.13.6"

This reverts commit 0e6e829beba0df62a717601b20fdd790ebf49714.

* feat: poc using style package in big-number

* ThemeProvider decorator

* removing other themeProvider stuff (no longer needed)

* just adding a note to the readme that this stuff works out of the box.

* bumps n deps

* BigNumber using theme bits... in theory

* wordCloud using theme bits

* bumping packages again

* fixing dependencies

* moving style package to peer deps to fix some SUPER annoying errors

* nixing css style, to let Emotion do the talking

* moving wordCloud to style pkg to peerDeps.

* Nixing CSS file, putting all the styles in one place at export

* condensing imports

* nixing extraneous package

* getting emotion stuff out of word cloud for now (that's another PR!)

Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
2021-11-26 11:46:18 +08:00
Evan Rusackas
19b1e65908 chore: publish v0.13.17 2021-11-26 11:46:18 +08:00
Ville Brofeldt
54b0df5421 feat: add control grouping functionality (#485)
* feat: add control grouping functionality

* implement controlGroups on WordCloud

* fix tests

* break up into smaller packages and add unit tests

* fix test

* address comments

* rename controlGroup to queryField

* move import

* fix word cloud test

* fix a few remaining references to control groups

* Rename funcs

* Simplify extractQueryFields

* fix
2021-11-26 11:46:18 +08:00
David Aaron Suddjian
6a50787b38 chore: publish v0.13.16 2021-11-26 11:46:18 +08:00
Jesse Yang
ec3f7edc0e chore: publish v0.13.15 2021-11-26 11:46:17 +08:00
dependabot-preview[bot]
f142bcf836 build(deps-dev): bump ts-loader from 6.2.2 to 7.0.4 (#475)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 6.2.2 to 7.0.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v6.2.2...v7.0.4)

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:17 +08:00
Jesse Yang
7140b116ad fix(time-format): remove week number (#493)
* fix: week number is actually Monday based by default

* Remove week number for weekly time grain

It is confusing and not really useful in most business settings.
2021-11-26 11:46:17 +08:00
Ville Brofeldt
dfb5ac42dd feat(query): remove redundant metric label truncation (#492)
* feat: remove redundant metric label truncation

* fix lint
2021-11-26 11:46:16 +08:00
Jesse Yang
aefd587ee5 chore: publish v0.13.14 2021-11-26 11:46:16 +08:00
Jesse Yang
868ebbe09d feat(time-format): add full-date to weekly time formatter (#486) 2021-11-26 11:46:16 +08:00
Krist Wongsuphasawat
e3528df40c chore: publish v0.13.13 2021-11-26 11:46:16 +08:00
Krist Wongsuphasawat
dfa166ca81 feat(generator-superset): add scaffolder for chart plugin (#456)
* feat: add plugin generator

* feat: add templates

* feat: add templates

* fix: wrong path

* fix: unit test

* fix: coverage

* fix: simplify template
2021-11-26 11:46:16 +08:00
David Aaron Suddjian
caf9a4000e fix(legacy-plugin-chart-nvd3): disable bad linting rule (#488)
* fix(legacy-plugin-chart-nvd3): disable linting rule that conflicts with having actual working code

* cleanup unnecessary eslint-disable
2021-11-26 11:46:15 +08:00
Evan Rusackas
f9104710c5 chore: publish v0.13.12 2021-11-26 11:46:15 +08:00
David Aaron Suddjian
28de28864b feat(control-utils): add shared controls + dependencies, convert to typescript (#459) 2021-11-26 11:46:15 +08:00
Evan Rusackas
75fe384b7b chore: publish v0.13.11 2021-11-26 11:46:15 +08:00
Evan Rusackas
761b1d7b02 feat(style): adding typographic variables to theme (#463) 2021-11-26 11:46:14 +08:00
Jesse Yang
e487ec7274 chore: enforce commit-lint on first commit in branch (#471) 2021-11-26 11:46:14 +08:00
Evan Rusackas
354422dc0f chore(release): publish v0.13.10 2021-11-26 11:46:14 +08:00
Evan Rusackas
6ece03b8f3 chore(release): publish v0.13.9 2021-11-26 11:46:13 +08:00
Phillip Kelley-Dotson
307fb23bd6 feat(control-utils): add infotooltipwithtrigger (#442)
* PR to merge packges for controls migration

* fix: add bootstrap

* fix: change tooltip to tsx

* fix: types

* fix: tsx error

* appease linter, enhance a11y

* addressing PR feedback

* tweaking bootstrap types

* fix test

* test enter key

* moar tests

* code > key

* ugh fine

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
2021-11-26 11:46:13 +08:00
Krist Wongsuphasawat
67e15d011a fix: hundreds lint warning (#447)
* fix: lint

* fix: more lints

* fix: more lints

* fix: comment

* fix: any

* fix: ChartDataProvider test lint

* fix: lints

* fix: chartprops
2021-11-26 11:46:12 +08:00
Evan Rusackas
6d7de01abe chore(release): publish v0.13.8 2021-11-26 11:46:12 +08:00
Evan Rusackas
f75c378935 chore(release): publish v0.13.7 2021-11-26 11:46:12 +08:00
dependabot-preview[bot]
68b16a954b build(deps): bump @vx/responsive from 0.0.195 to 0.0.196 (#436)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.195 to 0.0.196.
- [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.195...v0.0.196)

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:12 +08:00
Krist Wongsuphasawat
e87bf3bc24 chore(release): publish v0.13.6 2021-11-26 11:46:11 +08:00
Ville Brofeldt
4322d1cd39 feat(query): Add force to QueryContext (#445)
* Add force to QueryContext

* fix tests

* fix test
2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
95cd9cc4d5 chore(release): publish v0.13.5 2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
62b2a50faf fix: lint errors (#420)
* fix: lint errors

* fix: lint

* fix: more lints

* fix: broken test

* fix: singleton type
2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
619045048f fix(plugin-chart-word-cloud): make wordcloud take current formdata (#428)
* fix: make wordcloud take current formdata

* docs: fix storybook
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
445a44642c chore(legacy-preset-chart-big-number): rename directory (#427)
* chore: rename directory

* chore: correct naming
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
7cce8f0081 feat(superset-ui): include control utils in the umbrella package (#421) 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
be6789f9aa chore(legacy-plugin-chart-table): rename directory (#422) 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
c45a534e2f chore(release): publish v0.13.4 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
ead6efe5ad chore(release): publish v0.13.3 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
279f5d372d chore(release): publish v0.13.2 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
8e2732d282 chore(release): publish v0.13.1 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
82503cedf3 fix: bump peer dependencies 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
7d746a482c chore(release): publish v0.13.0 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
91d00ac8b1 feat(plugin-word-cloud): change how wordcloud is exported (#418)
* feat(plugin-word-cloud): change how wordcloud is exported

* docs: fix storybook
2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
2be7b4ba0a feat(control-utils): add packages control-utils (#417)
* feat(control-utils): add package

* fix: remove export

* fix: export

* fix: dep version
2021-11-26 11:46:09 +08:00
ʈᵃᵢ
c21ad5cee4 fix: export superset theme props (#391)
* fix: export superset theme props

* add spec
2021-11-26 11:46:08 +08:00
Krist Wongsuphasawat
587e6e1a77 feat(preset-chart-nvd3): migration from plugins repo (#399) 2021-11-26 11:46:08 +08:00
Ville Brofeldt
9aa7b6f5ee chore: bump pretty-ms (#398)
* chore: bump pretty-ms

* fix: unit test

* fix: Add unit test for colonNotation
2021-11-26 11:46:07 +08:00
David Aaron Suddjian
fb4664235b feat(chart): add shared plugin controls utilities (#389)
* add shared controls utilities

* accidentally yarn lock

* bring in date formatting fix

* turn off no-plusplus rule

* address PR feedback, reorganize modules a bit

* turn off no-plusplus

* bring in new external changes

* superset-ui packages should be peer dependencies

* add tests for ported in code
2021-11-26 11:46:07 +08:00
Krist Wongsuphasawat
afed1a0818 feat(preset-chart-xy): migrate from plugins repo (#377)
* chore: move chart-xy and word-cloud

* fix: babel settings

* fix: remove file

* docs: update storybook code

* docs: word cloud storybook working

* chore: move files back

* fix: ts issues

* fix: import path

* fix: all storybook thingy

* fix: add query storybook back

* fix: address comments

* fix: sorting
2021-11-26 11:46:07 +08:00
Jesse Yang
8ab578e121 fix(superset-ui-query): add unit tests for #387 (#390) 2021-11-26 11:46:07 +08:00
Ville Brofeldt
1917d84c7a fix: make all filter operators uppercase (#378)
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
2021-11-26 11:46:07 +08:00
erik_ritter
aa4a8cf6c4 chore(release): publish v0.12.23 2021-11-26 11:46:07 +08:00
Erik Ritter
0cb4e4f9ff fix: unset row_limit when it's not a number (#387)
* fix: unset row_limit when it's not a number

* fix: address comments
2021-11-26 11:46:07 +08:00
erik_ritter
0293228f44 chore(release): publish v0.12.22 2021-11-26 11:46:06 +08:00
Erik Ritter
b711d3eba7 feat: add retry to callApi (#384) 2021-11-26 11:46:06 +08:00
Jesse Yang
9b009e7198 feat(table): enable table filter and better typing (#344) 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
aa2cdcaad5 chore(release): publish v0.12.21 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
8dd02b3633 feat(legacy-plugin-chart-country-map): migrate and replace india map (#376)
* feat(legacy-plugin-chart-country-map): migrate and replace india map with smaller file

* fix: lint

* chore: move files

* docs: update storybook

* docs: wire storybook

* fix: lint
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
81ca3b9801 feat: migrate chart plugins (#375)
* feat(legacy-plugin-chart-rose): migrate package and lint

* feat(legacy-plugin-chart-sankey): migrate

* feat(legacy-plugin-chart-sankey-loop): migrate

* feat(legacy-plugin-chart-sunburst): migrate and lint

* feat(legacy-plugin-chart-treemap): migrate

* feat(legacy-plugin-chart-world-map): migrate

* docs: update storybooks

* feat(legacy-plugin-chart-force-directed): migrate and lint

* feat(legacy-plugin-chart-map-box): migrate and lint

* feat(legacy-plugin-chart-histogram): migrate and lint

* docs: update storybooks
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
1e2039388f chore(release): publish v0.12.20 2021-11-26 11:46:05 +08:00
Krist Wongsuphasawat
aac4b0575e chore(release): publish v0.12.19 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
89c2203704 Merge pull request #368 from apache-superset/kristw--migrate-pivot
feat: migrate 4 chart plugins
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
f2cf0a2a7f feat(style): add style to umbrella package (#366) 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
12bf14b7cd feat: migrate heatmap, horizon, iframe and markup (#367)
* feat: migrate heatmap

* feat: add horizon, iframe and markup
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
d5b51202f7 v0.12.18 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
d36b36ecfc feat: migrate legacy-plugin-chart-chord (#365)
* docs: update storybook

* fix: import

* fix: import

* fix: import
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
b491361b10 v0.12.17 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
1feab468e5 fix: publish settings 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
536b0b8dd1 v0.12.16 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
d71940b325 docs: update readme 2021-11-26 11:45:07 +08:00
David Aaron Suddjian
11dbae71a6 feat: style package for theming and styled components (#362)
* feat: style package for theming and styled components

* fix: addressing PR feedback on style package

* fix: we need badges

* fix: sideEffects false for better tree shaking

* fix: readme title nit
2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
f4eb082df6 v0.12.15 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
aa84115ca4 feat: make time formatter handle number and fix formatters type warnings (#358)
* fix: type warnings for formatters

* docs: add comment

* fix: unit tests

* fix: type

* feat: make time formatter handle timestamp
2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
735e8b2dd6 feat: make CategoricalScale compatible with D3 ScaleOrdinal (#357)
* feat: make categorical scale compatible with d3 scaleOrdinal

* feat: make CategoricalColorScale signature compatible with D3 ScaleOrdinal

* test: add unit test

* feat: use scaleOrdinal in implementation
2021-11-26 11:45:06 +08:00
Krist Wongsuphasawat
e0bbdf9f85 v0.12.14 2021-11-26 11:45:06 +08:00
Evan Rusackas
98848b361a feat: allow toggling of table viz's bar chart backgrounds (#352)
* feat: allow toggling of bar chart backgrounds

* fix: inverting bar-chart-bg hide/show

* fix: keeping metrics right aligned
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
a7583bd92a build(deps): bump core-js from 3.6.4 to 3.6.5 (#354)
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/v3.6.5/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

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:45:06 +08:00
Krist Wongsuphasawat
a8f3923851 feat: add calendar package and storybook (#356)
* feat: add calendar package and storybook

* fix: jest threshold

* build: update codecov

* build: update codecov
2021-11-26 11:45:05 +08:00
Krist Wongsuphasawat
149405e90e v0.12.13 2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
676979edd8 build(deps): bump chalk from 3.0.0 to 4.0.0 (#337)
Bumps [chalk](https://github.com/chalk/chalk) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0)

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:45:05 +08:00
dependabot-preview[bot]
186b4be33c build(deps): bump @types/storybook__react from 4.0.2 to 5.2.1 (#276)
Bumps [@types/storybook__react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__react) from 4.0.2 to 5.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__react)

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:45:04 +08:00
Jesse Yang
8e8d1f799d fix: new line at end 2021-11-26 11:45:04 +08:00
Jianchao Yang
23f52286cd build: try to merge superset-ui-plugins (#333) 2021-11-26 11:45:04 +08:00
Krist Wongsuphasawat
6ffcfec6e7 feat: add validator to umbrella package (#327) 2021-11-26 11:45:04 +08:00
Jesse Yang
4d0d05f71f Revert "build: try to merge superset-ui-plugins"
This reverts commit 823126633ea0743254f78b0a74fe83c68ee6438f.
2021-11-26 11:45:03 +08:00
Jesse Yang
1238e78e2d build: try to merge superset-ui-plugins 2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
d32465db7e v0.12.12 2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
dbc98609a5 feat: add validator package (#322)
* feat: add validator package

* test: add unit tests

* feat: add legacy function

* fix: rename
2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
aa9d262fba build(deps): bump pretty-ms from 5.1.0 to 6.0.1 (#304)
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 5.1.0 to 6.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v5.1.0...v6.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:45:03 +08:00
dependabot-preview[bot]
14013c381c build(deps): bump @vx/responsive from 0.0.194 to 0.0.195 (#297)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.194 to 0.0.195.
- [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.194...v0.0.195)

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:45:02 +08:00
Krist Wongsuphasawat
b14de72218 v0.12.11 2021-11-26 11:45:02 +08:00
Erik Ritter
eef4699807 fix: small rendering for no results message (#309) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
3342bfdd56 v0.12.10 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
5966ff10be feat: add more support for undefined format to number and time formatters (#308)
* feat: add more support for undefined format

* test: add unit tests

* fix: handle empty string
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
64dca92eb2 v0.12.9 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
83a1901a35 feat: make formatTime and formatNumber handle undefined format (#307) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
94d8280482 v0.12.8 2021-11-26 11:45:02 +08:00
Erik Ritter
06d7ad571a feat: add NoResultsComponent to charts (#305) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
517020abf5 build: fix demo build (#298)
* build: fix demo build

* fix: version

* build: add yarn.lock

* fix: clean up webpack config
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
aa7ddd2e93 build(deps): bump @vx/responsive from 0.0.193 to 0.0.194 (#296)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.193 to 0.0.194.
- [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.193...v0.0.194)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
18db591367 build: remove babel transform runtime (#291)
* build: remove babel transform runtime

* build: remove corejs config

* build: update nimbus target
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
5ddff8b6d8 build(deps): bump @vx/responsive from 0.0.192 to 0.0.193 (#288)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193.
- [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.192...v0.0.193)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
6ae05114ca build: fix lints (#289)
* build: remove no-test-callback override

* fix: no-callback auto-fix

* fix: lint issues import/extension
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
97f18e686b build: migrate build tool to nimbus (#281)
* build: migrate to nimbus

* build: update gitignore

* build: update package.json

* build: update travis config

* build: lower engine requirements

* build: adjust typescript config

* fix: errors

* fix: change yarn run to yarn

* fix: lint

(cherry picked from commit 22328c349c9b987eecc5e46fb306e459b6a9cadc)

* fix: eslint rules

* fix: lint

* fix: setup file

* fix: more lint

* fix: lint - pass build and lint

* fix: test setup and babel transform runtime

(cherry picked from commit dd55fd88ced045a8f83ca771705721bf2f930ff0)

* fix: timeout issues

* fix: some broken test due to jest.setTimeout

* fix: computeMaxFontSize tests

* fix: createLoadableRenderer test

* fix: loadble and broken tests due to warnings

* fix: test coverage

* fix: coverage of generator tests

* fix: all unit tests pass

* fix: remove yeutech-lab/react-loadable
2021-11-26 11:45:00 +08:00
Ville Brofeldt
00ede940dc docs(number-format): add durationFormatter example README (#266)
* docs: add durationFormatter example to number-format README.md

* docs: refactor example to use registry
2021-11-26 11:45:00 +08:00
Ville Brofeldt
7212d1240b feat(number-format): bump pretty-ms to 5.1.0 (#262) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
2d91764c60 v0.12.7 2021-11-26 11:45:00 +08:00
Chris Williams
d6a46c1265 fix(dimension): set 0 width/height in createHiddenSvgNode (#261) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
09442bbfe0 v0.12.6 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
62e801fd07 fix: typing issues surfaced by typescript 3.7 (#260) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
28acf608c8 v0.12.5 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
4274520781 feat: add @superset-ui/superset-ui package as one-stop install (#255) 2021-11-26 11:45:00 +08:00
dependabot-preview[bot]
934d6a7031 build(deps): bump @types/lodash from 4.14.147 to 4.14.149 (#259)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.147 to 4.14.149.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +08:00