Commit Graph

7925 Commits

Author SHA1 Message Date
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
Phillip Kelley-Dotson 34542db3b6
refactor: icon to icons for syntaxhighlighter and querylist components (#15618)
* initial commit

* make changes

* more simplify

* remove code

* add prop

* remove unsued code
2021-07-12 11:35:26 -07:00
David Aaron Suddjian 257385e888
feat(explore): Upgraded viz select gallery (#15303)
* add modal layout with description, rework styles

* thirty percent

* test correctly

* avoid any changes in modal height

* typescriptify

* feat(viz): add categories to the viz picker (#15304)

* feat(viz): add categories to the viz picker

* fix test types

* add a catch-all category

* tweak layout

* upgrade superset-ui to get new metadata

* do i look like i know what a jpeg is

* fix tests

* lint

* remove script count test requirement

* fix e2e test

* feat(explore): Viz picker search improvements (#15399)

* upgrade superset-ui, install fuse.js

* add metadata to plugin context

* get search working

* layout improvements

* fix tests

* Update superset-frontend/src/explore/components/controls/VizTypeControl/index.tsx

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

* use typography size instead of grid unit

* comments

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

* feat(explore): Examples image gallery in the viz type control (#15489)

* feat(explore): add section for example images in viz type control

* fix jpg webpack config

* formatting

* feat(Explore): Viz gallery component tweaks (#15520)

* separate viz gallery from the modal

* use gallery directly in add slice view

* more formatting on the add slice container

* restyle the thumbnail list

* explicit thumbnail width and height

* remove crappy hack

* remove useless line

* comment

* sort categories

* comments

* tweak search behavior

* fix tests

* open gallery to the currently selected viz type

* null safety

* show all plugins when searching empty string

* get the new metadatas

* adjust categories scrolling behavior

* add time series table metadata

* upgrade superset-ui

* attempt fixing tests

* upgrade descriptions

* fix unit test

* attempt fixing e2e again

* max width for viz gallery

* update package lock

* undo unnecessary webpack changes

* don't show search results until something is entered

* force modal to open to selected viz type

* tweaks to search behavior

* gallery layout tweaks

* enshrine pivot table v2 in a place of honor

* feat(viz): Clear viz gallery when navigating between categories (#15577)

* start viz gallery with null selection, clear when switching categories

* fix AddSliceContainer tests

* show a message when there is no viz type selected

* composition > inheritance

* clarify searching code

* comment

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-07-12 10:59:10 -07:00
Phillip Kelley-Dotson d8a15e60b9
refactor: icon to icons for sqllab (#15593)
* initial commit

* rid of theme

* Update superset-frontend/src/SqlLab/components/ShareSqlLabQuery.tsx

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/ShareSqlLabQuery.tsx

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

* Update superset-frontend/src/SqlLab/components/ShareSqlLabQuery.tsx

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-07-12 10:24:16 -07:00
Phillip Kelley-Dotson 79d3d06c8a
refactor: icon to icons for homepage and card compompents (#15624)
* initial commit

* add listviewcard

* remove plural
2021-07-12 10:23:45 -07:00
Beto Dealmeida 5d86ffe768
fix: duplicate DB names (#15614) 2021-07-12 09:36:46 -07:00
simcha90 d70ac21054
fix(native-filters): Fix required filters (#15572)
* fix:fix get permission function

* fix: filters required state

* fix: fix CR notes

* fix: removre required message

* fix: fix validation state
2021-07-12 08:55:11 -03:00
Amit Miran 62a8f2e193
chore(python-testing): move memoized tests to unit tests (#15507)
* chore: move memoized test into a separated file

create integration test workflow

* chore: create unit test workflow to run purely pytest

* fix: bad reference

* fix: remove pip requirements bc there aren't any yet

* temp: install unit dependencies directly

* fix: --rootdir=

* fix: try to run only unit test

* chore: decouple memoized as separated module

* fix: bring back dependencies bc superset top-level module is coupled to flask and others so no reason no to do it

* fix: reference

* fix: pre-commit

* fix: pylint
2021-07-12 10:00:18 +03:00
Jacob Kim 9ed8ce53ed
docs: fix typos in docs (#15113)
* Fix small typo

* shareding -> sharding

* commant -> command

* Update helm version
2021-07-10 16:00:04 -04:00