Commit Graph

12126 Commits

Author SHA1 Message Date
Kamil Gabryjelski
8005b7f8c7 fix(plugin-chart-table): Upgrade old color formats (#21101)
* fix(plugin-chart-table): Upgrade old color formats

* Bug fix

* add comments
2022-08-16 22:05:53 +02:00
EugeneTorap
6f3a555e58 fix(dashboard): Fix scroll behaviour in DashboardBuilderSidepane (#20969) 2022-08-16 19:29:28 +02:00
Kamil Gabryjelski
d3684c0937 fix(dashboard): Dashboard header overflowing in edit mode (#21100) 2022-08-16 19:08:29 +02:00
Bogdan
495a205dec Memoize the common_bootstrap_payload (#21018)
Try patch

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-16 08:27:12 -07:00
Diego Medina
0c84203053 fix: Unable to sync columns when dataset name has '+' (#21019) 2022-08-16 07:55:27 -06:00
Stephen Liu
b303d1e156 fix(plugin-chart-echarts): gauge chart enhancements and fixes (#21007)
* fix(plugin-chart-echarts): gauge chart enhancements and fixes

* fix lint
2022-08-16 07:54:17 -06:00
Stephen Liu
5c2a1f85ff fix(database-modal): 'CTAS & CVAS SCHEMA' getting cut off (#21004) 2022-08-15 22:24:38 -06:00
Moriah Kreeger
83dd85166f feat: add extension point for workspace home page (#21033)
* updates to allow insertion of workspace home sidescroll/table UI

* fix types

* fix User type import

* add welcome message to ui registry

* add extra fields to individual chart/query GET results (for workspace home required info)

* update list view card to support a subtitle

* add id to individual chart fetch

* update chart api test

* another test fix

* fix saved query test

* update extension types + insert point

* fix typing

* fix type name
2022-08-15 12:16:40 -07:00
Erik Cederstrand
d817a1dc87 chore(deps): unpin holidays dependency version (#21091)
The blocking issue has been fixed upstream

Co-authored-by: Erik Cederstrand <erik@adamatics.com>
2022-08-16 00:51:27 +08:00
Jack Fragassi
394d62ee51 Add embedded docs config details to extensions registry (#21052) 2022-08-12 16:33:21 -07:00
Ville Brofeldt
5113b01031 feat(trino): add query cancellation (#21035) 2022-08-12 07:48:29 +03:00
JUST.in DO IT
2d1ba46844 fix(plugin-chart-echarts): missing value format in mixed timeseries (#21044) 2022-08-11 12:33:59 -07:00
JUST.in DO IT
a8ba544e60 fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart (#21032) 2022-08-11 11:28:18 -07:00
Hugh A. Miles II
e13c5b2b7b fix: take form_data reference for metrics for pivot_v2 table reports (#21029)
* take form_data reference for form_data

* better

* remove comments

* remove comments

* Update superset/charts/post_processing.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* add test

* test

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-08-11 12:08:40 -04:00
dependabot[bot]
42a5375e83 chore(deps): bump ejs from 2.7.4 to 3.1.8 in /superset-frontend (#21046)
Bumps [ejs](https://github.com/mde/ejs) from 2.7.4 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v2.7.4...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:49:36 -06:00
dependabot[bot]
778b6a3ba2 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-frontend (#21047)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:48:31 -06:00
EugeneTorap
a2b21b55be fix: Validate required fields in sql_json API (#21003)
* fix: Validate required params for sql_json API

* Test required params in sql_json API

* Refactoring: use marshmallow Schema for validation sql_json API

* Update SqlJsonPayloadSchema

* Update SqlJsonPayloadSchema

* Refactoring

* Refactoring

* Refactoring
2022-08-11 23:37:53 +08:00
Beto Dealmeida
4f1996dba8 fix: add plain postgres alias (#21045) 2022-08-10 18:07:31 -07:00
Elizabeth Thompson
7445eab5a2 add test for tab state (#20949) 2022-08-10 16:45:31 -04:00
Eric Briscoe
ab6ec89f68 fix: [sc-54864] Adds safety check to provide near term fix to save query (#21034)
* [sc-54864] Adds safety check to provide near term fix for Queries not saving

There is an error when casting the columns array to String() for saving queries where the objects in the array are missing the toString method.   This is a near term rapid patch to fix workflow in production which will have a follow up to identify root cause.

* fix typo

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Adjusted chekc to be explicit for undefined instead of truthy

This fixes issue caught by unit test where the if statement was using a truthy check where it should be explicitly checking for value of undefined

* Adds new unit test to get 100% coverage for callApi

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-08-10 10:33:47 -07:00
Yongjie Zhao
dfe5a04938 fix: unable to show view as table modal (#21025) 2022-08-10 11:35:06 +08:00
Michael S. Molina
3df8335f87 feat: Adds drill to detail context menu for ECharts visualizations (#20891)
* feat: Adds drill to detail context menu for ECharts visualizations

* Rebases and adds time grain

* Fixes selected gauge values

* Fixes Treemap edge click

* Adds right click to big number trendline

* Address some comments
2022-08-09 17:02:31 -03:00
Evan Rusackas
0042ade66f fix: making crossFilter.chartsInScope optional (#21030) 2022-08-09 12:21:40 -06:00
Bogdan
17b58037f8 perf: Implement model specific lookups by id to improve performance (#20974)
* Implement model specific lookups by id to improve performance

* Address comments e.g. better variable names and test cleanup

* commit after cleanup

* even better name and test cleanup via rollback

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-09 09:59:31 -07:00
Michael S. Molina
6650076228 fix: forwardRef warnings in selects (#20970) 2022-08-09 09:00:12 -03:00
JUST.in DO IT
9114175db2 fix(plugin-echart-timeseries: legend trancated on show extra controls (#21017) 2022-08-09 16:12:00 +08:00
Geido
03764e6ae8 chore: Audit E2E tests for color schemes in Dashboard and Explore (#20807)
* Update properties tests

* Update selectors

* Verify charts changing colors

* Test shared and label colors

* Update dashboard edit test

* Enhance viz tests

* Remove chart ids

* Update color
2022-08-09 07:49:46 +03:00
Jesse Yang
58245dd7f7 fix(sqllab): result set min-height (#21016) 2022-08-08 20:52:52 -07:00
Jeremy PLANCKEEL
554ed6495e feat(helm): add liveness and readiness for deployment webserver (#20567)
* feat(helm): add liveness and readiness for deployment webserver

* feat(helm): add example in values

* feat(helm): move config probes under supersetNode

* feat(helm): bump chart.yaml

* fix(helm): remove default values in template and use values.yaml

* fix(git): bump chart verison

* fix(json):  update the schema to get CI passing

* fix(helm): correct path for values readiness

Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>

Co-authored-by: Jeremy PLANCKEEL <jplanckeel.externe@bedrockstreaming.com>
Co-authored-by: Craig Rueda <craig@craigrueda.com>
Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>
superset-helm-chart-0.7.1
2022-08-08 14:28:36 -07:00
Jesse Yang
2c8867e4e4 chore(db-migration): ensure query_context is MediumText before viz migration (#20936) 2022-08-08 13:30:46 -07:00
Beto Dealmeida
bb3871ddaf feat: per-db add metrics (#20990)
* feat: per-db add metrics

* Add unit tests
2022-08-08 12:07:16 -07:00
AAfghahi
846529a500 easy fix (#20999) 2022-08-08 12:31:08 -04:00
Yongjie Zhao
802b69f97b feat: supports mulitple filters in samples endpoint (#21008) 2022-08-08 22:42:14 +08:00
Phillip Kelley-Dotson
e214e1ace6 chore: update text for dbconn modal (#20773)
* chore: update text for dbconn modal

* fix text and close opts for adddataset modal

* update loading state, add state change for cta btns, and styling

* remove space
2022-08-05 15:01:04 -07:00
Elizabeth Thompson
463406ff09 fix: save dataset and repopulate state (#20965)
* save dataset and repopulate state

* disable dashboard button if dataset is missing

* fix error message

* fix tests
2022-08-05 14:32:49 -07:00
dependabot[bot]
95fdc08e78 chore(deps): bump express in /superset-websocket/utils/client-ws-app (#20979)
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.1)

---
updated-dependencies:
- dependency-name: express
  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-08-05 13:06:34 -06:00
AAfghahi
f89ba0c7c1 beginning the reducer (#20945) 2022-08-05 11:53:55 -04:00
Kamil Gabryjelski
9350bbafee fix(explore): Replace url search params only if current page is Explore (#20972)
* fix(explore): Replace url search params only if current page is Explore

* Add unit test
2022-08-05 16:59:52 +02:00
dependabot[bot]
499a28f599 chore(deps): bump debug in /superset-websocket/utils/client-ws-app (#20980)
Bumps [debug](https://github.com/debug-js/debug) from 4.3.2 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.2...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  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>
2022-08-05 08:13:03 -06:00
Hugh A. Miles II
be4fbaf951 fix: for series limit comparison on explore with chart = Query (#20989)
* oops

* 1 more
2022-08-04 21:37:45 -04:00
John Bodley
eec6e577e6 [requirements] Bumping trino-python-client (#20976) 2022-08-04 17:13:41 -06:00
dependabot[bot]
774756dac9 chore(deps): bump cookie-parser (#20982)
Bumps [cookie-parser](https://github.com/expressjs/cookie-parser) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/expressjs/cookie-parser/releases)
- [Changelog](https://github.com/expressjs/cookie-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/cookie-parser/compare/1.4.5...1.4.6)

---
updated-dependencies:
- dependency-name: cookie-parser
  dependency-type: direct:production
  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>
2022-08-04 16:46:47 -06:00
Sam Faber-Manning
226712d831 feat: add 'dashboard.nav.right' extension to registry (#20835)
* add 'dashboard.nav.right' extension to registry

* add test
2022-08-04 15:24:34 -07:00
AAfghahi
e3508232ab fix: series limit solution for source is query (#20977)
* fix

* save

* integrate type casting for engiines

* fix orderby on column types

* fixes

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2022-08-04 15:52:38 -04:00
Lyndsi Kay Williams
d42cf4e4c9 fix: Columns not passing properly from SQL Lab to Explore (#20975)
* debugging columns

* Clean up code

* Fix test
2022-08-04 14:59:50 -04:00
Evan Rusackas
755f654cc6 chore: make dependabot upgrade package.json + add more package.json files (#20920)
* chore: make dependabot upgrade package.json, and add more package.json files to the mix.

* trailing newline
2022-08-04 11:52:01 -06:00
Phillip Kelley-Dotson
fa416fa130 fix: remove extra line for link (#20959)
* fix: remove extra line for link

* add space
2022-08-04 13:29:07 -04:00
Hugh A. Miles II
6e5036d87f fix: add timegrains to data payload (#20938)
* add timegrains to data payload

* fix

* opps

* save

* integrate type casting for engiines

* add perm object

* change how wwe raise_for_access

* fix orderby on column types

* linting
2022-08-04 13:26:49 -04:00
AAfghahi
eb5369f2a6 fix: No back button in save dataset modal (#20964)
* back button fix

* fixed test
2022-08-03 21:29:11 -04:00
Beto Dealmeida
7e501cd816 fix: BigQuery get_parameters_from_uri (#20966) 2022-08-03 17:27:40 -07:00