Commit Graph

379 Commits

Author SHA1 Message Date
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