Commit Graph

4203 Commits

Author SHA1 Message Date
Geido
aad2abe7f0
Fix undefined error (#17692) 2021-12-08 13:30:41 -07:00
Geido
46cdc77ae6
fix: Redirect on 401 (#17597)
* Redirect on 401

* Bump FAB

* Format

* Update Cypress save test

* Revert Cypress change

* Bump FAB 3.4.1rc2

* Update test

* Update return statement

* Update api test

* Update datasets api test

* Update datasets api 401s to 403s

* Add typeguard

* Use Promise.resolve

* Update callApiAndParseWithhTimeout test

* Disable parseResponse test

* Try catch

* Handle npm 8 issues
2021-12-08 13:14:30 -07:00
Ville Brofeldt
c4b04952d0
feat: customize recent activity access (#17589)
* feat: customize recent activity access

* address comments

* fix and add tests

* add alert assertion and UPDATING.md entry

* replace .get_id() with .id

* fix updating comment

* update config name
2021-12-08 11:30:23 +02:00
Kamil Gabryjelski
e660ea2533
fix(legacy-plugin-chart-calendar): fix timestamp timezone in Calendar (#17664)
* fix(legacy-plugin-chart-calendar): fix timestamp timezone in Calendar

* Fix prop type
2021-12-07 14:29:12 +01:00
Yongjie Zhao
4306289bfc
refactor(monorepo): frontend code cleanup after monorepo (#17639)
* chore: frontend cleanup

* remove unused files

* remove stylelint

* arrange tsconfig

* updates
2021-12-04 10:55:04 +08:00
Lyndsi Kay Williams
05752e3fe8
fix(sqllab): Floating numbers not sorting correctly in result column (#17573)
* Floating nums now sorting correctly with parseFloatingNums function

* Floating numbers AND strings now sorting correctly, +locale comparison

* Added NULL handling back to sort function

* Moved parseFloatingNums outside of sortResults

* Removed localeCompare and added testing

* Add equality check back to sort function

* Added floatValue nit
2021-12-03 16:31:46 -08:00
Kamil Gabryjelski
07e8837093
feat(explore): export csv data pivoted for Pivot Table [ID-9] (#17512)
* feat(explore): export csv data pivoted for Pivot Table

* Implement dropdown with download csv options

* Change label to "Original"

* Add tests

* Add form data to query context

* Add form data to query context generator

* Explicitly make form_data optional
2021-12-03 12:42:28 +01:00
Jesse Yang
73e7928c4b
chore(superset-ui): clean up legacy-plugin-chart-time-table (#17626) 2021-12-02 17:14:10 -08:00
Stephen Liu
b5d13d72f2
fix(dataset): modal sql editor error (#17612)
* fix(dataset): model sql editor

* add tests
2021-12-02 13:02:19 -07:00
Kamil Gabryjelski
e8ce8733f7
chore(plugin-chart-pivot-table): Add more descriptive tooltips for sorting [ID-29] (#17634)
* chore(plugin-chart-pivot-table): Add more descriptive tooltips for sorting

* Update superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx

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

* Update superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx

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

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-02 12:53:14 -07:00
Hugh A. Miles II
d9e9c3a3de
refactor: Add AutoSizer to react-virtualized Grid (#17606)
* remove styles from renderCell

* remove styling on grid
2021-12-02 12:47:47 -05:00
Stephen Liu
a3cce5705d
feat(explore): support show annotation label [ID-8] (#17307)
* feat(explore): support always show annotation label

* fix: lint

* fix: lint

* Hopefully appeasing the linter

* fix: lint

* Update superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>

* change to allow none

* lint

Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2021-12-02 00:26:32 -07:00
Stephen Liu
72f3215ffc
feat(legacy-preset-chart-nvd3): add richtooltip in nvd3 bar chart (#17615)
* feat(legacy-preset-chart-nvd3): add richtooltip in nvd3 bar chart

* add richtooltip in nvd3 bar chart
2021-12-02 00:23:31 -07:00
Matt Houston
54b56fe12f
feat: Add single select and inverse selection to numeric range (#16722) (#17372)
* feat: add single select and inverse selection to numeric range (#16722)

* Ignore invalid eslint errors regarding conditionally called hooks.

* Add license header to new file.

* Flipped the numerical range values for the minimum slider so that the highlighted range value accurately reflects the applied filter.

* Resolved linting errors

* Remove unnecessary important flag from css
2021-12-01 15:28:11 -08:00
Evan Rusackas
f949c8ed7a
chore: bumping polished package (#17575)
* chore: bumping `polished` package

* New package lock after rebase
2021-12-01 14:15:25 -07:00
Geido
8963cca265
Revert "fix(Dashboard): Only apply changes when editing properties (#17392)" (#17618)
This reverts commit 0712be4c12.
2021-12-01 11:35:55 -07:00
Daman Arora
c6ba9bf9db
chore: migrate EstimateQueryCostButton component from jsx to tsx (#17603)
* migrate EstimateQueryCostButton component from jsx to tsx

* re-format spaces using prettier

* Update superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>

* remove extra onClick and make disabled prop optional

* restore & rename event handler onClick to onClickHandler

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
2021-12-01 09:28:52 -08:00
Evan Rusackas
c70ac1cfe6
chore: auditing cupress-base dependencies (#17577) 2021-11-30 17:32:07 -07:00
dependabot[bot]
55d2bead90
chore(deps-dev): bump @types/jquery in /superset-frontend (#17533)
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) from 3.5.8 to 3.5.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery)

---
updated-dependencies:
- dependency-name: "@types/jquery"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 17:31:21 -07:00
dependabot[bot]
08f28c8006
chore(deps-dev): bump @types/enzyme in /superset-frontend (#17534)
Bumps [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme) from 3.10.5 to 3.10.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme)

---
updated-dependencies:
- dependency-name: "@types/enzyme"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 17:30:51 -07:00
dependabot[bot]
8f52314cf9
chore(deps-dev): bump mini-css-extract-plugin in /superset-frontend (#17535)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.3.0 to 2.4.5.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.3.0...v2.4.5)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  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>
2021-11-30 17:30:22 -07:00
Phillip Kelley-Dotson
4e76637252
initial fix (#17547) 2021-11-30 08:24:18 -08:00
Yongjie Zhao
db42cea070 fix EOF 2021-11-30 11:26:18 +08:00
Yongjie Zhao
21a86229bc remove temporary_superset_ui 2021-11-30 11:17:54 +08:00
Ville Brofeldt
c3ab372a52 v0.4.13 2021-11-30 11:14:39 +08:00
Yongjie Zhao
5baffa8375 chore: import esmodule from chart-controls (#47) 2021-11-30 11:14:39 +08:00
David Aaron Suddjian
ec44a2ebee v0.4.12 2021-11-30 11:14:38 +08:00
David Aaron Suddjian
23261bae3a chore: bump superset-ui peer dependencies (#46) 2021-11-30 11:14:38 +08:00
David Aaron Suddjian
50a712cb96 chore: version bump (#45)
* chore: version bump

* chore: use 0.x.x to avoid future issues
2021-11-30 11:14:38 +08:00
Ville Brofeldt
c99e520c50 v0.4.11 2021-11-30 11:14:38 +08:00
Ville Brofeldt
c3e5edf7cf fix(scatter): fix legend and labels (#43) 2021-11-30 11:14:38 +08:00
Ville Brofeldt
55b3c7933d fix(hex): restore control panel to functioning state (#42) 2021-11-30 11:14:37 +08:00
Ville Brofeldt
d96f84bb0a v0.4.10 2021-11-30 11:14:37 +08:00
Ville Brofeldt
1ce0d8395d chore(deps): bump libs 2021-11-30 11:14:37 +08:00
Ville Brofeldt
aba0d0e2d2 chore: bump deckgl and mapbox libs (#41) 2021-11-30 11:14:37 +08:00
Kamil Gabryjelski
6ed2651a0b v0.4.9 2021-11-30 11:14:37 +08:00
Kamil Gabryjelski
bf39b282e3 chore: readme lint fix 2021-11-30 11:14:36 +08:00
Kamil Gabryjelski
7242c405bb chore: fill descriptions and rearrange tags (#40) 2021-11-30 11:14:36 +08:00
Ville Brofeldt
044789f4b9 docs: add instructions for npm release (#39) 2021-11-30 11:14:36 +08:00
Ville Brofeldt
89e214c73b v0.4.8 2021-11-30 11:14:36 +08:00
Ville Brofeldt
3d54d19723 chore: fix lint 2021-11-30 11:14:36 +08:00
sowo
f0369fda6e Fix issue with large timestamp arrays (#35)
* Fix issue with large timestamp arrays

Math.max and Math.min produce "Maximum call stack size exceeded" errors when used with large arrays (see: https://stackoverflow.com/questions/18308700/chrome-how-to-solve-maximum-call-stack-size-exceeded-errors-on-math-max-apply)

* fix issue when viewport.zoom < 0

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/utils/time.js

Sure. Style changed

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

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-11-30 11:14:36 +08:00
Yaozong Liu
9b8524c7b1 chore: add tags and description for viz gallery (#38)
* chore: add tags and description

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Arc/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Hex/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Scatter/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Screengrid/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2021-11-30 11:14:35 +08:00
Yongjie Zhao
aae89276a3 chore: add Highly-used tag for charts (#36) 2021-11-30 11:14:35 +08:00
Ville Brofeldt
4a9cc528dd v0.4.7 2021-11-30 11:14:35 +08:00
Kamil Gabryjelski
5e6af313e2 feat(chart-controls): implement dnd controls for all charts (#33) 2021-11-30 11:14:35 +08:00
Jesse Yang
4df23a4a6c v0.4.6 2021-11-30 11:14:35 +08:00
Jesse Yang
1817f1ceae chore: downgrade superset-ui/core to 0.17.11 2021-11-30 11:14:34 +08:00
Jesse Yang
2975acc4ef chore: bump demo package version 2021-11-30 11:14:34 +08:00
Jesse Yang
18604f4dd2 v0.4.5 2021-11-30 11:14:34 +08:00