chore(explore): Get Explore data from endpoint instead of bootstrap_data (#20519)

* feat(explore): Use v1/explore endpoint data instead of bootstrapData

* Add tests

* Fix ci

* Remove redundant dependency

* Use form_data_key in cypress tests

* Add auth headers to for data request

* Address comments

* Remove displaying danger toast

* Conditionally add auth headers

* Address comments

* Fix typing bug

* fix

* Fix opening dataset

* Fix sqllab chart create

* Run queries in parallel

* Fix dashboard id autofill

* Fix lint

* Fix test
This commit is contained in:
Kamil Gabryjelski
2022-06-30 21:06:51 +02:00
committed by GitHub
parent f2af81b1c7
commit b30f6a5db1
55 changed files with 845 additions and 327 deletions

View File

@@ -33,7 +33,7 @@ describe('Visualization > Box Plot', () => {
};
function verify(formData) {
cy.visitChartByParams(JSON.stringify(formData));
cy.visitChartByParams(formData);
cy.verifySliceSuccess({ waitAlias: '@getJson' });
}