Commit Graph

59 Commits

Author SHA1 Message Date
JUST.in DO IT
72150ebadf fix(sqllab): rendering performance regression by resultset (#25091) 2023-08-28 12:27:18 -07:00
JUST.in DO IT
4d9e9a4b1c chore(sqllab): typescript for getInitialState (#25047) 2023-08-24 16:54:06 -07:00
JUST.in DO IT
155cf54c15 fix(sqllab): scroll position after run current sql (#24965) 2023-08-15 10:52:35 -07:00
Michael S. Molina
284c12697b chore: Removes duplicated featureFlags.ts (#24935) 2023-08-10 10:55:44 -03:00
JUST.in DO IT
77505173ae fix(sqllab): Replace autocomplete logic by a hook (#24677) 2023-07-26 11:24:28 -07:00
JUST.in DO IT
1473d97055 feat(sqllab): add shortcut for run current sql (#24329)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-11 13:19:52 -07:00
JUST.in DO IT
ca8c8d2ad3 fix(sqllab): missing column meta on autocomplete (#24611)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-11 11:02:06 -07:00
JUST.in DO IT
51a34d7d58 chore(sqllab): Remove table metadata from state (#24371) 2023-06-22 15:37:03 -07:00
JUST.in DO IT
c4242a3657 chore(sqllab): Remove validation result from state (#24082) 2023-06-08 12:53:16 -07:00
Antonio Rivero
1d9a761de5 feat(sqllab): SQLEditor Extension (#24205) 2023-06-01 15:30:26 -04:00
JUST.in DO IT
d96b72d46f chore(sqllab): Refactor react-query by redux-toolkit query (#23760) 2023-05-08 14:25:23 -07:00
JUST.in DO IT
842659dbfe refactor: useEffectEvent for efficient deps (#23871) 2023-05-03 11:52:04 -07:00
JUST.in DO IT
c197bf9e6d fix(sqllab): rendering performance regression (#23695) 2023-04-17 09:49:15 -07:00
JUST.in DO IT
40bf1a550b fix(sqllab): Revert "rendering performance regression (#23653)" (#23671) 2023-04-13 08:23:12 -03:00
JUST.in DO IT
a5b6ccc1ec fix(sqllab): rendering performance regression (#23653) 2023-04-11 16:19:18 -07:00
Ville Brofeldt
f6b5b658e5 chore(welcome): harmonize submenu with other routes (#22803) 2023-03-31 11:34:10 +03:00
Beto Dealmeida
d01cf4300c fix: schedule query option showing up (#23386)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-03-21 15:26:11 -07:00
Lyndsi Kay Williams
861ecf65d4 chore: Remove dependency warnings from SqlEditor/index.jsx (#22974) 2023-02-15 12:08:17 -08:00
JUST.in DO IT
a1b7eb3870 fix(sqllab): clean unwanted scrollbar (#22990) 2023-02-07 08:05:09 -07:00
Diego Medina
02cd75be8d chore: Migrate /superset/tables/* to API v1 (#22501) 2023-02-01 12:45:57 +00:00
JUST.in DO IT
19779d7517 fix(sqllab): inconsistent addNewQueryEditor behavior (#21999) 2023-01-30 16:54:03 -07:00
Diego Medina
b94052e438 chore: migrate /sql_json and /results to apiv1 (#22809) 2023-01-30 11:02:34 -05:00
Kamil Gabryjelski
39c96d0568 chore: Migrate .less styles to Emotion (#22474) 2023-01-19 09:17:10 +01:00
Ville Brofeldt
08f45ef207 fix(viz-gallery): respect denylist in viz gallery (#22658) 2023-01-10 19:08:30 +02:00
EugeneTorap
f3bf3ec2ed chore: Remove actions prop and refactor code in SQL Lab (#22231) 2022-12-05 12:12:52 +01:00
Corbin Robb
83d990db4f test(sqllab): Convert tests to RTL for SqlEditor (#22093) 2022-11-17 13:10:13 -05:00
EugeneTorap
d76f305343 chore: Use queryEditorId in SqlEditor child components (#21650) 2022-11-16 08:06:20 -05:00
JUST.in DO IT
792820ef48 fix(sqllab): remove set state on component update lifecycle (#21771) 2022-10-24 10:50:30 -07:00
Phillip Kelley-Dotson
88e98d576c fix(sqllab): fix control x to stop query (#21899) 2022-10-24 12:51:22 -04: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
50cb396bf2 fix(sqllab): async query broken due to #21320 (#21667) 2022-10-05 15:23:40 +08:00
JUST.in DO IT
8d1b7ecfde fix(sqllab): perf regression on #21532 refactor (#21632) 2022-10-03 11:00:53 +08:00
EugeneTorap
15c3c34268 chore: refactor AceEditorWrapper to functional component (#21532) 2022-09-27 18:04:34 -06:00
EugeneTorap
2224ebecfe chore: refactor SqlEditor to functional component (#21320) 2022-09-20 08:41:14 -05:00
John Bodley
eac6fdcd29 chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
JUST.in DO IT
2d70ef670e feat(sqllab): Make LeftBar width resizable (#21300) 2022-09-01 21:26:20 -07:00
JUST.in DO IT
65a11b6f45 refactor: introduce react-query on api resource hook (#21240) 2022-09-01 13:39:34 -07: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
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
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
Michael S. Molina
d6f9fb5af1 chore: Removes unused vars (#20194)
* chore: Removes unused vars

* Fixes lint

* Disables no-unused-vars for the operators
2022-06-15 11:01:45 -03:00
Diego Medina
653cf773f7 fix(sql lab): SQL Lab Compile Query Delay (#20206) 2022-05-27 09:42:01 +03:00
Michael S. Molina
8bb8b7f612 chore: Removes hard-coded colors - iteration 3 (#20016) 2022-05-11 15:02:13 -03:00
Smart-Codi
60e06c1692 feat: Update ShortKey for stop query running in SqlLab editor (#19692)
* feat: Update shortkey for stop query running in sqllab editor

* resolve comment

* fix invalid import useMemo
2022-04-26 21:12:47 -06:00
Phillip Kelley-Dotson
06ec88eb99 feat: add empty states to sqlab editor and select (#19598)
* feat: add empty states to sqlab editor and select

* add suggestions and test

* update type

* lint fix and add suggestions

* fix typo

* run lint

* remove unused code

* fix test

* remove redux for propagation and other suggestions

* add t

* lint

* fix text and remove code

* ts and fix t in p

* fix spelling

* remove unused prop

* add fn to prop change state

* remove unused code

* remove unused types

* update code and test

* fix lint

* fix ts

* update ts

* add type export and fix test

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

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

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

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

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

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

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

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

* remove handlerror and unused code

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-15 15:09:07 -07:00
Diego Medina
bbe0af348b fix(sql lab): Selecting edit on a query from query history doesn't update the SQL Editor properly (#19290) 2022-04-15 12:49:32 -06:00
Luis Casillas
56381f4ee8 fix: sql lab ctrl t behaved differently from clicking (#19420)
* initial approach

To have consistent behaviour when creating a new tab with ctrl+t

* consistent behaviour when creating tabs

* fixed bug and added tests

* updates to pass checks
2022-04-15 12:28:40 -06:00
cccs-Dustin
02ef9ca4cd feat(sqllab): Add a configuration option to disable data preview (#19104) 2022-03-17 15:22:57 +02:00
Diego Medina
aa0ec717a2 Add previous line hotkey to SQL editor for macOS (#19052) 2022-03-08 14:26:36 -07:00