Commit Graph

509 Commits

Author SHA1 Message Date
Elizabeth Thompson
abd4051f7a catch collapse onchange (#13927) 2021-04-03 00:00:34 -07:00
AAfghahi
4187d9e4c4 fix: adjusted tab height (#13822) 2021-04-02 12:44:45 -04:00
Jesse Yang
65940770ac feat(explore): adhoc column formatting for Table chart (#13758) 2021-04-01 23:28:42 -07:00
Michael S. Molina
ac43f4c491 Displays row limit warning with Alert component (#13854) 2021-03-29 17:04:33 -07:00
zuzana-vej
467848d8f7 fix(sqllab): warning message when rows limited (#13841) 2021-03-29 10:47:51 -07:00
AAfghahi
64f967cb2d refactor: New schedule query button (#13797) 2021-03-26 09:56:59 -04:00
Geido
930cbea2e1 test: Tests, dedicated directory and Storybook for the ProgressBar component (#13534)
* Move to own dir and add storybook

* Add tests
2021-03-25 15:44:00 -07:00
AAfghahi
1d5c58d005 refactor: SouthPane into functional component (#13676) 2021-03-24 23:00:12 -04:00
Hugh A. Miles II
71ca5aca5b refactor: Revert "refactor: ScheduleQueryButton into functional component (#134… (#13785)
This reverts commit 2c3d9e9b1e.
2021-03-24 22:50:59 -04:00
AAfghahi
2c3d9e9b1e refactor: ScheduleQueryButton into functional component (#13443) 2021-03-24 17:46:24 -04:00
AAfghahi
ebd4a917f7 refactor: Share sql lab query (#13630) 2021-03-18 17:07:24 -04:00
AAfghahi
df9352f2b4 fix: data column in SQL lab left panel open by default (#13624)
* fix table expand

* Left Panel Expand

* added tests

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-03-18 13:28:24 -07:00
Elizabeth Thompson
b97bbed2a9 fix: allow option to generate new query (#13488) 2021-03-18 14:42:31 -04:00
Elizabeth Thompson
67ffea8248 fix: always pass a string as a value to ace editor (#13563)
* always pass a string as a value to ace editor

* fix some syntax
2021-03-12 17:09:02 -08:00
Geido
d1f6245bcd test: Tests, dedicated directory and Storybook for the Badge component (#13513)
* Move to dir and add storybook

* Add tests

* Remove no-restricted-imports
2021-03-10 12:29:59 -08:00
Beto Dealmeida
8d48d2e37b fix(sqllab): per-tab hide left bar (#13288)
* fix (sqllab): per-tab hide left bar

* Load state when switching tabs
2021-03-05 11:16:11 -08:00
AAfghahi
66a7318fa2 refactor: Query search into functional component (#13102) 2021-03-03 10:18:14 -05:00
AAfghahi
9c9862ff5b feat: Added Rows Returned (#13190) 2021-03-03 10:17:33 -05:00
Evan Rusackas
33bec57619 chore: migrating some LESS (#13296) 2021-02-25 15:44:58 -08:00
AAfghahi
776685736c sql Lab buttons (#13174) 2021-02-25 09:51:48 -08:00
Michael S. Molina
9a05d6afe5 Migrates Collapse component from Bootstrap to AntD (#12920) 2021-02-23 10:24:08 -08:00
Michael S. Molina
42ab57850d Migrate Bootstrap Alert to AntD (#12101) (#12122) 2021-02-21 20:50:18 -08:00
Michael S. Molina
7ee8d114d2 fix: SqlEditor_spec tests (#13186) 2021-02-21 20:49:51 -08:00
Thinking Chen
eea5fe3b60 fix: add the untranslated text content of Chart page, Sql Editor page and some dashboard label in messages.pot (#13123) 2021-02-19 17:54:22 -08:00
Jesse Yang
571b53e9cf refactor: add frontend debounce constants (#13250) 2021-02-19 17:47:44 -08:00
AAfghahi
9489f0b8f4 refactor: HighligthedSQL into functional component with Typescript (#13098) 2021-02-18 13:01:34 -05:00
Hugh A. Miles II
d48b894573 fix: Grab datasets initially onMount (#13160) 2021-02-17 21:12:06 -05:00
AAfghahi
6c9f315b77 fix: Disabled state button transition time (#13008)
* button fix

* tooltips disabled when it is disabled, border width changed

* added isDisabled to tooltip

* worked on transition times

* cleaned up transition to be local instead of global

* made it local

* linted

* trying to resolve a conflict
2021-02-10 20:36:33 -08:00
Lyndsi Kay Williams
022d18d359 refactor: TemplateParamsEditor.jsx converted from class to functional component (#12873)
* TemplateParamsEditor.jsx converted from class to functional component

* Fixed import in SqlEditor.jsx

* Corrected renderDoc

* Corrected renderModalBody

* Corrected functional name and import

* Corrected props

* Corrected modalBody and incorporated renderDoc

* Removed t strings

* Removed unnecessary single quotes

* Editor text updating correctly

* Split useState into three different hooks

* Removed onChangefunc, adjusted component to use onChange and code from props through useEffect

* Added parsedJSON reset to catch in useEffect

* Put a throttle on the onChange

* Switched from throttle to debounce
2021-02-07 21:44:39 -08:00
AAfghahi
ac3e16d0ac fix: SqlLab Run button fix (#12956)
* button fix

* tooltips disabled when it is disabled, border width changed

* added isDisabled to tooltip
2021-02-04 20:21:43 -08:00
Beto Dealmeida
ab3f4bd94b feat: add separate endpoint to fetch function names for autocomplete (#12840)
* WIP

* Add unit test for API

* Add spec

* Fix unit test

* Fix unit test

* Fix test

* Fix test

* Add period to error message
2021-02-02 18:01:01 -08:00
Michael S. Molina
5a79a7d993 Migrates Radio component from Bootstrap to AntD. (#12738) 2021-02-02 11:26:26 -08:00
Michael S. Molina
2adfb85597 Migrates Label component from Bootstrap to AntD. (#12774) 2021-02-01 22:15:07 -08:00
Michael S. Molina
c781ab8adf Migrates Button component from Bootstrap to AntD (#12832) 2021-02-01 15:13:10 -08:00
Lyndsi Kay Williams
8bc5c40eab refactor: change Windows new tab shortcut to ctrl + q (#12772) 2021-01-29 12:49:13 -05:00
Michael S. Molina
217034e990 Apply capitalization guidelines - iteration 8 (#12343) (#12454) 2021-01-21 21:46:18 -08:00
Michael S. Molina
d9388d4535 Apply capitalization guidelines - iteration 7 (#12343) (#12453) 2021-01-21 21:46:06 -08:00
Hugh A. Miles II
db4664ec11 fix: Add MAX_SQL_ROW value to LIMIT_DROPDOWN (#12555) 2021-01-15 18:00:33 -05:00
Beto Dealmeida
086b3a66a0 fix (SQL Lab): disappearing results on tab switch (#12472)
* fix (SQL Lab): disappearing results on tab switch

* Remove state

* Fix test
2021-01-13 19:10:04 +02:00
Hugh A. Miles II
1e527d54e7 fix: update savedatasetmodal message (#12433) 2021-01-12 11:58:29 -05:00
Jesse Yang
9acf48fd1e chore: upgrade eslint, babel, and prettier (#12393) 2021-01-10 17:26:35 -08:00
Hugh A. Miles II
12504264e7 fix: datasets populating after user creation (#12368) 2021-01-08 21:04:00 -05:00
Hugh A. Miles II
7c8ead85c1 fix: Fix dataset condition to allow query for datasets in sqllab (#12357) 2021-01-08 15:36:19 -05:00
Elizabeth Thompson
466a7c8693 fix: south pane scrolling issues (#12318)
* remove extra scrollbars

* fix sql lab south pane bottom margin

* Update superset-frontend/src/SqlLab/components/SouthPane.jsx

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

* Update superset-frontend/src/SqlLab/components/SouthPane.jsx

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

* move styles to component

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-01-08 09:52:33 -08:00
Hugh A. Miles II
9997abeab6 feat: SQL Toolbar (#12067)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
Co-authored-by: Simcha Shats <simcha.shats@nielsen.com>
Co-authored-by: amitNielsen <amit.miran@nielsen.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Agata Stawarz-Pastewska <agata.stawarz-pastewska@polidea.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: Lily Kuang <lily@preset.io>
Co-authored-by: Victor Malai <malai9696@gmail.com>
Co-authored-by: Agata Stawarz <47450693+agatapst@users.noreply.github.com>
Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: Nikola Gigić <nik.gigic@gmail.com>
Co-authored-by: Jagadish <jagadishmts@gmail.com>
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-01-07 17:04:43 -05:00
Michael S. Molina
1b908ab9f1 Fix tests errors and warnings - iteration 1 (#12212) (#12213) 2021-01-05 16:24:57 -08:00
Hugh A. Miles II
95f0ead8eb fix: SaveDatasetModal save state on back button (#12205) 2021-01-05 15:07:23 -08:00
Victor Malai
8ecf82de5a Remove uppercase for tab names (#12217) 2021-01-04 14:58:45 -08:00
Michael S. Molina
8682c6fc1c refactor: Fix anchor-is-valid lint warnings (#12010)
* Fix anchor-is-valid lint warnings

* Change IconTooltip to use named exports
2020-12-21 23:58:05 -08:00
Beto Dealmeida
6e7f276775 feat: initial custom error messages for SQL Lab (#12080) 2020-12-17 22:58:21 -08:00