Commit Graph

1219 Commits

Author SHA1 Message Date
Victor Malai
77093a874e
Add inclusive and exclusive for date start and end (#12859) 2021-02-04 14:55:02 +08:00
Victor Malai
137cf5d4d9
Add row limit control for timeseries table (#12887) 2021-02-04 14:29:14 +08:00
Ville Brofeldt
86b982a0a3
fix(viz): bump table viz to fix ordering bug (#12930) 2021-02-03 16:29:23 -08:00
Phillip Kelley-Dotson
76c225db7e
feat(explore): clear search on dataset change (#12909) 2021-02-03 00:02:45 -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
simcha90
275e57f4f1
feat(style-theme): add support for custom superset themes (#12858)
* feat(style-theme): add support for custom superset themes

* refactor: update var names

* refactor: update name of theme
2021-02-02 13:09:49 +02:00
simcha90
5a9bf53246
refactor(color-schemes): refactor setting of color schemes (#12857)
* refactor(color-schemes): refactor setting of color schemes

* refactor: fix TS types
2021-02-02 11:31:21 +02:00
simcha90
465d986617
feat(native-filters): Add defaultValue for Native filters modal (#12199)
* refactor: sync Scoping tree with Forms data

* refactor: update scoping tree

* refactor: update scope tree logic to be more UX friendly

* test: fix tests

* lint: fix lin CR notes

* chore: temp

* fix: fix jsx

* feat: Init value

* refactor: move effect to utils

* chore: add comments

* feat: updates for default value in native filters

* refactor: move multi values management to Modal

* feat: added currentState to filterState
fix: Reset all fixed

* style: update filter styles

* fix: process selection of same filter

* fix: fix double choose select

* fix: fix order of cascading filters

* fix: fix CR comments

* fix: fix CR comments
2021-02-02 11:28:12 +02:00
ʈᵃᵢ
941d924df3
fix(menu): always show settings dropdown (#12877) 2021-02-02 09:17:15 +00: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
Jesse Yang
783aae19c9
chore: bump superset-ui packages to v0.17.2 and v0.17.3 (#12854)
* chore: bump superset-ui packages to v0.17.2 and v0.17.3

* Bump also the nvd3 chart
2021-02-01 14:32:55 +02:00
Agata Stawarz
30be86f811
chore(native-filters): Connect indicator magnifier with Filter Bar (#12812)
* Add direct path to child to native filter components

* Implement focus for cascading filters

* Remove empty line
2021-01-30 15:15:44 +02:00
Ville Brofeldt
61e56b5027
fix(explore): add current savedMetric to dropdown (#12835) 2021-01-29 22:51:35 +02:00
Lyndsi Kay Williams
8bc5c40eab
refactor: change Windows new tab shortcut to ctrl + q (#12772) 2021-01-29 12:49:13 -05:00
Kamil Gabryjelski
c6093a7469
fix: Remove double tooltip from metric label (#12736)
* Remove tooltip from AdhocMetricOption

* Lint fix

* Add tooltip for adhoc metrics

* Typo fix
2021-01-29 17:01:58 +02:00
Nikola Gigić
1603e82a03
chore(explore): Metric/Column and Filter popover unexpectedly closes on scroll (#12817)
* fix

* address filter popup
2021-01-29 16:53:00 +02:00
Jesse Yang
e3db935c62
refactor: migrate table chart to new API (#10270)
* refactor: migrate table chart to new API

* chore: bump superset-ui to 0.17.0

* Fix Cypress tests

* Apply soft-conversion to numeric metrics

Fix time column formatting test

* Add translation to chart does not exist error

* Bump to 0.17.1
2021-01-29 13:12:09 +02:00
Yongjie Zhao
642a76f6cc
fix(explore): time picker can not be switched between now and specific (#12793)
* fix(explore): time picker can not be switched between now and specifc

* fix linting

* fix type

* fix UT
2021-01-29 13:35:57 +08:00
Kamil Gabryjelski
fcaa0acad5
chore: Upgrade react-dnd to 11.1.3 (#12815) 2021-01-28 18:34:56 -08:00
Ye Ding
34549cb5b7
docs: Add support for Hologres (#12710) 2021-01-28 16:36:06 -08:00
Moriah Kreeger
fa8c492acd
fix: rm grace period field for reports modal (#12800)
* add rc4 changelog entries

(cherry picked from commit 5719fefdd4)

* only show grace period for alerts + fix dropdown styling

* fix lint

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-01-28 15:17:14 -08:00
Lyndsi Kay Williams
17bdaaaa2d
refactor: Updated tooltip help text in edit database > SQL Lab settings (#12795) 2021-01-28 13:27:29 -05:00
Kamil Gabryjelski
14de7b4791
feat(explore): Make metric title respond to changes immediately (#12747)
* Make metric title respond to changes immediately

* Bug fix

* Change type to Metric

* Bug fix
2021-01-28 08:58:39 +02:00
Nikola Gigić
c475f6b173
chore(explore): Reorder dataset search results based on property relevance (#12770) 2021-01-27 17:49:02 -08:00
Daniel Vaz Gaspar
11ca7301b5
docs: fix 1.0.0 README images (v2) (#12792) 2021-01-27 18:50:54 +00:00
Daniel Vaz Gaspar
044d1ae3a3
docs: fix, keep old names from screenshot images to pypi releases (#12664)
* fix: keep old names from screenshot images to pypi releases

* change db logos to github raw content

* add gallery link
2021-01-27 13:53:03 +00:00
Ville Brofeldt
997befcacd
fix(explore): pass partitionColumn when creating new adhoc filter (#12789)
* fix(explore): pass partitionColumn when creating new adhoc filter

* add default value to state

* remove duplicated code

* update translations
2021-01-27 15:48:54 +02:00
Ayan Ginet
7acbb3c845
fix(explore): Dataset icon remains constant when dragging. (#12761)
* fix: constant icon size

* clean up
2021-01-27 14:10:36 +08:00
ʈᵃᵢ
3ed915146d
fix(alerts/reports): misconfigured useEffect hook breaks form validation in prod builds (#12779) 2021-01-26 13:44:15 -08:00
simchaNielsen
da63b4b0ea
test(native-filters): scoping tree in native filters modal (#12655)
* test: add test to scoping tree in native filters

* test: rename mocks
2021-01-26 14:23:07 +02:00
Michael S. Molina
6bf5d2c06d
Fix tests errors and warnings - iteration 3 (#12212) (#12219) 2021-01-25 23:40:59 -08:00
Michael S. Molina
22d52eadb2
Fix tests errors and warnings - iteration 5 (#12212) (#12224) 2021-01-25 23:35:57 -08:00
Michael S. Molina
20503f92ae
Fix tests errors and warnings - iteration 6 (#12212) (#12227) 2021-01-25 23:34:05 -08:00
simchaNielsen
4d04565c9a
feat(native-filters): apply scoping of native filters to dashboard (#12716)
* feat: scoping native filters in dashboard

* test: add tests / fix reducer

* test: fix tests

* chore: merge with master

* fix: fix undefined cases

* fix: fix code according cypress

* refactor: fix mocks according CRs

* chore: re run pipeline
2021-01-26 09:29:49 +02:00
Michael S. Molina
0c08bb87c3
Fix tests errors and warnings - iteration 4 (#12212) (#12223) 2021-01-25 23:24:41 -08:00
Michael S. Molina
0fc9da6be7
Fix tests errors and warnings - iteration 7 (#12212) (#12245) 2021-01-25 23:19:16 -08:00
Jesse Yang
e8857bac04
fix: missing select menu background (#12759) 2021-01-25 22:19:55 -08:00
Jesse Yang
ab741d7218
fix(explore): incorrect missing datasource condition (#12758) 2021-01-26 12:37:38 +08:00
Phillip Kelley-Dotson
a5df4c60a2
feat: default timepicker to last week when dataset is changed (#12609)
* set up timepicker to last when dataset is changed

* simplify logic for dataset change

* update modal code

* remove uneeded code

* fix bug

* fix bug
2021-01-26 11:14:52 +08:00
Jesse Yang
55c8f9ba60
feat(explore): allow opening charts with missing dataset (#12705) 2021-01-25 15:09:03 -08:00
Jesse Yang
29ad78e11a
chore: upgrade Cypress to 6.2.1 (#12605) 2021-01-25 15:05:43 -08:00
Geido
1b2611c211
refactor(explore): Enhance Dataset and Control panel Collapse components (#12218) 2021-01-25 15:05:19 -08:00
Michael S. Molina
3fb183349f
Fix tests errors and warnings - iteration 2 (#12212) (#12214) 2021-01-25 12:03:16 -08:00
Kamil Gabryjelski
90856544e9
Replace space with tabulator and enter as separators (#12730) 2021-01-25 17:01:10 +02:00
Nikola Gigić
9ab804b2bd
chore[explore]: Save date if Ok not clicked (#12731)
* Save date if Ok not clicked

* answering. comments
2021-01-25 19:48:45 +08:00
Yongjie Zhao
307e3a9f65
chore(explore): added tooltips to timepicker (#12580)
* wip

* wip

* fix lint

* fix: tooltip cosmetic

* wip

* add license
2021-01-25 15:58:15 +08:00
Nikola Gigić
bcbd8f9326
chore(explore): Save Resizable width to localStorage (#12593) 2021-01-24 20:30:09 -08:00
Yongjie Zhao
9e58eb809e
fix(explore): deprecated x periods pattern in new time picker value (#12552) 2021-01-23 23:41:15 -08:00
Jesse Yang
ef839f674d
fix: remove whitespace at the bottom of select dropdown (#12699) 2021-01-24 09:10:32 +08:00
Kasia Kucharczyk
dc740ecc1e
[12486] Top tab dropdown indicator moved closer to the bottom of edge (#12658) 2021-01-23 15:48:38 +08:00
Ville Brofeldt
ede879022c
fix(multiline): return all chart data on initial request (#12660)
* fix(multiline): return chart data on data request

* bump package

* optimize chart retrieval and fix chart form_data
2021-01-23 15:01:50 +08:00
Agata Stawarz
0c38134e5c
fix(native-filters): Reset column field for removed dataset (#12519)
* Reset column field for removed dataset

* Fix issue with cleaning exisiting field

* Fix lint error and remove unnecessary import

* Change message text for wrong filter

* Add Basic Error Alert component

* Fix hiding error after filter correction
2021-01-23 13:24:31 +08:00
Agata Stawarz
b37598cc97
fix(native-filters): Improve UI for long native filters names (#12524)
* Fix UI for long native filters names

* Add Filter width const

* Refactor Filter Bar and Config Modal

* Break word for long Filter Control titles
2021-01-23 13:24:15 +08:00
Agata Stawarz
9c53ad48aa
fix(native-filters): Show incompatible native filters indicator (#12687)
* Show incompatible native filters indicator

* Add Native Filters mocks and tests to Filter Badge

* Compare filter names in deduplication logic

* Add indicator key

* Remove unnecessary import
2021-01-23 13:23:21 +08:00
Jesse Yang
7e77975d22
feat(explore): better search for dataset pane (#12675)
1. Upgrade match-sorter from 4.1.0 to 6.1.0
2. Add a debounce delay of 200 milliseconds to reduce excessive rendering (and searching)
3. Set keepDiacritics to true to improve performance
4. Display count of filtered results in "Showing x of xx", instead of the total results
5. Rank certified metrics to the top
2021-01-22 14:26:55 -08:00
Jesse Yang
55232e235a
fix: faster search for Change Dataset modal (#12669) 2021-01-22 14:26:02 -08:00
Geido
b32b6cd5de
fix(explore): Certified metric icons are various sizes (#12690) 2021-01-22 13:14:40 -08:00
Michael S. Molina
e80cd61e06
Apply capitalization guidelines - iteration 5 (#12343) (#12451) 2021-01-22 10:11:48 -08:00
Michael S. Molina
fc20e8b594
Apply capitalization guidelines - iteration 4 (#12343) (#12450) 2021-01-22 10:11:38 -08:00
Michael S. Molina
5d3265b6db
Apply capitalization guidelines - iteration 3 (#12343) (#12449) 2021-01-22 10:11:28 -08:00
Jesse Yang
57fa6d2cf9
fix: explore page style fix, remove unnecessary scroll bars (#12649)
* fix: various style touch on Explore page

* More style fixes

* Force 100% height for sidebars

* Fix linting
2021-01-22 09:18:13 -08:00
Michael S. Molina
7838f035ae
Apply capitalization guidelines - iteration 9 (#12343) (#12455) 2021-01-21 21:46:29 -08: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
Michael S. Molina
2a587f6cb1
Apply capitalization guidelines - iteration 6 (#12343) (#12452) 2021-01-21 21:45:44 -08:00
Michael S. Molina
8532e6d9e1
Apply capitalization guidelines - iteration 2 (#12343) (#12448) 2021-01-21 21:45:12 -08:00
Kamil Gabryjelski
6280b34483
fix(explore): don't allow selecting duplicated saved metric (#12657) 2021-01-21 15:51:59 -08:00
Kamil Gabryjelski
a90ebd94d4
fix(explore): Error message not displayed correctly in Timeseries table chart (#12659)
* Fix error message not displayed correctly in Timeseries table chart

* Fix lint error
2021-01-22 12:42:44 +13:00
Geido
3444d654ed
fix(explore): Scroll only table in Change Dataset and Edit Dataset Modals (#12598) 2021-01-21 10:34:41 -08:00
Ville Brofeldt
734fb75219
chore(viz): bump superset-ui packages to 0.16.9 (#12632) 2021-01-21 13:50:47 +02:00
Kasia Kucharczyk
effd717094
[12601] Hovered menu items on dashboard - brought back padding and added margin on top of chart (#12603) 2021-01-21 11:32:34 +02:00
Agata Stawarz
c72c39bffd
feat(native-filters): Show alert for unsaved filters after cancelling Filter Config Modal (#12554)
* Add Alert when native filter is canceled and not saved

* Improve styles and setting styles visible

* Improve displaying filter names

* Add tests for canceling native filter modal

* Fix linter errors

* Refactor Cancel Confirmation Alert
2021-01-20 20:57:28 -08:00
Srini Kadamati
7577f47706
docs: update README.MD and FAQ Page for Superset 1.0 launch (#12499)
* fixed whitespace

* commit exclusion of package-lock from large file size precommit hook

* Converted all PNG files to JPG files to save space, stay under <500kb file size

* added link to release notes for 1.0
2021-01-20 16:27:19 -08:00
Kasia Kucharczyk
b592165f68
fix: dropdown indicator in tabs has proper width and position (#12584)
Closes #12481 , partially fix #12486
2021-01-20 14:18:42 -08:00
Michael S. Molina
c85b4c75b1
Fix translation files and update documentation (#12595) 2021-01-20 10:50:24 -08:00
simchaNielsen
2463215d73
refactor: Sync Scoping tree with Forms data (#12171)
* refactor: sync Scoping tree with Forms data

* refactor: update scoping tree

* refactor: update scope tree logic to be more UX friendly

* test: fix tests

* lint: fix lin CR notes

* fix: fix jsx

* refactor: revert type changes

* refactor: revert type changes

* lint: fix lint

* lint: fix lint

* test: fix test

* fix: process initial dashboard case

* lint: fix lint / tests
2021-01-20 11:40:53 +02:00
Nikola Gigić
a422c765c7
chore(chart): Save modal select placeholder value (#12413)
* Fix SaveModal select value

* var name change and null

* Address Comments
2021-01-19 22:17:56 -08:00
Kamil Gabryjelski
853d34beba
fix(explore): Disable saved metric name edit in Metric popover (#12582) 2021-01-19 12:28:55 -08:00
Duy Nguyen Hoang
862ddd9cb4
fix: chart disappears in standalone slice (#12606) 2021-01-19 11:56:24 -08:00
Hugh A. Miles II
68fe2208ba
fix: save tabs when saving the query bug (#12607)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-01-19 14:27:48 -05:00
Geido
c347ddbfb6
Switch button position (#12604) 2021-01-19 10:26:46 -08:00
Evan Rusackas
dd4256a841 chore: bumping superset UI packages (0.16.7 + 0.16.8) (#12564)
* chore: package bump manifest (package.json)

* fresh package lock
2021-01-19 09:38:04 -08:00
Yongjie Zhao
9771b82c94
refactor(explore): move MetricControl and FilterControl to sub-component (#12446)
* wip

* wip

* wip

* wip

* move spec

* wip

* wip

* remove unused file

* wip

* wip

* Update superset-frontend/spec/javascripts/explore/components/AdhocFilterEditPopoverSqlTabContent_spec.jsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update superset-frontend/spec/javascripts/explore/components/AdhocFilterOption_spec.jsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update superset-frontend/spec/javascripts/explore/components/AdhocMetricEditPopoverTitle_spec.jsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-01-19 22:46:28 +08:00
Nikola Gigić
a0f3bb8dbe
feat(chart): Add expression, description and verbose name to search filter (#12549) 2021-01-18 09:38:19 -08:00
Kasia Kucharczyk
4ddb55b930
fix: row component handler is visible (#12498) 2021-01-17 16:38:17 -09: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
39c6ef2c75
fix: incorrect cursor position Firefox (#12423)
* fix: incorrect cursor position Firefox

* Use different font

* Fix lint

* Use Lucida Console
2021-01-15 14:00:23 -08:00
Beto Dealmeida
cce05e888b
fix: height on grid results (#12558) 2021-01-15 13:54:55 -08:00
Kamil Gabryjelski
e1eeeebe53
fix: Select options overflowing Save chart modal on Explore view (#12522)
* Fix select options overflowing modal

* fix unit test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-01-15 12:43:33 +02:00
Jesse Yang
1dd3344206
fix(explore): Add Time section back to FilterBox (#12537) 2021-01-14 22:09:33 -08:00
Jesse Yang
41b7eb3d04
fix(explore): time table control panel (#12532) 2021-01-14 19:17:35 -08:00
Agata Stawarz
57e37ed4d5
fix: Displaying filter indicators (#12252)
* Fix chart filter indicator to match native filter indicator

* Refactor indicators deduplication
2021-01-14 10:57:41 -08:00
Geido
c1b8a46d01
fix: Popover closes on change of dropdowns values (#12410) 2021-01-14 10:33:20 -08:00
Jesse Yang
eec78560f2
build: fix emotion theme errors when npm link @superset-ui/core (#12510) 2021-01-14 10:20:13 -08:00
Ville Brofeldt
78baf46eb2
ci(cypress): disable failing test (#12523) 2021-01-14 19:40:28 +02:00
Karol Kostrzewa
241f380e2e
test: World bank examples (#12161)
* add world bank data fixture

* fix fixture cleanup, add fixture to dashboard_tests

* apply world bank fixtures, fix tests

* fix fixture typo, dashboard ids

* fix export dashboard metadata

* fix test_export_dashboard_command_key_order

* fix export dash tests, not add row when no orphans

* debug timeout

* fixes after merge

* fix lint

* run pre-commit

* comment test for debug

* fix save.test.js

Co-authored-by: Karol Kostrzewa <karol.kostrzewa@polidea.com>
2021-01-13 14:20:05 -08:00
Michael S. Molina
87ac22ba52
Fix list filters vertical alignment (#12497) 2021-01-13 13:58:05 -08:00
Moriah Kreeger
628a9b2b7b
keep modal open on error, utilize useEffect (#12360) 2021-01-13 10:53:31 -08:00
Lily Kuang
908c0f2b52
remove crontab guru link (#12467) 2021-01-13 10:49:54 -08:00
Hugh A. Miles II
7ac6e61b96
fix: styling for change dataset confirmation (#12471) 2021-01-13 12:48:15 -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
Jesse Yang
f8270b0b80
fix(dashboard): use datasource id from slice metadata (#12483) 2021-01-13 18:49:51 +02:00
Ville Brofeldt
40a334aacf
feat(db-engine-specs): add support for Postgres root cert (#11720)
* feat(db-engine-specs): add support for Postgres root cert

* remove logging of json decode exception message

* fix error message

* fix error message
2021-01-13 13:39:28 +02:00
Evan Rusackas
7aba4c246a
chore: bump superset-ui deckgl plugin (#12466) 2021-01-13 00:10:47 -08:00
Michael S. Molina
551a3e4373
Fix uneven list header padding (#12029) (#12412) 2021-01-12 23:29:43 -08:00
Grace Guo
e9d66e904f
fix: do not show vertical scrollbar for charts in dashboard (#12478)
* fix: do not show vertical scrollbar for charts in dashboard

* Proper fix for #11419

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-01-12 17:16:25 -08:00
Beto Dealmeida
8f83afcf49
feat: new Slack dashboard (#12415)
* feat: new Slack dashboard

* Add ASL license

* Fix test
2021-01-12 15:24:44 -08:00
Kasia Kucharczyk
5f93a14f5d
fix(dashboard): artefacts shown while drag and dropping deck.gl charts (#12418)
* [12181] Fix artifacts while drag and dropping deck.gl charts.

* Run prettier
2021-01-12 12:06:48 -08:00
Michael S. Molina
6731cd0be6
chore: apply capitalization guidelines - iteration 1 (#12447)
Apply capitalization guidelines defined in #12343 

Use sentence casing for most places.
2021-01-12 10:47:55 -08:00
Kamil Gabryjelski
ed53b0090e
feat: Resizable dataset and controls panels on Explore view (#12411)
* Implement resizable panels on explore view

* Optimize chart rendering while resizing

* Make dataset column narrower

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-01-12 10:39:56 -08:00
Phillip Kelley-Dotson
d8f4443c10
bump superset-ui packages for rolling window change (#12426) 2021-01-12 09:50:01 -08:00
Junlin Chen
fe01e2d88d
fix(explore): fixed table header in chrome (#12432) 2021-01-12 09:17:00 -08:00
Hugh A. Miles II
1e527d54e7
fix: update savedatasetmodal message (#12433) 2021-01-12 11:58:29 -05:00
Ville Brofeldt
078a8a17a1
fix(native-filters): incorrect queriesData state (#12409) 2021-01-12 09:01:16 +02:00
Michael S. Molina
75f927b9eb
Fixes control panel fields styling (#12236) (#12326) 2021-01-11 16:47:10 -08:00
Geido
376723a1f5
chore: Show datasets when search input is empty (#12391) 2021-01-11 14:06:57 -08:00
Agata Stawarz
ddbcf5b0e9
fix: Refresh Interval Modal dropdown (#12406) 2021-01-11 11:58:28 -08:00
Grace Guo
9618f0786c
[explore] Prevent duplicated query by data table (#12404) 2021-01-11 11:37:54 -08:00
dependabot[bot]
ee53d82184
build(deps): bump urijs from 1.19.1 to 1.19.4 in /superset-frontend (#12232)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.1 to 1.19.4.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.1...v1.19.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 05:58:33 -08:00
Jesse Yang
ff7b789931
docs: reword and cleanup docs for local dev server (#11869) 2021-01-10 23:36:01 -08:00
Yongjie Zhao
23263da9f3
feat(explore): add tooltip to timepicker label (#12401) 2021-01-10 21:52:02 -08:00
Yongjie Zhao
c327cb911e
fix(explore): long metric name display (#12387)
* fix(explore): long metric name display

* add tooltip to control
2021-01-11 09:42:38 +08:00
Jesse Yang
9acf48fd1e
chore: upgrade eslint, babel, and prettier (#12393) 2021-01-10 17:26:35 -08:00
Junlin Chen
6bee3a0581
chore: change Datasource to Dataset in Explore ui (#12402)
* chore(explore):change dataset to datasource in ui

* modal

* Add space

* Changing it back🤦🏾‍♀️

* Chargeback
2021-01-10 12:53:51 -08:00
Junlin Chen
f13f2e2ed3
chore: Fix typo “Rest” to “Reset” (#12392) 2021-01-09 19:40:28 -08:00
Duy Nguyen Hoang
99de8a49b6
fix: explore replace wrong standalone slice url (#12359) 2021-01-09 13:32:06 -08:00
Geido
3eb0470a2f
Closes #12389 (#12390) 2021-01-09 22:18:59 +02:00
Kamil Gabryjelski
5d04f7dbce
fix: Data tables styling issues on Explore view (#12383)
* Fix sort icons wrapping

* Fix large table stretching chart section container

* Implement sticky paginattion

* Display "loading" when data is loading

* Lint fix
2021-01-09 18:04:53 +02:00
Kamil Gabryjelski
14ccbe43b3
Fix new metric popover showing previous popover's title (#12385) 2021-01-09 16:05:25 +02:00
Yongjie Zhao
64b49778c5
fix(explore): adhoc metric label and control value not consistent (#12381)
* fix(explore): adhoc metric label and control value not consistent

* minor fix

* fix lint
2021-01-09 17:59:09 +08:00
Ville Brofeldt
662b64960f
fix(explore): clear custom label if removed (#12382) 2021-01-09 01:41:41 -08:00
Kamil Gabryjelski
6a3103ff49
Fix filter popover under data table (#12377) 2021-01-09 00:54:39 -08:00
Kamil Gabryjelski
41751529a6
Update samples table when datasource changes (#12378) 2021-01-09 10:11:42 +02:00
Hugh A. Miles II
12504264e7
fix: datasets populating after user creation (#12368) 2021-01-08 21:04:00 -05:00
Phillip Kelley-Dotson
9c5be8e4d8
chore: make datasource search input sticky (#12365) 2021-01-08 17:08:07 -08:00
Kamil Gabryjelski
77b80c9431
fix: Fix chart resizing when using split view (#12362)
* Fix chart resizing when using split view

* Fix z-index issues
2021-01-08 15:20:51 -08:00
Jesse Yang
2210015aab
test: rename column names for birth_names dataset (#12082) 2021-01-08 14:13:20 -08:00
Kamil Gabryjelski
1d2789944c
Fix running query on every change in chart controls (#12361) 2021-01-08 12:56:45 -08: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
Kamil Gabryjelski
fd15dff60e
perf: Optimize performance of Results and Samples tables on Explore (#12257) 2021-01-08 12:07:51 -08:00
Michael S. Molina
76b06b215f
Fix CSS injection order (#12265) (#12353) 2021-01-08 11:08:34 -08:00
Nikola Gigić
737e6b4aee
chore(dashboard): Add ErrorBoudary for AdhocFilter components (#12352)
* Add ErrorBoudary for AdhocFilter components

* Add tests

* typo fix
2021-01-08 20:58:26 +02:00
Ville Brofeldt
78d3557757
fix(explore): improve filter translation (#12350)
* fix(explore): improve filter translation

* address review comments
2021-01-08 20:57:21 +02:00
Victor Malai
4d279935df
fix: Set width to pseudoelement to wrap filter box (#12306)
* fix: set width pseudoelement to wrap

* Fix

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
2021-01-08 10:09:37 -08: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
Evan Rusackas
d1767b9065
chore: bumping nvd3 plugin (and thus, nvd3-fork) (#12349) 2021-01-08 16:08:31 +02:00
simchaNielsen
fecfc34cd3
feat: move filters from superset-ui to incubator (#12154)
* feat: move filters from superset-ui to incubator

* refactor: add safety check

* refactor: move extraForm data utils

* refactor: move extraForm data utils

* lint: fix lint

* chore: add license

* chore: undo changes to file

* refactor: fix CR notes / add tests

* test: update tests

* fix: fix range logic

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
2021-01-08 14:44:25 +02:00
Evan Rusackas
d760e885d7
window.location > history.push (#12347) 2021-01-07 22:26:31 -08:00
Phillip Kelley-Dotson
a30064b2e8
remove datataset from title (#12344) 2021-01-08 09:51:38 +08:00
Beto Dealmeida
f83afb44c8
feat: new COVID vaccination dashboard (#12338) 2021-01-07 17:48:10 -08:00
Lily Kuang
627642162b
chore: change order of tab on explore data panel (#12335) 2021-01-07 16:50:11 -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
Geido
5088e570bf
Reduce z-index (#12334) 2021-01-07 12:59:11 -08:00
Geido
547c356b4c
Fix menuPortal dropdown z-index (#12330) 2021-01-07 12:08:36 -08:00
Lily Kuang
076c31da22
fix(alert/report): add/edit modal can't be saved (#12311)
* api error from previous prevent the new get api endpoint to be called

* add clear error to hooks
2021-01-07 09:38:13 -08:00
Michael S. Molina
ca07c8cd39
Fix select overlap by aggregate button (#12312) (#12327) 2021-01-07 23:35:38 +08:00
Jesse Yang
bcb8db621c
build: improve webpack configs for npm link (#12313) 2021-01-06 23:36:24 -08:00
Amit Miran
8214237638
feat: Custom color schemes support (#12210)
* feat: setupColors.ts support
docs: add FAQ to custom color schemes

* fix: delete mistake lines

* fix: CR note

* feat: support for SETUP_EXTRA

* fix: remove after cr

* fix: CR note

* fix: after CR migrate from SETUP_EXTRA into 2 color scheme array

* fix: typing issues

* fix: python generic typing

* chore: add neat code examples
2021-01-07 09:07:00 +02:00
Agata Stawarz
1459b34390
chore: improve styles for collapsed Native Filter sidebar (#12282)
* Improve styles for collapsed Native Filter sidebar

* Replace width for Wrapper with gridUnits
2021-01-06 22:57:25 -08:00
Geido
4e6613d11f
fix(explore): metrics caret not expanding in datasource panel (#12305)
* Closes #12233

* Remove accordion and set both sections open
2021-01-06 22:48:22 -08:00
Phillip Kelley-Dotson
506edf432d
fix: update search in datasource panel to use matchSorter (#12319)
* update search to use matchSorter

* remove conosles
2021-01-06 21:55:57 -08:00
dependabot[bot]
8f7c7d43a3
build(deps): bump ini in /superset-frontend/cypress-base (#12019)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 14:55:40 -08:00
dependabot[bot]
eb3c2b2b11
build(deps): bump ini from 1.3.5 to 1.3.8 in /superset-frontend (#12021)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 12:22:30 -08:00
Yongjie Zhao
1f8347228e
fix(explore): timepicker show human readable string in pill (#12300)
* fix(explore): timepicker show human readable string in pill

* fix lint
2021-01-06 22:37:35 +08:00
Kamil Gabryjelski
e660723a2f
fix(explore): bugs in Custom SQL editor in filter popover (#12278)
* Fix Save button disabled until clause is switched

* Fix 'undefined undefined' when sql query is empty

* fix test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-01-06 15:08:20 +02:00
Amit Miran
b221417e19
chore: remove harmless incubator refs (#12289)
* chore: migrate all harmless incubator refs like comments and documentation files

* chore: migrate all superset.incubator.apache.org to superset.apache.org to

* chore: migrate dist.apache.org refs

* chore: removing incubating and Disclaimer

* fix: linting issues
2021-01-06 13:45:19 +02:00
Moriah Kreeger
b01276808e
fix null check for condition threshold to allow 0 values (#12295) 2021-01-05 21:50:21 -08:00
Kamil Gabryjelski
d0668fa7e4
Bump superset-ui deps (#12280) 2021-01-05 21:48:21 -08:00
Kamil Gabryjelski
c8ad5c90bd
fix: Fixed width for dataset panel (#12221) 2021-01-05 21:08:03 -08:00
Maxwell Amante
6df8224381
chore(home): add ErrorBoundary to Charts section (#12239) 2021-01-05 20:39:56 -08:00
Rob DiCiuccio
b4f6d353c9
Cypress: ignore unrelated ResizeObserver client errors (#12297) 2021-01-05 17:44:02 -08:00
Michael S. Molina
1b908ab9f1
Fix tests errors and warnings - iteration 1 (#12212) (#12213) 2021-01-05 16:24:57 -08:00
Geido
147605cb40
fix: Issue #12004 timegrain not visibile (#12258)
* Fix hidden dropdown when overflowing

* Remove unnecessary space

* Remove unused var
2021-01-05 16:17:56 -08:00
Victor Malai
553b440e4b
fix: Show Data panel on resize (#12250)
* Show Data panel on resize

* Revert back tableSectionHeight

* FIx lint
2021-01-05 16:13:07 -08:00
Victor Malai
2bf06d666b
fix: Add visibility to box for viewing menu items (#12153)
* Add visibility to box for viewing menu items

* Add scroll visibility
2021-01-05 16:05:26 -08:00
Geido
66349d86a4
fix: Add min-height for loading indicator to show up (#12288)
* Add min-height for loading indicator to show up

* Remove unnecessary height
2021-01-05 15:36:17 -08:00
dependabot[bot]
230c0c2357
build(deps-dev): bump storybook-addon-paddings in /superset-frontend (#12192)
Bumps [storybook-addon-paddings](https://github.com/rbardini/storybook-addon-paddings) from 2.0.2 to 3.2.0.
- [Release notes](https://github.com/rbardini/storybook-addon-paddings/releases)
- [Commits](https://github.com/rbardini/storybook-addon-paddings/compare/v2.0.2...v3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 15:08:37 -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
d4a854e84b
fix : Style caret for profile page (#12215)
* Add flex to panel

* Remove hover effect, remove undeline

* FIx lint
2021-01-04 23:31:52 -08:00
Kamil Gabryjelski
d204b024b7
Set datasource panel open by default (#12211) 2021-01-04 22:41:50 -08:00
Ville Brofeldt
8afc4c4a44
fix(explore): bump superset-ui to 0.16.3 and fix DeckGL bug (#12242) 2021-01-04 22:01:09 -08:00
Yongjie Zhao
b349edef29
feat(explore): Time picker enhancement follow up (#12208)
* refactor layout

* WIP

* fix typing

* styling

* fix lint

* frontend IT

* rename variable

* added quarter

* typos

* refine code structure
2021-01-04 18:29:17 -08:00
Kamil Gabryjelski
811e1b273b
fix: Altered button crashing and title not updating on Explore view (#11960)
* Fix chart name not updating

* Fix AlteredSliceTag crashing

* Update name after it's changed in another modal
2021-01-04 16:14:06 -08:00
Victor Malai
8ecf82de5a
Remove uppercase for tab names (#12217) 2021-01-04 14:58:45 -08:00
Hugh A. Miles II
7d88e6b891
fix: Change Datasource styling fixes (#12165) 2021-01-04 14:51:15 -05:00
Lily Kuang
ff0fe434e4
feat(report): add/edit modal improvements (#12183)
* alert/report modal improvements

* update spec for alert report modal
2021-01-04 09:15:55 -08:00
Kamil Gabryjelski
7cc0de1694
Refetch samples only when filters change (#11999) 2021-01-01 16:08:19 -08:00
Kamil Gabryjelski
f3ab1f41ee
feat: Implement drag & drop for metrics and filters labels (#12184) 2020-12-24 20:46:37 -08:00
Victor Malai
b75a1ec71e
fix: align submenu items (#12193) 2020-12-23 16:58:55 -08:00
Beto Dealmeida
3acfd826de
feat: add new dashboard with FCC data (#12163) 2020-12-23 14:54:50 -08:00
ʈᵃᵢ
3fb4e54690
fix(alerts/reports): ensure correct type is sent to api (#12189)
* fix(alerts/reports): ensure correct type is sent to api

* fix: chane actions labels to generic Edit/Delete

* fix: ts-ignore

* fix: add more dependencies to callback functions

* fix: remove duplicate api calls when toggling between types

* lint
2020-12-23 12:38:11 +00:00
Agata Stawarz
4ac00a0954
fix(chart): rendering standalone chart and errors (#12179) 2020-12-23 11:06:08 +00:00
Agata Stawarz
93af329078
chore: Add Loading icon to Filter Bar (#12158)
* Add Loading icon to Filter Bar

* Change Loading Box height to gridUnits
2020-12-22 18:19:18 -08:00
Jesse Yang
d2da25a621
refactor: remove queryFields in QueryObject and update chart control configs (#12091)
* Clean up queryFields

* Clean up unused vars

* Bump chart plugins

* Bringing changes in #12147
2020-12-22 17:10:19 -08:00
Beto Dealmeida
de61859e98
fix: SQL Lab vertical space (#12187) 2020-12-22 17:05:52 -08:00
Ville Brofeldt
41fac6b0d9
fix(explore): save chart not working (#12178)
* fix(explore): save to dashboard not working

* fix test
2020-12-22 23:18:36 +02:00
Nikola Gigić
a52031a55e
chore: Change chart_is_fav to chart_is_favorite (#12075)
* Change chart_is_fav to chart_is_favorite

* Trigger cypress tests

* Retrigger cypress tests

* Retrigger all tests

* Dashboard

* Additions
2020-12-22 10:03:26 -08:00
Victor Malai
9b110b2aa5
refactor: Refresh interval typescript (#12168)
* Refresh interval

* WIP
2020-12-22 09:55:42 -08:00
Agata Stawarz
942e3210b5
Fix Filter Bar scrolling (#12156) 2020-12-22 12:09:13 +02: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
Jesse Yang
e2f676445b
test(dashboard): fix flaky Cypress test (#12151) 2020-12-21 20:40:33 -08:00
Beto Dealmeida
ce1abc98df
chore: rename variable for clarity (#12159) 2020-12-21 13:39:13 -08:00
Agata Stawarz
17769ca96e
Fix Reset All filters button (#12157) 2020-12-21 20:11:39 +02:00
Victor Malai
eecdd20301
refactor: Explore SaveModal to typescript (#11997)
* Explore SaveModal to typescript

* Fix test

* Fix

* Fix lint

* update SaveModal without any type

* Update

* Fix lint

* Fix lint

* Fix test

* Fix

* Fix

* Fix lint

* Refactor

* Fix
2020-12-21 08:56:36 -08:00
Lily Kuang
0d9c863b6e
fix(report): fix start date format and paginated query (#12132)
* fix: start date format for executation log

* fix: paginated query
2020-12-21 13:01:47 +00:00
ʈᵃᵢ
ba952ba39d
fix(database): adjust column sizing for list view (#12146) 2020-12-20 21:26:20 -08:00
David Aaron Suddjian
b5dd0f32cc
feat: Dynamically imported viz plugins (#10288)
* first attempts at dynamic plugin loading

* dynamic import working for explore

* memoize appropriately

* add a backend for dynamic plugins

* hack at getting dynamic plugins working with dashboards

* more work on making it work, + feature flag

* lint

* actions to fix explore state when plugins load

* handle dynamic control panel, functionify ExploreViewContainer

* fix: rearrange migrations branch

* fix: name and key as strings with length 50

* bundle url length 2000

* bundle url to text
for some reason not supported on my sql

* fix: too long varchart

* fix: pre-commit typing

* fix: licenses

* fix: add slice container was not initing feature flags

* fix: undo linting issue

* fix: adjust down revision again

* fix: adjust down revision again

* isort

* pylint

* god damn linters

* remove unnecessary(?) loading message

* only log non-standard errors

* testing

* python is terrible

* see above commit message

* fix imports in DynamicPluginProvider

* fix

* shift migration forward

* lint

* fix form data calculations to handle missing control config

* temp commit - waiting for superset-ui changes and crud fixes

* remove unnecessary todo

* use new superset-ui shared module function

* fetch the plugins instead of hardcoding the test one

* migration sort

* remove duplicated import statement

* format

* try moving the import 🙄

* copy

* fix frontend tests

* safe access

* comment out dead code

* isort

* disable pylint on necessary lines

* use @superset-ui/logging instead of console

* remove temp code

* rearrange some code

* try triggering mouseover in cypress before click

* use loading spinner instead of text

* trying to fix cypress

* attempt cypress fix

* customize permissions

* update package lock

* only admins can write to plugins by default

* better copy

* disable flaky tests

* use makeApi

* flaky tests

* cleanup code

* flaaaakkkyyyyyy

* dry

Co-authored-by: amitNielsen <amit.miran@nielsen.com>
2020-12-19 07:06:11 -08:00
Evan Rusackas
4a471b8c71
feat: Native filters fast-follow (#12138)
* wip: filter create modal

* add a feature flag

* automatic changes to package lock

* wip

* filter sidebar and basic state management

* move create button to the sidebar

* first step for edit filterconfig

* partially fix tests...

* edits to types and comments

* respect feature flag on the filter sidebar

* add filterconfig form

* get input state working

* feat: tree filter scopes UI

* fix: turn on flag

* sticky filter bar

* stop preferring default export

* feat: finish filter scoping

* fix: under toggle

* fix: title

* fix: add licence

* refactor: update TS

* fix: fix on reopen modal + validation

* new filter bar menu

* adding, but commenting out, bulk scoping action

* adding some placeholder buttons and styles therefor

* feat: add filter chart

* add relative path to package.json

* update modal

* a little input styling... just getting warmed up

* Revert "feat: add filter chart"

This reverts commit b1302d35b6.

* Revert "add relative path to package.json"

This reverts commit 26a7b40e18.

* https package lock idk

* feat: add filter chart

* add relative path to package.json

* flexboxes all the way down

* dynamically generate groupby and datasource in select control

* big wip

* fix target column name

* no importing nonexistent things

* styles and name editing

* Add hook for retrieval of all filter states

* start with a new filter when clicking add filter

* handle removed filters gracefully

* fix incorrect default filter configuration

* add fields to useAllFilterState

* add redux for filterconfigs

* add support for native_filters

* remove consoles

* improve filter removal

* unbreak infinite loop

* basic sidebar toggling working!

* collapsing and menu working more smoothly

* linting

* make dataset and column inputs work

* save filter values properly

* add dashboard event for filter updates

* guarded

* apply filters properly

* fix schema

* making New Filter button a link

* gridunits ftw

* centering modal

* tis not a button anymore! nixing type.

* plus and collapse buttons instead of "more" menu

* updating full size filter icons

* adding icons to filter collapsing/expanding

* turning off animation, but leaving class-based animation css

* fix linting error

* fix native filters for legacy charts

* updates test

* no individual apply buttons

* fix bugs with filter config modal

* remove redundant code

* switch to the filter with validation errors on submit

* separate form validation

* switch config button from add to edit

* switch to the filter with validation errors on submit

* separate form validation

* switch config button from add to edit

* update tests

* oops forgot to add the fancy new useChangeEffect hook

* comments and code reorganization

* rename native_filters to extr_form_data and move hook

* disable native filters in viz selector

* add cascading

* implement new extra form data api

* cleanup

* updates tests

* bump npm packages

* fix bad merge on package.json + lock

* lint

* replace in and not in with uppercase

* lint

* lint

* lint

* lint

* bulk test fix

* Sort select input alphabetically

* Change type for sorting elements

* sleeker filter removal UX

* fix rest of unit tests

* make filter operators all uppercase

* Hide Filter bar when there are no filters

* Show edit button for dashboard owners only

* Add visible argument to filters toggle function to avoid future regression

* Improve Toggle filters bar function

* lint

* fix js lint + set createNewOnOpen

* Handle setting extra form data in Filter Bar instead of Filter Control

* Add Handle apply filter function to Apply button

* Allow applying changes instantly

* Fix types

* remove console logs

* fix package

* Add Error Boundary component to Filter bar and Filter Config Modal

* fix jest tests

* update native filters tests to pass

* reset cypress baseUrl

* remove unnecessary field

* Add Parent Filter input field to Config Modal

* Create Cascade Filter & display children filters

* Add Cascade Popover

* Display Filter value both in Filter Bar and in Cascade Popover

* Display the youngest filter value label in the Filter bar

* Add styles to Cascade Popover and filters

* Force to apply changes instantly for parent filters and refactor styles

* Show error for no cyclical hierarchy and refactor

* Add validation for parent filter to be applied instantly

* Add Error Boundary to Filter Config Modal

* cleanup: remove unused state fields

* move unrelated types to an appropriate location

* remove misplaced resource fetch error logic

* fix cascadeParentIds error

* fix cypress password

* initial attempt at fixing scope issue

* fix bad merge

* fix lint

* trying out makeApi for saving filters

* remove unused import

* fix test

* silence bad test

* Improve styling of Filter Config Modal

* Improve styles for whole native filters feature

* Add styles for active filter tab

* Fix text for scoping

* Clean up Filter Bar and Config Modal styles

* Remove fractional gridUnits. Change name for CheckboxFormItem. Add placeholder to Parent Filter select.

* Remove unnecessary button size for Config Modal

* add native-filter feat flag config

* oops fix here

* remove space

* Update superset-frontend/src/common/components/index.tsx

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

* Update superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilters.test.ts

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

* Add Cache Wrapper helper to avoid datasets requests deduplication

* Add license to new Cache Wrapper helper

* Add Cache Wrapper tests

* Fix expanding Filter Bar

* use styledMount in tests

* comment

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar.tsx

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterConfigForm.tsx

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterConfigModal.tsx

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterConfigurationLink.tsx

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

* address PR feedback

* fix package lock

* null guards

* Fix charts resizing

* removing emotion/react and going old school on css animation

* fxing css glitch on scoping disclaimer

* src paths.

* using gridUnits

* nixing unnecessary diamonds

* linting

* fix type errors

* Inverting collapsed icons... closer to data src selector design

* restoring feature flag to proper default setting

* missing condition

* fix tests

* patching test

* just a button

* flaky tests

Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
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: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
Co-authored-by: Agata Stawarz-Pastewska <agata.stawarz-pastewska@polidea.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-12-19 01:57:06 -08:00
ʈᵃᵢ
de047c6c31
fix(chart): replace viz_type with viz name from registry for list view (#12144) 2020-12-18 23:22:47 -08:00
Phillip Kelley-Dotson
585c8acd75
fix height (#12145) 2020-12-18 22:33:40 -08:00
David Aaron Suddjian
865beae3d8
feat(dashboard): Dashboard-Native Filters (#11814)
* wip: filter create modal

* add a feature flag

* automatic changes to package lock

* wip

* filter sidebar and basic state management

* move create button to the sidebar

* first step for edit filterconfig

* partially fix tests...

* edits to types and comments

* respect feature flag on the filter sidebar

* add filterconfig form

* get input state working

* feat: tree filter scopes UI

* fix: turn on flag

* sticky filter bar

* stop preferring default export

* feat: finish filter scoping

* fix: under toggle

* fix: title

* fix: add licence

* refactor: update TS

* fix: fix on reopen modal + validation

* new filter bar menu

* adding, but commenting out, bulk scoping action

* adding some placeholder buttons and styles therefor

* feat: add filter chart

* add relative path to package.json

* update modal

* a little input styling... just getting warmed up

* Revert "feat: add filter chart"

This reverts commit b1302d35b6.

* Revert "add relative path to package.json"

This reverts commit 26a7b40e18.

* https package lock idk

* feat: add filter chart

* add relative path to package.json

* flexboxes all the way down

* dynamically generate groupby and datasource in select control

* big wip

* fix target column name

* no importing nonexistent things

* styles and name editing

* Add hook for retrieval of all filter states

* start with a new filter when clicking add filter

* handle removed filters gracefully

* fix incorrect default filter configuration

* add fields to useAllFilterState

* add redux for filterconfigs

* add support for native_filters

* remove consoles

* improve filter removal

* unbreak infinite loop

* basic sidebar toggling working!

* collapsing and menu working more smoothly

* linting

* make dataset and column inputs work

* save filter values properly

* add dashboard event for filter updates

* guarded

* apply filters properly

* fix schema

* making New Filter button a link

* gridunits ftw

* centering modal

* tis not a button anymore! nixing type.

* plus and collapse buttons instead of "more" menu

* updating full size filter icons

* adding icons to filter collapsing/expanding

* turning off animation, but leaving class-based animation css

* fix linting error

* fix native filters for legacy charts

* updates test

* no individual apply buttons

* fix bugs with filter config modal

* remove redundant code

* switch to the filter with validation errors on submit

* separate form validation

* switch config button from add to edit

* update tests

* oops forgot to add the fancy new useChangeEffect hook

* comments and code reorganization

* rename native_filters to extr_form_data and move hook

* disable native filters in viz selector

* add cascading

* implement new extra form data api

* cleanup

* updates tests

* bump npm packages

* fix bad merge on package.json + lock

* lint

* replace in and not in with uppercase

* lint

* lint

* lint

* lint

* bulk test fix

* Sort select input alphabetically

* Change type for sorting elements

* fix rest of unit tests

* make filter operators all uppercase

* Hide Filter bar when there are no filters

* Show edit button for dashboard owners only

* Add visible argument to filters toggle function to avoid future regression

* Improve Toggle filters bar function

* lint

* fix js lint + set createNewOnOpen

* Handle setting extra form data in Filter Bar instead of Filter Control

* Add Handle apply filter function to Apply button

* Allow applying changes instantly

* Fix types

* remove console logs

* Add Error Boundary component to Filter bar and Filter Config Modal

* fix jest tests

* update native filters tests to pass

* reset cypress baseUrl

* remove unnecessary field

* cleanup: remove unused state fields

* move unrelated types to an appropriate location

* remove misplaced resource fetch error logic

* fix cascadeParentIds error

* fix cypress password

* initial attempt at fixing scope issue

* fix bad merge

* fix lint

* trying out makeApi for saving filters

* remove unused import

* fix test

* silence bad test

* add native-filter feat flag config

* oops fix here

* remove space

* Update superset-frontend/src/common/components/index.tsx

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

* Update superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilters.test.ts

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

* use styledMount in tests

* comment

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar.tsx

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterConfigForm.tsx

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterConfigModal.tsx

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

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterConfigurationLink.tsx

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

* address PR feedback

* fix package lock

* null guards

* Fix charts resizing

* fix cypress tests

* add in nativefilters to form data

* fix lint and test

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: Evan Rusackas <evan@preset.io>
Co-authored-by: Agata Stawarz-Pastewska <agata.stawarz-pastewska@polidea.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-12-18 17:06:37 -08:00
Beto Dealmeida
fa27ed1147
feat: display suggestions when query has missing parameters (#12113)
* WIP

* camelCase everything

* Hide 'fix did you mean?'
2020-12-18 16:08:30 -08:00
Evan Rusackas
f653a8de30
fix(explore): overflow issue with metric options (#12129)
* fixing overflow issue

* lint!
2020-12-18 14:14:07 -08:00
Michael S. Molina
a6ac2c1245
Improves chart save and go button (#12125)
Resolves #11748
2020-12-18 13:17:31 -08:00
Geido
f4ce831a10
feat: View all fav charts and dashboards (#12060)
* Add fav filter - tentative

* Closes #11984

* Fix tests

* Delete trailing spaces

* Fix spec btns length

* Fix mock test

* Add urlDisplay option

* Redirect with history

* Catch initial fav filter
2020-12-18 13:16:07 -08:00
Kamil Gabryjelski
2a23744223
feat: Add Saved Metrics tab to metrics popover (#12123)
* Implement saved metrics

* Fix bug in sql editor

* Fix unit tests

* Fix outlines in popovers

* Add types for saved metrics

* Add translations

* Move savedMetricType to a separate file
2020-12-18 11:11:49 -08:00
Jesse Yang
8e625e0a64
fix: properly render booleans in FilterBox and explore page data preview (#12116) 2020-12-18 10:40:56 -08:00
Jesse Yang
d543ca87fb
fix: fix the flaky FilterBox test re-introduced by #12114 (#12124) 2020-12-18 10:31:33 -08:00
simchaNielsen
49ec13c68c
feat: Support multiple queries per request (#11880)
* refactor: add queriesData fields for multiple queries

* feat: support multi queries request

* lint: fix lint

* lint: fix lint

* lint: fix lint

* fix: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

* fix: fix error case for multi queries

* feat: change queryResponse to queriesResponse

* fix: revert webpack

* test: fix tests

* chore: lint

* chore: adjust asyncEvent to multiple results

* fix: lint

* fix: eslint

* fix: another eslint rule

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2020-12-18 09:15:27 -08:00
Phillip Kelley-Dotson
35addee3ae
feat(explore-datasource): add new datasource tab to explore view (#12008)
* update to datsource tab

* second update

* style updates

* update style and fix metrics bug

* updates to datsource panel

* backgrounds and borders

* more updates

* shuffling some paddings around

* more updates

* moving some more paddings around!

* Fixing sidebar width

* using Global to adjust body layout

* update test and fix bug

* removing hotkeys

* layout fixes for short content, simplifying some class names

* more styles

* add tooltip to collapse and div clickable

* more updates

* more updates for styles and add list component

* update from comments

* vising cosmetic issue with line-wrapping drop down caret on controls sections

* controls area scrolling properly again.

* change lists to old list and updates from comments

* border radius from theme

* add length field and updates from comments

* more changes from comments

* integrate health with new control

* change callapse back from stylsheet more udpates

* substitution string

* more substitution strings

* fix tests

* datasource alignment

* taking margin off the search input

* update input to flex

* fix lint

* adjusting column/metric label stylng

* fixing scrollable area layout, one more color variable

* simplifying some styles

* nixing a bad left margin

* Using gridunit for padding

* using gridUnit for padding

* define types for datsource panel

* fixing a padding issue

Co-authored-by: Evan Rusackas <evan@preset.io>
2020-12-18 01:49:05 -08:00
Jesse Yang
af130ea5e9
fix: FilterBox select lose focus when focused (#12114) 2020-12-18 00:45:27 -08:00
Moriah Kreeger
1cf4a1b3ea
fix: updates to alert/report modal + more tests (#12045)
Co-authored-by: Tai Dupree <tdupreetan@gmail.com>
2020-12-17 23:50:17 -08:00
ʈᵃᵢ
ddd2ec59af
fix(alerts/reports): modal submit button, copy changes, select apis (#12110) 2020-12-17 23:02:04 -08:00
Beto Dealmeida
6e7f276775
feat: initial custom error messages for SQL Lab (#12080) 2020-12-17 22:58:21 -08:00
Yongjie Zhao
b592cc7e73
feat(explore): time picker enhancement (#11418) 2020-12-17 18:27:21 -08:00
Lily Kuang
92fdf54aa3
feat: update alert/report icons and column order (#12081)
* update alert/report icons and column order

* add alert solid small

* update status icon tooltip placement
2020-12-17 15:27:19 -08:00
Kamil Gabryjelski
b61e243f39
feat(explore): metrics and filters controls redesign (#12095)
* Redesign metrics control

* Redesign filters control

* Bugfixes

* Fix unit tests

* Fix tests

* Code review fixes
2020-12-18 00:13:37 +02:00
ʈᵃᵢ
d1dfe82d6c
feat(alerts/reports): add refresh action (#12071) 2020-12-17 11:29:46 -08:00
Daniel Vaz Gaspar
790ac5ef87
feat(databases): security perm simplification (#12036)
* feat(databases): security perm simplification

* fix tests

* fix JS tests
2020-12-17 12:37:05 +00:00
Daniel Vaz Gaspar
dd5cdb1b5f
feat(dashboards): security permissions simplification (#12012)
* feat(dashboards): security perm simplification

* fix tests

* fix tests

* remove unnecessary mapping

* fix JS tests

* fix cypress test and explore endpoint

* update alembic down revision

* Merge branch 'master' into feat/security-converge-dashboards

# Conflicts:
#	superset/constants.py
#	tests/security_tests.py
2020-12-17 09:53:13 +00:00
Victor Malai
51c3b7156c
chore: Remove unused CodeModal (#11972)
* Transform code modal to tsx

* Fix

* Fix

* Remove unused modal

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
2020-12-16 23:44:58 -08:00
Jesse Yang
02c6a0befc
Fix typescript error (#12074) 2020-12-16 21:50:56 -08:00
Hugh A. Miles II
655834b25c
fix: Fix "View in SQLLab" bug (#12086) 2020-12-16 21:59:46 -05:00
Moriah Kreeger
08b3ebea5e
feat(alert/report): add 'not null' condition option to modal (#12077) 2020-12-16 17:13:37 -08:00
Evan Rusackas
90ca49f3d6
bumping superset ui to 15.18 and deckgl to 0.3.2 (#12078) 2020-12-16 15:46:37 -08:00
Moriah Kreeger
8d29381446
reset active tab on open (#12048) 2020-12-16 14:38:29 -08:00
Beto Dealmeida
69185eed67
fix: improve import flow UI/UX (#12070)
* fix: improve import flow UI/UX

* Reset modal after import

* Adjust margin before overwrite text
2020-12-16 13:08:39 -08:00
ʈᵃᵢ
e299dbf797
feat(alerts/reports): delete and bulk delete actions (#12053) 2020-12-16 12:57:29 -08:00
Evan Rusackas
9be9034f1a
feat: Global nav menus open on hover (#12025)
* hover opens menus

* hover opens menus

* linting, removing some styles I added

* moving useState up (non-conditional)

* just a tweak to prevent a conflict.
2020-12-16 11:55:38 -08:00
Nikola Gigić
48fb8c0b77
fix(dataset): Page blanks on large data load (#11979)
* Implement pagination in <TableView> for Samples preview

* Increase page size

* Fix lint

* Render cells based on width

* Fix lint errors

* Additional tests and changes

* Search bar fix

* Additional fixes

* Suggested changes
2020-12-16 16:35:12 +02:00
Daniel Vaz Gaspar
2302adb61a
feat(datasets): security perm simplification (#12000)
* feat(datasets): security perm simplification

* feat(datasets): security perm simplification

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* include SqlMetricInlineView converge and fix JS tests

* update to current alembic revision
2020-12-16 11:49:03 +00:00
Kasia Kucharczyk
9c8b65d03f
feat(annotations): security permissions simplification (#12014)
* Changed security permissions for annotations and annotation layers

* Updated permissions in annotation layers list

* Created test for retrieving premissions info. Updated uris from f-strings to strings

* Updated annotations in security_tests and added annotations to NEW_SECURITY_CONVERGE_VIEWS

* Added migration for annotations security converge

* Updated current revision after rebase master

* Updated migration name to annotations security converge

* Updated annotations permissions names in AnnotationLayersList and updated test since 'can_write' has wider permissions

* Updated annotations migration to current
2020-12-16 09:08:06 +00:00
Geido
0ee03ae440
fix: Closes #11864 - Duplicate PropertiesModal (#12038)
* Closes #11864

* Fix typo
2020-12-16 10:01:34 +02:00
Kamil Gabryjelski
794d318989
refactor: Migrate react-select to Antd Select in Metrics and Filters popovers (#12042)
* Migrate react-select to Antd select in Metrics popover

* Fix tests

* Migrate react-select to Antd select in Filters popover

* Migrate SelectControl to Antd Select

* Add label with number of options left
2020-12-15 21:20:10 -08:00
Beto Dealmeida
8bda6b0bd9
feat: show missing parameters in query (#12049)
* feat: show missing parameters in query

* Fix lint

* Address comments

* Simplify error message

* Use f-string in helper function
2020-12-15 18:47:40 -08:00
Grace Guo
8da1900d8a
feat: add hook for dataset health check (#11970)
* feat: add hook for dataset health check

* add event log

* optimize datasource json data like certified data

* add unit test

* fix review comments

* extra code review comments
2020-12-15 18:12:06 -08:00
Moriah Kreeger
52e970a520
fix(annotation layers): remove redirect on layer edit (#12063) 2020-12-15 12:21:10 -08:00
Victor Malai
12e086dc61
refactor: Transform URLShortLinkModal to Typescript (#11971)
* Transform jsx modal to tsx modal

* Change required type

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
2020-12-15 08:12:00 -08:00