Commit Graph

4263 Commits

Author SHA1 Message Date
Kamil Gabryjelski
35f4c33245
fix(native-filters): apply default value correctly when it's set (#17982) 2022-01-10 17:32:31 +01:00
Evan Rusackas
c0a769581f
chore: bump typescript to 4.5.4, and adjust storybook story. (#17971)
* chore: bump typescript to 4.5.4, and adjust storybook story to pass linting

* ugh... missed a space. Thanks, linter :)

* nixing erroneous package lock file
2022-01-09 21:01:59 -07:00
Evan Rusackas
fecb6d91c0
chore: fixing annoying warning about escaping in Emotion styling (#17972)
* chore: fixing annoying warning about escaping in Emotion styling

* linting 
2022-01-09 08:44:17 -07:00
Yongjie Zhao
cb97e37a92
refactor: import value name from root of superset-ui/core (#17947)
* chart

* index and number-format

* char-composition and color

* connection

* dimension and math-expression

* models

* query

* time-format

* residual modules

* change config of jest and eslint

config

* wip

update package.json

* fix lint

* WithLegend import from superset-ui/core
2022-01-08 09:16:24 +08:00
Phillip Kelley-Dotson
765c72a858
fix: update slug name (#17961)
* fix: fix update slug name

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-01-07 11:37:12 -08:00
dependabot[bot]
5bf9634c29
chore(deps): bump @storybook/addon-actions in /superset-frontend (#17904)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.3.12 to 6.4.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.9/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 11:54:13 -07:00
Michael S. Molina
647bbf1ea1
chore: Moves spec files to the src folder - iteration 10 (#17902)
* chore: Moves spec files to the src folder - iteration 10

* Fixes test

* Fixes lint problem

* Uses styledMount in test
2022-01-07 15:24:15 -03:00
Michael S. Molina
bb7e979142
chore: Moves spec files to the src folder - iteration 9 (#17901) 2022-01-07 15:23:57 -03:00
Evan Rusackas
2098898b31
chore: Adding more viz category mappings for viz picker (#17956)
* Tagging two Bar charts

* tagging two more nvd3 bar charts
2022-01-07 08:12:33 -07:00
Stephen Liu
2ae29c9281
fix(Select): options will be overwritten due to seState (#17951) 2022-01-07 08:09:25 -07:00
Michael S. Molina
e6ef7da758
chore: Moves spec files to the src folder - iteration 8 (#17899)
* chore: Moves spec files to the src folder - iteration 8

* Fixes tests
2022-01-07 09:25:45 -03:00
Michael S. Molina
aa91662ec8
chore: Moves the Menu to views/components folder (#17897)
* chore: Moves the Menu to views/components folder

* Fixes imports
2022-01-07 09:25:31 -03:00
Michael S. Molina
53d8d383cc
chore: Moves the hooks folder to the src folder (#17896) 2022-01-07 09:25:06 -03:00
dependabot[bot]
3b5cee4d99
chore(deps): bump urijs from 1.19.6 to 1.19.7 in /superset-frontend (#17962)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.6 to 1.19.7.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.6...v1.19.7)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 10:11:10 +02:00
Erik Ritter
79b6dc251e
fix: package.json local file dependencies (#17957) 2022-01-07 13:44:27 +08:00
Hugh A. Miles II
9e69940171
feat: Update query states to use spinner vs. progress bar (#17804)
* lit

* remove reference for progress bar

* update to loading

* update switch out spinner for loading when progress hits 100

* update test
2022-01-05 10:43:42 -08:00
Yongjie Zhao
ceecc7047b
chore: remove unused eslintrc (#17860)
* chore: remove unused eslintrc

* remove unused lint

* add comments

* change comments
2022-01-05 19:31:12 +08:00
Yongjie Zhao
97a78d3301
refactor(storybok): upgrade to webpack5 in storybook of plugins (#17909)
* refactor: use webpack5 in plugins storybook

* remove ./src from packages.json
2022-01-05 10:39:33 +08:00
David Aaron Suddjian
de3d3973a2
fix: process color scheme configs correctly (#17786) 2022-01-04 15:27:10 -08:00
Yongjie Zhao
eff4d387de
fix(cypress): flake cypress test case (#17918) 2022-01-04 16:56:13 -03:00
Stephen Liu
07998fea68
fix(explore): simple tab content input problem (#17872) 2022-01-03 12:41:19 +08:00
Yongjie Zhao
52f5dcb58e
fix(deckgl): deckgl unable to load map (#17851)
* fix(deckgl): deckgl unable to load map

* add react-map-gl in peerDependencies
2021-12-23 13:32:30 +08:00
Beto Dealmeida
9baeafec93
feat: configure force_screenshot (#17855)
* Update existing tests

* Add backend test

* feat: add force option to report screenshots

* Add tests

* Rebase fixes

* Do not force screenshot on dashboard alerts

* feat: bypass cache on screenshots for alerts

* Update existing tests

* Add tests

* feat: configure force_screenshot
2021-12-22 13:46:00 -08:00
Beto Dealmeida
2cd8054358
feat: add force option to report screenshots (#17853)
* Update existing tests

* Add backend test

* feat: add force option to report screenshots

* Add tests

* Rebase fixes

* Do not force screenshot on dashboard alerts
2021-12-22 12:16:04 -08:00
Lyndsi Kay Williams
d2ed1b72dc
chore: Help user to find the input fields in the dataset editor (#17824)
* Updated fields in Metrics and Calculated Columns tabs inside dataset editor, deleted label in expanded Metrics tab

* Fix tests

* Vertically aligned rows in columns tab
2021-12-22 12:21:37 -06:00
Beto Dealmeida
b7707e8ff7
feat: bypass cache on screenshots for alerts (#17695)
* feat: bypass cache on screenshots for alerts

* Update existing tests

* Add backend test

* Add frontend test
2021-12-22 08:26:38 -08:00
Yongjie Zhao
9840fbf49b
refactor(monorepo): update plugin dependencies (#17837)
* refactor(monorepo): use local dependencies in packages.json

* add prettier ignore

* update commit message

* fix release workflow

* refine release script
2021-12-22 16:26:12 +08:00
Stephen Liu
ec48dd5c40
fix(dashboard): update native filter info in metadata is not updated (#17842) 2021-12-22 08:47:27 +02:00
Phillip Kelley-Dotson
cfd851aa13
fix: replace datamask with key from new key value api (#17680)
* afirst stage to ccheck to get initial datamask

* clean up code and update typescript

* remove consoles

* fix ts and update copy dashboard url

* use key when one doesn't exists

* lint clean up

* fix errors

* add suggested changes

* remove line

* add tests and add changes for copydashboard

* fix lint

* fix lint

* fix lint

* Update superset-frontend/src/dashboard/components/Header/index.jsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* add timeout

* fix test

* fix test, add qs to cypress and add suggestions

* add suggestions

* fix lint

* more suggested changes for backwards comapat

* fix lint

* cleanup naming and add qs parse to tests

* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* more changes and fix lint

* remove nativefiler param

* fix path

* remove con

* simplify logic

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-12-21 09:08:48 -08:00
Kamil Gabryjelski
2c3f39f3f2
feat(plugin-chart-pivot-table): support series limit (#17803)
* feat(plugin-chart-pivot-table): support series limit

* Add a migration

* Use non-legacy series limit controls

* Add a todo comment

* Bug fix
2021-12-21 16:58:54 +01:00
Ville Brofeldt
19daf65b54
chore(generator-superset): migrate to monorepo (#17829)
* chore(generator-superset): migrate to monorepo

* add todo and remove webpack reference from template

* fix linting errors

* remove redundant test file
2021-12-21 11:44:21 +02:00
Stephen Liu
d5768ab649
fix(explore): make SORT-Descending visible if Sort-by has value (#17726) 2021-12-21 15:27:21 +08:00
Erik Ritter
5b0aa27f2b
feat: Persist SQL Lab autocomplete setting across tabs and visits (#17708) 2021-12-20 15:53:48 -08:00
Erik Ritter
6edc183c5f
chore: Refactor localstorage into typesafe version (#17832) 2021-12-20 13:58:59 -08:00
Yongjie Zhao
0a33fcf318
chore: add lerna version (#17828) 2021-12-20 23:06:51 +08:00
Yongjie Zhao
8fe2f5ffff
refactor(monorepo): migrate plugins release workflow (#17827) 2021-12-20 21:58:10 +08:00
Holger Bruch
61a6aa0f97
Map schemes json to SequentialScheme (#17813) 2021-12-20 09:38:24 +02:00
Srini Kadamati
53e2fa6f57
chore: updated screenshots in README.md and added recent events (#17650)
* chore: updated screenshots in readme.md and added recent events

* chore: updated pinot superset connection instructions

* fixed outdated slack link

* addressed all outstanding feedback!

* updated package lock

* reverted package.json to master

* Update README.md

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

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-17 11:43:46 -05:00
Kamil Gabryjelski
a2d8b94c52
chore(plugin-chart-table): move adhoc filters control closer to the metrics (#17797) 2021-12-17 14:39:09 +01:00
Kamil Gabryjelski
b5dca4ebfe
chore(plugin-chart-pivot-table): swap order of Columns and Rows controls (#17798) 2021-12-17 14:32:49 +01:00
Kamil Gabryjelski
9c9edbe8bc
chore(plugin-chart-pivot-table): migrate react-pivottable into superset codebase (#17769)
* chore(plugin-chart-pivot-table): migrate react-pivottable into superset codebase

* Fix lint errors

* Use named export

* Clean up the code
2021-12-17 12:00:32 +01:00
Grace Guo
c5af7a48df
fix: [alert] allow decimal for alert threshold value (#17751)
* fix: [alert] add tooltip message for alert threshold value

* support decimal value for alert condition threshold

* add integration test
2021-12-16 22:51:23 -08:00
Ville Brofeldt
961766e833
fix(filter-sets): 404 on dashboard load (#17777) 2021-12-16 11:27:46 +02:00
Kamil Gabryjelski
82b47cacba
fix(plugin-chart-table): sort alphanumeric columns case insensitive (#17765) 2021-12-15 11:48:25 -07:00
Geido
274fb37a91
fix: Remove positions from json_metadata (#17766)
* Remove positions from json_metadata

* Update superset-frontend/src/dashboard/components/PropertiesModal/index.tsx

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* Indent

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-12-15 11:32:31 -07:00
Ville Brofeldt
6d97e89ad1
chore: bump react-resize-detector (#17764) 2021-12-15 17:14:54 +02:00
Kamil Gabryjelski
124af4c566
chore(explore): Migrate BigNumber to v1 api [ID-28][ID-55] (#17587)
* chore(explore): Migrate BigNumber to v1 api

* Move to echarts

* Use Echarts trendline

* Fix imports

* Fix parsing dates as strings

* Add from_dttm and to_dttm to v1 chart response

* Fix post processing

* Fix timeRangeFixed

* Fix tests

* Remove from and to dttm from cache

* Cleanup date formatting

* Fix storybook

* Fix missing types

* Fix timestamp with timezone

* Add types to demo's tsconfig

* bug fix

* fix import

* Fix cypress tests

* add sort

* add resample to handle missing values properly

* Sync ChartDataResponseResult schema with ts interface

* Lint fix

* Add migration

* Fix migration

* Remove pass

* Re-raise the exception in migration

* Typo fix

* Update revision

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-12-15 10:15:14 +01:00
Stephen Liu
142b5bc506
fix: local warning in the frontend development (#17727) 2021-12-15 09:52:42 +02:00
Beto Dealmeida
2a6e5e5e5c
fix: import DB errors (#17748) 2021-12-14 18:32:57 -08:00
Beto Dealmeida
63d9693f21
feat: add main datetime column to dataset editor (#17739)
* feat: add main dttm col to dataset editor

* Add tests
2021-12-14 14:47:08 -08:00