Erik Ritter
44d919c757
Prettify the frontend code ( #8648 )
...
* Add Prettier global configs
* Format js/jsx/ts/tsx/less files
2019-11-27 14:02:48 -08:00
Beto Dealmeida
d66bc5ad90
SIP-23: Persist SQL Lab state in the backend ( #8060 )
...
* Squash all commits from VIZ-689
* Fix javascript
* Fix black
* WIP fixing javascript
* Add feature flag SQLLAB_BACKEND_PERSISTENCE
* Use feature flag
* Small fix
* Fix lint
* Fix setQueryEditorSql
* Improve unit tests
* Add unit tests for backend sync
* Rename results to description in table_schema
* Add integration tests
* Fix black
* Migrate query history
* Handle no results backend
* Small improvement
* Address comments
* Store SQL directly instead of reference to query
* Small fixes
* Fix clone tab
* Fix remove query
* Cascade delete
* Cascade deletes
* Fix tab closing
* Small fixes
* Small fix
* Fix error when deleting tab
* Catch 404 when tab is deleted
* Remove tables from state on tab close
* Add index, autoincrement and cascade
* Prevent duplicate table schemas
* Fix mapStateToProps
* Fix lint
* Fix head
* Fix javascript
* Fix mypy
* Fix isort
* Fix javascript
* Fix merge
* Fix heads
* Fix heads
* Fix displayLimit
* Recreate migration script trying to fix heads
* Fix heads
2019-11-14 09:44:57 -08:00
Maxime Beauchemin
1dd4d7a587
Apply ASF licenses throughout the code base ( #5800 )
...
* Add license headers
* reabased
* lint
* Removing licenses from vendors folder
2019-01-15 15:53:27 -08:00
Jeffrey Wang
0584e3629f
Add separate limit setting for SqlLab ( #4941 )
...
* Add separate limit setting for SqlLab
Use separate param for wrap sql
Get query limit from config
unit tests for limit control rendering in sql editor
py unit test
pg tests
Add max rows limit
Remove concept of infinity, always require defined limits
consistency
Assert on validation errors instead of tooltip
fix unit tests
attempt persist state
pr comments and linting
* load configs in via common param
* default to 1k
2018-11-07 15:57:44 -08:00
Grace Guo
69e8df404d
sql lab localStorage config ( #6257 )
2018-11-06 23:12:32 -08:00