Commit Graph

8083 Commits

Author SHA1 Message Date
Kamil Gabryjelski 239336c3e8
fix(explore): dnd multiple columns doesn't work (#15781) 2021-07-19 20:18:10 +02:00
Elizabeth Thompson 618a354ca1
Revert "quote column name if db requires (#15465)" (#15752)
This reverts commit 80b8df0673.
2021-07-19 10:31:05 -07:00
Hugh A. Miles II 7d0f6ab7f5
fix: Fixing `schemas_allowed_for_upload` field in database connection UX (#15750) 2021-07-19 12:12:37 -04:00
MaiTiano 281cb92bfa
Update INTHEWILD.md (#15776) 2021-07-19 10:34:56 -04:00
Geido 45c3ae0bf9
chore: Select component refactoring - ColorSchemeControl - Iteration 5 (#15555)
* Enhance Select

* Transition Select to Antd

* Update test

* Fix Cypress

* Change name to aria-label

* Update Cypress search val

* Test Cypress selection
2021-07-19 00:07:40 -06:00
Geido 5cc4f3c4b9
chore: Select component refactoring - DateFilterControl - Iteration 5 (#15571)
* Transition to Antd for DateFilterLabel

* Enhance styles

* Fix test

* Update superset-frontend/src/explore/components/controls/DateFilterControl/components/CustomFrame.test.tsx

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

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-07-19 00:04:07 -06:00
Geido 4e79ffd471
Set label max width (#15710) 2021-07-18 22:10:38 -06:00
John Bodley ca873acd55
chore: Reformat disable checks to multiline (#15753)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-19 14:11:49 +12:00
Yongjie Zhao 069d5cb6a4
chore: bump superet-ui 0.17.69 (#15767) 2021-07-19 02:00:39 +08:00
Kamil Gabryjelski 4234031cba
feat(explore): UX improvements for drag'n'dropping time column (#15740) 2021-07-19 01:52:34 +08:00
Kamil Gabryjelski e9383e6d00
chore(explore): Bump plugin-chart-pivot-table (#15742) 2021-07-16 18:22:16 +02:00
Kamil Gabryjelski 71924eb40b
fix(explore): wrong error message in conditional formatting (#15732) 2021-07-16 18:02:12 +02:00
Erik Ritter fe68e45f52
fix: Reduce js bundle size (#15721) 2021-07-16 07:02:37 -07:00
Kamil Gabryjelski 66c28d653f
fix(explore): DndColumnSelect sometimes not working with multi: false (#15731)
* fix(explore): DndColumnSelect not working with multi: false

* fix values not synchronized when dataset changes
2021-07-16 14:20:13 +02:00
Yongjie Zhao 0721f54580
fix: use expected label in the metrics map (#15707)
* fix: use expected label in metrics map

* added comments

* fix type
2021-07-16 14:02:00 +08:00
chuancy 42d84deca1
fix: Incorrect translations in the SQLLab in Chinese (#15727) 2021-07-16 14:00:01 +08:00
ʈᵃᵢ 0ed97eb696
docs: update dev superset version (#15718) 2021-07-15 20:02:01 -06:00
AAfghahi 674f234de6
feat: add logic to creation_method for reports schedule (#15685)
* migration

* added logic for creation_method

* revisions

* added index

* Update superset/migrations/versions/3317e9248280_add_creation_method_to_reports_model.py

* filters

* Update superset/models/reports.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/reports/schemas.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update tests/integration_tests/reports/api_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* revisions

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-15 18:27:54 -07:00
u-aiaa 6b790990a8
fix: Add waiting time for chart animation when screenshot (#15610) 2021-07-15 18:25:48 -07:00
AAfghahi 0c74a8060f
oops (#15725) 2021-07-15 16:22:48 -07:00
Phillip Kelley-Dotson 234e3081a5
feat(homepage): move savequeries table and render open conditionally (#15711)
* initial commit

* make collapsable
2021-07-15 16:53:23 -06:00
Geido 625468c56a
Fix style (#15662) 2021-07-15 15:26:00 -07:00
AAfghahi 7dd3af6dda
feat: add Column to reports model (#15683)
* migration

* added index, fixed misspelling

* Fix benchmark script

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-15 13:38:57 -07:00
Jesse Yang e305f2a5f3
perf(dashboard): make loading datasets non-blocking (#15699) 2021-07-15 12:26:26 -07:00
Beto Dealmeida d908dd6689
chore: better copy for SQL dialog (#15714) 2021-07-15 12:20:47 -07:00
Beto Dealmeida b489cffb57
fix: no lazy translation on SupersetError (#15669)
* fix: no lazy translation on SupersetError

* Small fixes
2021-07-14 16:54:11 -07:00
gordern 22494b642e
fix: remove form invalid title (#15679) (#15680) 2021-07-14 16:55:47 -06:00
David Aaron Suddjian 985af72ac3
fix(dashboard): Make the View Chart In Explore menu option a link (#15668)
* hey look, it's a real anchor tag!

* get the explore chart url into the link

* add doc comments to the functions

* remove pointless test

* update weird tests

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-07-14 15:12:20 -06:00
Phillip Kelley-Dotson 5d86b8dde6
refactor: remove old Icon component (#15690)
* remove old Icon component

* remove mock fn's
2021-07-14 14:04:56 -07:00
Phillip Kelley-Dotson 070f0b6cb2
refactor: icon to icons for IconButton and Header component (#15647)
* initial commit

* fix test

* last one

* fix cypress

* remove gridunit for fonsize

* fix cypress

* more data-test removal

* last one

* more data-test
2021-07-14 11:04:21 -07:00
Michael S. Molina ac01d91c28
fix: Show affected filters when interacting with the filters (#15634) 2021-07-14 15:01:15 -03:00
Michael S. Molina 154f460446
chore: Removes unnecessary uses of preselectNativeFilters (#15688) 2021-07-14 14:53:00 -03:00
ʈᵃᵢ de17acd618
feat(menu): expand support for custom branding (#15628) 2021-07-14 10:51:53 -06:00
Geido a1793f304e
fix(dashboard): Filters panel height (#15661)
* Fix container height

* Add min height vh

* Remove offset when standalone

* Clean up
2021-07-14 16:06:17 +02:00
John Bodley b3e699b767
perf: Refactor Dashboard.datasets_trimmed_for_slices (#15648)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-14 15:00:57 +12:00
Beto Dealmeida 42a1061bfa
fix: small fixes for Makefile (#15670) 2021-07-13 15:45:23 -07:00
Hugh A. Miles II 9f969d00bd
chore: Add documentation for DB Connection UI (#15599)
* Create ui.mdx

* more fixxxes

* address comments

* Update ui.mdx

* Update ui.mdx
2021-07-13 15:05:49 -07:00
John Bodley 351d3c594b
chore: Add metrics_b as viable metric form data parameter (#15646) 2021-07-14 09:29:01 +12:00
Phillip Kelley-Dotson 1483e04381
refactor: icon to icons for Querytable, datasource test, and copyclipboard story (#15665)
* initial commit

* fix theme

* Update superset-frontend/src/SqlLab/components/QueryTable/index.jsx

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

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-07-13 14:24:59 -07:00
John Bodley ad87ba3724
docs: Add section about updating Python requirements (#15574) 2021-07-14 07:26:29 +12:00
Michael S. Molina e6bbca3f61
chore: Preserve native filters selection after refresh (#15583) 2021-07-13 15:14:18 -03:00
Peter Kosztolanyi 02032ee8a4
feat: cancel db query on stop (#15403)
* feat: cancel db query on stop

* fix pylint

* Add unit tests

* Do not bind multiple times

* Stop only running queries

* Postgres to cancel only the required query

* Remove extra log

* Add docstring

* Better types, docstring and naming

* Use python3 format strings

* Update superset/sql_lab.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Add cancel_query_on_windows_unload option to database

* Return cancel_query as bool

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-13 12:09:22 -04:00
Kamil Gabryjelski a914e3c1cb
feat(explore): Implement conditional formatting component (#15651)
* feat(explore): Implement conditional formatting

* Improved validation

* Fix undefined error

* Refactor after code review

* Add licenses

* Remove redundant div

* Remove formatters when corresponding column is removed
2021-07-13 18:05:16 +02:00
Phillip Kelley-Dotson 8efd94a14f
refactor: icon to icons for navbar (#15643)
* initial commit

* remove code
2021-07-13 08:31:12 -07:00
Michael S. Molina f0c0d7492c
chore: Reverts reset form in native filters (#15644) 2021-07-13 08:38:32 -03:00
Evan Rusackas 52ad779a27
fix: safe removal of tab with filters still scoped to a non-existing chart (#15650) 2021-07-12 23:43:53 -06:00
Hugh A. Miles II 2dc8bd6c30
fix: Fix test connection for extra fields (#15645)
* create serialize json function

* remove console.log

* use function
2021-07-12 20:19:45 -07:00
Yongjie Zhao 517f8c0a7a
chore: bump superset-ui/plugin-chart-echarts 0.17.65 (#15633)
* chore: bump echart 0.17.65

* npm lock file
2021-07-13 09:48:42 +08:00
Hugh A. Miles II f39582c900
fix: change sslmode to require for Postgres (#15642)
* change sslmode to require

* fix test
2021-07-12 15:38:07 -07:00
Hugh A. Miles II 2252f3396c
fix: Remove default values for engine and schemas (#15635)
* remove default values

* don't set initial value on save

* set defaults for engine_params

* update with JSON.parse
2021-07-12 15:37:44 -07:00