Commit Graph

79 Commits

Author SHA1 Message Date
JUST.in DO IT
a520124a78 fix(sqllab): Mistitled for new tab after rename (#25523) 2023-10-13 11:17:45 -04:00
JUST.in DO IT
846c79ef55 chore: consolidate sqllab store into SPA store (#25088) 2023-08-30 16:09:57 -07:00
JUST.in DO IT
a44c99899a chore(sqllab): Relocate get bootstrap data logic (#24936) 2023-08-11 13:23:07 -07:00
Michael S. Molina
284c12697b chore: Removes duplicated featureFlags.ts (#24935) 2023-08-10 10:55:44 -03:00
JUST.in DO IT
8ba0b81957 fix(sqllab): Add threshold for checking inactive queries (#24536)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-06-29 14:06:12 -07:00
JUST.in DO IT
51a34d7d58 chore(sqllab): Remove table metadata from state (#24371) 2023-06-22 15:37:03 -07:00
Jack Fragassi
86ce440833 fix: Revert to old endpoint temporarily to enable sharing saved queries (#24434) 2023-06-20 13:57:08 -04:00
JUST.in DO IT
c4242a3657 chore(sqllab): Remove validation result from state (#24082) 2023-06-08 12:53:16 -07:00
JUST.in DO IT
779b372d89 chore(sqllab): Remove functionNames from sqlLab state (#24026) 2023-05-23 10:42:00 -07:00
JUST.in DO IT
7a55625243 fix(sqllab): rollback clean comments out (#24009) 2023-05-11 09:41:21 -07:00
JUST.in DO IT
841726d432 fix(sqllab): clean comments within quotes (#23908) 2023-05-05 09:55:45 -07:00
Hugh A. Miles II
fa8f98472c chore: migrate sqllab_viz endpoint to api v1 (#23729) 2023-04-26 10:53:41 -04:00
JUST.in DO IT
5bec1a65ae refactor(sqllab): Remove tableOptions from redux state (#23488) 2023-04-20 15:55:55 -07:00
JUST.in DO IT
0c0d2b38a6 fix(sqllab): infinite running state on disconnect (#23669) 2023-04-18 12:26:29 -07:00
JUST.in DO IT
bd0609df58 fix(sqllab): undefined issue_codes on query error (#23549) 2023-04-02 11:46:23 -07:00
Ville Brofeldt
f6b5b658e5 chore(welcome): harmonize submenu with other routes (#22803) 2023-03-31 11:34:10 +03:00
JUST.in DO IT
d1947f7354 fix(sqllab): throw errors of commented out query (#23378) 2023-03-23 16:06:22 -07:00
JUST.in DO IT
ca4dd26648 chore(sqllab): Remove schemaOptions from redux store (#23257) 2023-03-22 15:35:22 -06:00
JUST.in DO IT
3277ea83ea feat(sqllab): log error_detail on fetch failed (#23377) 2023-03-20 10:08:27 -07:00
Hugh A. Miles II
8fa77adf9a chore: Hugh/migrate estimate query cost to v1 (#23226)
Co-authored-by: Diego Medina <diegomedina24@gmail.com>
2023-03-17 18:02:25 -06:00
Jack Fragassi
3fae7dbc34 chore: Migrate get_or_create_table endpoint to api v1 (#22931) 2023-02-15 10:38:51 +00:00
JUST.in DO IT
19779d7517 fix(sqllab): inconsistent addNewQueryEditor behavior (#21999) 2023-01-30 16:54:03 -07:00
Artem Shumeiko
c839d0daf5 chore: Localization of superset pt. 2 (#22772) 2023-01-30 09:20:43 -07:00
Diego Medina
b94052e438 chore: migrate /sql_json and /results to apiv1 (#22809) 2023-01-30 11:02:34 -05:00
JUST.in DO IT
0045816772 fix(sqllab): reverts #22695 (#22861) 2023-01-26 14:15:42 -07:00
JUST.in DO IT
d591cc8082 fix(sqllab): Invalid schema fetch for deprecated value (#22695) 2023-01-19 10:19:17 -07:00
Diego Medina
3ed288d4ee chore: Migrate /superset/stop_query/ to API v1 (#22624) 2023-01-16 14:07:52 +00:00
Ville Brofeldt
b6d39d194c feat(trino): support early cancellation of queries (#22498) 2022-12-24 06:31:46 +02:00
JUST.in DO IT
c3f1873c43 fix(sqllab): Add templateParams on kv store (#22013) 2022-11-14 10:46:21 -08:00
Daniel Vaz Gaspar
7c6fabb033 chore: deprecate /superset/fetch_datasource_metadata mig to API v1 (#22102) 2022-11-14 08:51:26 +00:00
JUST.in DO IT
40024064ae fix: BIGINT rendering regression in chartAction (#21937) 2022-10-26 15:04:20 -07:00
JUST.in DO IT
0c461497ff chore(sqllab): refactor addQueryEditor for new tab (#21711) 2022-10-07 17:57:39 -03:00
Mayur
61319fd759 feat(sqllab): save query parameters in database (#21682) 2022-10-07 12:49:14 +05:30
JUST.in DO IT
222f1e7ea8 fix(sqllab): invalid table metadata request (#21304) 2022-09-01 16:35:19 -07:00
AAfghahi
a7fe4850ed fix: dataset exists error in save Dataset modal (#21244)
* dataset exists error

* fixed flashing modal
2022-08-31 16:47:39 -04:00
JUST.in DO IT
f77b910e2c perf(sqllab): Rendering perf improvement using immutable state (#20877)
* perf(sqllab): Rendering perf improvement using immutable state

- keep queryEditors immutable during active state
- add unsavedQueryEditor to store all active changes
- refactor each component to subscribe the related unsaved editor state only

* revert ISaveableDatasource type cast

* missing trigger prop

* a default of an empty object and optional operator
2022-08-23 12:17:19 -03:00
Diego Medina
15b9f83150 chore: support trailing slashes in database api (#21123) 2022-08-22 15:15:04 +08: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
Lyndsi Kay Williams
8a04536f9d feat(SqlLab): Change Save Dataset Button to Split Save Query Button IV (#20852)
* Moving entire split save btn PR

* Addressed review comments

* Remove arbitrary div from ErrorBoundary in Chart

* Added accidentally removed comment

* Fix act errors in SaveQuery tests

* Fix SaveDatasetActionButton test

* SaveDatasetModal test almost working

* SaveDatasetModal tests all passing

* Clean SaveDatasetModal test

* Fix create chart button and SaveDatasetModal text in SQL Lab

* Fix untitled dataset name on SaveDatasetModal in explore

* Fix styling on split save button
2022-08-01 14:36:34 -05:00
Diego Medina
115ab700df fix(sql lab): MultiSelector component render twice (#20706)
* fix(sql lab): MultiSelector component render twice

* filter null/undefined tables
2022-07-19 08:33:15 -03:00
Michael S. Molina
834dcef993 chore: Moves date utils to utils folder (#20192) 2022-05-31 12:21:58 -03:00
Diego Medina
653cf773f7 fix(sql lab): SQL Lab Compile Query Delay (#20206) 2022-05-27 09:42:01 +03:00
Daniel Vaz Gaspar
87a4379d0a feat: deprecate /superset/validate_sql_json migrate to api v1 (#19935)
* feat: deprecate /superset/validate_sql_json migrate to api v1

* use new error handling

* migrate SQLLAb frontend and add tests

* debug test

* debug test

* fix frontend test on sqllab

* fix tests

* fix frontend test on sqllab

* fix tests

* fix tests

* fix tests

* fix tests
2022-05-10 21:25:39 +01:00
Daniel Vaz Gaspar
4fdf230a56 feat: deprecate /superset/extra_table_metadata migrate to api v1 (#19921)
* feat: deprecate /superset/extra_table_metadata migrate to api v1

* use can_read to table_extra_metadata

* troubleshoot sqlite

* fix test

* fix test

* fix test

* fix frontend test on sqllab
2022-05-04 14:55:52 +01:00
Diego Medina
800ced5e25 fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448) 2022-04-22 15:23:30 -06:00
Ville Brofeldt
87d47987b7 fix(sql-lab): do not replace undefined schema with empty object (#19664) 2022-04-12 15:13:03 +03:00
Ville Brofeldt
2d81c4c79f fix(sqllab): null database with backend persistence (#19548) 2022-04-06 12:32:41 +03:00
Diego Medina
4669b6ce11 fix: most Recently Selected Table Should Appear at the Top of the List on the Left Panel (#19258) 2022-03-21 15:58:23 -06:00
cccs-Dustin
02ef9ca4cd feat(sqllab): Add a configuration option to disable data preview (#19104) 2022-03-17 15:22:57 +02:00
maltoze
57c4d0f9a4 fix: passing url params in sqllab (#15246)
* fix: passing url params in sqllab

* avoid undefined serach and add test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-15 13:18:04 +02:00