Commit Graph

10981 Commits

Author SHA1 Message Date
Beto Dealmeida fa104fee9a
chore: use pkg_resources for cleaner config (#18130) 2022-01-24 11:44:15 -08:00
Beto Dealmeida 1c0b141e2d
feat: allow assets to be managed externally (#18093)
* feat: allow assets to be managed externally

* Use server_default
2022-01-24 11:03:01 -08:00
Kamil Gabryjelski c77d24cda3
fix: undefined error when adding extra sequential color scheme (#18152) 2022-01-24 19:20:49 +01:00
Farid Rener 350da92f98
Docs: fix typo (#18125) 2022-01-24 09:19:37 -08:00
Kamil Gabryjelski e632193eb0
feat(explore): more toast feedback on user actions in Explore (#18108)
* feat(explore): add toasts feedback when user copies chart url

* Show toast message when updating chart properties

* Change toast type to success when saving chart

* Use success toast from props

* Fix tests

* Use withToasts instead of dispatch

* Use PropertiesModalProps instead of any
2022-01-24 11:42:24 +01:00
Kamil Gabryjelski d9eef8ec2f
feat(dashboard): add toast feedback to dashboard actions (#18114) 2022-01-24 11:42:12 +01:00
Kamil Gabryjelski 9fa2812343
feat(annotation): add toast feedback to annotation templates (#18116) 2022-01-24 11:41:39 +01:00
jayakrishnankk 4b89ac7447
chore: migrating storybook jsx to typescript #18100 (#18133)
* Migrating storybook jsx to typescript #18100

* Migrating storybook jsx to typescript

Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2022-01-24 14:32:18 +08:00
Hammad-Raza 0cec0c9a68
feat(country-map): added new countries in country-chart-map (#18081) 2022-01-22 12:05:20 +08:00
Ville Brofeldt e9651ea52f
feat(plugin-chart-echarts): support non-timeseries x-axis (#17917)
* feat(plugin-chart-echarts): support non-timeseries x-axis

* fix tests

* change formula return type from Date to number

* add x_axis test coverage

* rename func and improve coverage

* add x-axis control to bar chart

* remove redundant console.log

* fix description

* make x-axis control mandatory

* 🙃

* fix x-axis formatter

* fix showValues

* fix implicit rDTTM_ALIAS references in postProcessing

* replace TIME_COLUMN with DTTM_ALIAS

* fix remaining implicit indexes

* fix: Disable filtering on wide result sets (#18021)

* fix: handle null values in time-series table (#18039)

* cleanup column_type_mappings (#17569)

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* important change to MakeFile (#18037)

* add missing is_timeseries to pivot op

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: Grace Guo <grace.guo@airbnb.com>
Co-authored-by: Đặng Minh Dũng <dungdm93@live.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-01-21 21:23:23 +02:00
Stephen Liu b083b3421f
fix(explore): fix chart embed code modal glitch (#17843) 2022-01-21 09:11:33 -07:00
Michael S. Molina 959b15eeca
feat: Adds a key-value endpoint to store charts form data (#17882)
* feat: Adds a key-value endpoint to store charts form data

* Fixes linting problems

* Removes the query_params from the endpoints

* Refactors the commands

* Removes unused imports

* Changes the parameters to use dataclass

* Adds more access tests

* Gets the first dataset while testing

* Adds unit tests for the check_access function

* Changes the can_access check

* Always check for dataset access
2022-01-20 16:27:57 -03:00
Elizabeth Thompson 1f8129241b
update changelog and updating for 1.4.0 (#18083) 2022-01-20 09:38:43 -08:00
Daniel Vaz Gaspar 5fb8b0a13a
fix: logging warning on dataframe (don't use python's warnings) (#18111)
* fix: logging warning on dataframe (don't use python's warnings)

* lint
2022-01-20 16:24:30 +00:00
Adam Dobrawy a5e805ef2a
refactor: migrate RowCountLabel to TypeScript & added story (#18105)
* enable superbook for explore component

* migrate RowCountLabel to TypeScript

* add storybook for RowCountLabel
2022-01-20 15:35:09 +01:00
Adam Dobrawy c3a17a7228
Migrate Checkbox story to tsx - see #18100 (#18101)
Looks good!
2022-01-20 15:33:45 +01:00
Adam Dobrawy 5ce79ff856
fix(docs): fix path of image for "Create New Chart" (#18089) 2022-01-20 15:33:12 +01:00
Josue Lugaro 035638c958
refactor: sqleditorleftbar to functional (#17807)
* Working on converting sqleditorleftbar to functional component

* Creating draft PR to address bug

* Still working on solving re rendering bug

* infinite rerender fix

* Creating draft PR to address bug

* Cleaning up in preparation for push

* Made changes suggested by Elizabeth

* Fixed issues as per Lindsey's comment

Co-authored-by: Arash <arash.afghahi@gmail.com>
2022-01-19 15:06:28 -06:00
Emily Wu f505094835
fix misspelling (#18097) 2022-01-19 15:56:52 -05:00
Beto Dealmeida 9e2bc72fb9
chore: split CLI into multiple files (#18082)
* chore: split CLI into multiple files

* Update tests

* Who fixes the fixtures?

* Add subcommands dynamically

* Rebase
2022-01-19 11:27:16 -08:00
ofekisr 810cfc13db
fix can't use examples helpers on non app context based environment (#18086) 2022-01-19 20:16:15 +02:00
Adam Dobrawy f53a267ffb
Correction of proper names format in README (#18087) 2022-01-19 09:20:40 -05:00
Stephen Liu 22896f2803
feat: add chart description in info tooltip (#17207)
* feat: add chart list description

* fix: text overflow

* fix: text-overflow with line-height
2022-01-19 21:24:17 +08:00
ofekisr 4675ca31c5
refactor(example_data): replace the way the birth_names data is loaded to DB (#18060)
* refactor: replace the way the birth_names data is loaded to DB

* fix failed unit test

* fix failed unit test

* fix failed tests

* fix pass wrong flag of support datetime type

* remove unused fixture
2022-01-18 23:21:04 +02:00
AAfghahi 88db2cc0ab
refactor(sql_lab): SQL Lab Persistent Saved State (#17771)
* a lot of console logs

* testing

* test

* added saved_query to remoteId

* created useEffect so that title properly changes in modal

* Update superset-frontend/src/SqlLab/actions/sqlLab.js

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-01-18 13:10:31 -05:00
Ville Brofeldt 5bfe2d47b0
fix(generator): add lockfile and fix styling issues (#18073)
* fix(generator): add lockfile and fix styling issues

* fix margins and remove redundant scroll

* update tutorial
2022-01-18 12:37:09 +02:00
Stephen Liu 3b64563f3f
fix(dashboard): scope of nativefilter not update (#18048) 2022-01-18 16:51:51 +08:00
Yongjie Zhao 0c7f7288d8
feat(advanced analytics): support groupby in resample (#18045) 2022-01-17 18:42:59 +08:00
Ville Brofeldt 8dea7f500b
fix(generator): more cleanup to plugin framework (#18027)
* fix(generator): more cleanup to plugin framework

* fix typo and package name

* add docs

* fix typo

* Update superset-frontend/webpack.config.js

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* fix generator reference

* add steps to tutorial and fix package version

* refine docs/readme

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-01-17 10:23:35 +02:00
Ville Brofeldt de8a1fa9c6
chore(plugin-chart-echarts): add types to controls (#18059) 2022-01-16 14:21:47 +02:00
ofekisr e53a50a155
chore(supeset.utils.core): move all database utils to database utils module (#18058) 2022-01-16 08:32:50 +02:00
Đặng Minh Dũng 0b67fe1beb
feat: Trino Authentications (#17593)
* feat: support Trino Authentications

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* docs: Trino Authentications

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 21:02:47 -08:00
Hugh A. Miles II 5da3c45fc6
Revert "Update superset-e2e.yml (#18041)" (#18051)
This reverts commit b5652739c9.
2022-01-14 14:40:02 -05:00
Hugh A. Miles II b5652739c9
Update superset-e2e.yml (#18041) 2022-01-14 13:32:39 -05:00
AAfghahi 7728db7410
important change to MakeFile (#18037) 2022-01-14 10:22:30 -05:00
Đặng Minh Dũng 5a740901d6
cleanup column_type_mappings (#17569)
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 11:07:17 +02:00
Grace Guo 26dc600aff
fix: handle null values in time-series table (#18039) 2022-01-13 21:47:07 -08:00
Erik Ritter 343d3f8f7a
fix: Disable filtering on wide result sets (#18021) 2022-01-13 10:11:18 -08:00
Erik Ritter 14b9298ef7
fix: revert #17654 to fix subselect table name parsing (#18017) 2022-01-12 21:28:23 -08:00
Beto Dealmeida 51090c3f1b
feat: shorter timeout on test_connection (#18001)
* feat: shorter timeout on test_connection

* pip-compile-multi --no-upgrade

* Fix for SQLite

* Return 408

* Add test
2022-01-12 13:01:34 -08:00
Corbin Robb 6bd4dd257a
feat(timeseries-chart): add percentage threshold input control (#17758)
* feat(timeseries-chart): add percentage threshold control for stack series labels

* feat: move threshold vlues to an array

* add tests for showValue, onlyTotal, and percentThreshold

* feat: add another test

* revert ChartProps typesetting, fix misnamed variable on form data type, and other minor changes

* fix percentage threshold push equation

* fix percentage threshold push equation in tests

* change default on control to match form

* attempt fix form defaults import

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-01-12 14:46:27 -06:00
Erik Ritter 27000da2f8
fix: SQL Lab sorting of non-numbers (#18006) 2022-01-12 11:09:59 -08:00
AAfghahi 536ca1f62c
chore(DatasourceEditor): Create Datasource Legacy Editor Feature Flag (#18003)
* a lot of console logs

* adding new feature flag for datasource editor
2022-01-12 14:02:53 -05:00
AAfghahi 5e84fd19a9
refactor: Migration for Tabbed Sql Editor (#17925)
* a lot of console logs

* migration for tabbed Sql Editors
2022-01-12 12:25:24 -05:00
Jesse Yang f451081166
feat(chart): add Mexico to country map viz (#18007) 2022-01-12 08:41:12 -08:00
John Bodley 63ca09e345
fix: Workaround for sqlparse issue #652 (#17995)
* fix: Workaround for sqlparse issue #652

* Update superset/sql_parse.py

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

* Update sql_parse.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-12 14:03:56 +13:00
John Bodley ce614ea815
fix: Adhere to series limit ordering for prequery (#17388)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-01-12 09:47:31 +13:00
Ajay M bdc35a2214
feat(alerts): Select tabs to send backend (#17749)
* Adding the extra config and validation

* wip

* reports working

* Tests working

* fix type

* Fix lint errors

* Fixing type issues

* add licence header

* fix the fixture deleting problem

* scope to session

* fix integration test

* fix review comments

* fix review comments patch 2

Co-authored-by: Grace Guo <grace.guo@airbnb.com>
2022-01-11 10:48:50 -08:00
Yongjie Zhao 46715b295c
refactor: remove unused ts-jest (#17996) 2022-01-11 23:43:45 +08:00
Daniel Vaz Gaspar 412189fcb7
fix: Change default SECRET_KEY, improve docs and banner warning (#17984)
* fix: Change default SECRET_KEY, improve docs and banner warning on default

* lint

* Update superset/initialization/__init__.py

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

* add a secret migration procedure, update UPDATING

* fix lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-11 15:13:04 +00:00