Commit Graph

11932 Commits

Author SHA1 Message Date
Hugh A. Miles II 84b852c457
fix: properly set `owners` to Sqlatable.owners_data inside payload (#20794)
* properly set owners_data for sqlatabl

* fix test
2022-07-20 14:56:08 -04:00
John Bodley 5a04a28518
refactor: Blossom metric fields for dataset API column selection (#20732) 2022-07-20 10:01:32 -07:00
Just[in]Do it! 1debacaaca
feat(dashboard): Make FilterBar width resizable (#20778)
* Add Resizable panel in DashboardBuilder to adjust the width for FiltersPanel
* store the adjusted width for individual dashboard in localStorage to memorize the state
* migrate DashboardBuilder test code by testing-library and jest
2022-07-20 09:56:55 -07:00
Beto Dealmeida 2c5201fa4b
fix: Databricks views showing up as tables (#20674) 2022-07-20 09:31:42 -07:00
Stephen Liu d90b973235
fix(plugin-chart-echarts): layout broken when resizing (#20783)
* fix(plugin-chart-echarts): layout broken when resizing

* use useLayoutEffect
2022-07-20 09:40:39 -06:00
Stephen Liu d925b0c883
fix(heatmap): add detail descriptions for heatmap 'normalize across' (#20566)
* fix(heatmap): change 'Normalize Across' to 'Color Based On' and add some label

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-07-20 09:39:22 -06:00
Beto Dealmeida 2a4c7cfb2a
chore: add user agent to Databricks requests (#20660) 2022-07-20 08:17:52 -07:00
Hugh A. Miles II 81bd4968d0
fix: set allow `filter_select` for Query objects in Explore (#20754)
* set allow filter select

* add small comment

* add better logic

* remove condition and reference it in backend
2022-07-20 09:08:02 -04:00
Yongjie Zhao 9c7bcfcead
fix: core coverage and add a coverage step in workflow (#20784)
* fix: core coverage

* add step in workflow
2022-07-20 08:56:03 -03:00
Cody Leff 5ed85f59a1
Fix missing metadata. (#20684) 2022-07-20 07:31:21 -03:00
Yongjie Zhao bb5b8e4c4f
chore: add coverage command in package.json (#20769) 2022-07-20 18:30:30 +08:00
Jesse Yang a64cdec8c2
fix(db): set slices.query_context to MEDIUMTEXT for mysql (#20779) 2022-07-19 18:12:44 -07:00
Phillip Kelley-Dotson 1d9d505a6e
fix: datasourcedao datasource not found error (#20725)
* first fix

* remove prints

* run pc

* fix linter

* commit
2022-07-19 13:45:46 -07:00
Cody Leff 84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

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>
2022-07-19 13:53:55 -03:00
John Bodley e1fd90697c
fix(csv): Do not coerce persisted data integer columns to float (#20760)
* Replace pd.DataFrame.from_records with pd.DataFrame

* Remove unused code

* Update core.py

* Update core.py

* Update csv.py

* Update core.py
2022-07-19 09:52:47 -07:00
John Bodley 8c0ac9017f
fix: Presto _show_columns return type (#20757) 2022-07-19 09:52:22 -07:00
Jesse Yang e2d3ea831a
fix(db): use paginated_update for area chart migration (#20761) 2022-07-19 07:20:46 -07:00
Diego Medina 115ab700df
fix(sql lab): MultiSelector component render twice (#20706)
* fix(sql lab): MultiSelector component render twice

* filter null/undefined tables
2022-07-19 08:33:15 -03:00
Beto Dealmeida e60083b45b
chore: upgrade SQLAlchemy to 1.4 (#19890)
* chore: upgrade SQLAlchemy

* Convert integration test to unit test

* Fix SQLite

* Update method names/docstrings

* Skip test

* Fix SQLite
2022-07-18 15:21:38 -07:00
Craig Rueda 90600d1883
Fixing broken node build (#20727) 2022-07-18 15:19:54 -07:00
Hugh A. Miles II 1101922178
fix change dataset (#20751) 2022-07-18 14:23:11 -04:00
Michael S. Molina 92f3621c75
fix: Error when saving datasource from Explore (#20749) 2022-07-18 14:35:19 -03:00
Hugh A. Miles II 510c1c4817
fix: set reference to columns properly for sqllab -> explore (#20747)
* set reference to columns properly

* fix logic
2022-07-18 12:32:31 -04:00
Yongjie Zhao 5990ea639e
fix: getting default value in run-server.sh (#20736) 2022-07-18 23:00:27 +08:00
Ernesto Ruiz 776d211dae
docs: add Platzi.com to users list (#20705)
Add Platzi to INTHEWILD.md
2022-07-17 15:29:24 -04:00
Multazim Deshmukh 883241070f
fix: make max-requests and max-requests-jitter adjustable (#20733)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
2022-07-17 20:59:16 +08:00
Elizabeth Thompson bbaa4cc65d
use existing row when id is found (#20661) 2022-07-16 00:00:39 -07:00
Hugh A. Miles II e5e8867394
feat: Visualize SqlLab.Query model data in Explore 📈 (#20281) 2022-07-15 19:34:02 -04:00
Beto Dealmeida c70d102b73
fix: logger message (#20714) 2022-07-15 07:51:59 -07:00
Michael S. Molina 4495868b44
fix: Fixes the instructions to publish to PyPi (#20710) 2022-07-15 08:38:56 -03:00
John Bodley a6abcd9ea8
fix: Address regression in main_dttm_col for non-dnd (#20712)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-14 23:51:03 -07:00
Jesse Yang 08d2d37dbc
chore: add apache header for 2.0 changelog (#20713) 2022-07-15 10:18:42 +08:00
John Bodley 5285f3d640
Update api.py (#20711) 2022-07-14 18:51:24 -07:00
Jesse Yang 2cb4fd31f1
refactor(test): add login_as_admin in global conftest (#20703) 2022-07-14 18:10:31 -07:00
Srini Kadamati 5beb1aa2f5
docs: WIP release notes for 2.0 (#20490)
* WIP: release notes for 2.0

* draft of 2.0 release notes

* tidied up formatting

* cleaned up anchors

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

Co-authored-by: Stephen Liu <750188453@qq.com>
2022-07-14 15:51:46 -04:00
Michael S. Molina c362c0ed11
chore: Updates CHANGELOG.md and UPDATING.md with 2.0.0 changes (#20709) 2022-07-14 16:09:33 -03:00
Yongjie Zhao 6b0bb80a6d
fix: columns are lost when dashboard to explore (#20699) 2022-07-14 15:43:33 +08:00
Diego Medina 558201c865
fix: "Refresh Dashboard" only refreshes active tab (#20688) 2022-07-14 11:52:36 +08:00
GuinsooLab e1ade31987
Update intro.mdx (#20557)
duplicate
2022-07-13 21:02:31 -04:00
Daniel Vaz Gaspar e6b0141c67
fix(releases): docker build on M1 npm run build fails (#20700) 2022-07-13 23:53:31 +01:00
vladik-hbinov 41125a4b83
Added pyodbc (#20598) 2022-07-13 16:13:41 -04:00
Lionel GUILLAUD 415b50cc4c
Update elasticsearch.mdx (#20695)
Configuration to get rid of "urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)"
2022-07-13 16:07:04 -04:00
Antonio Rivero Martinez 5510af36cc
Save Dataset Modal: (#20691)
- Stop clearing the selected dataset after overwritting so users can overwrite as many times as they see fit
- There's a new AsyncSelect we should use now
2022-07-13 12:12:28 -06:00
Michael S. Molina 2a705406e1
refactor: Unify shared datasources reducers and actions (#20645)
* refactor: Unify shared datasources reducers and actions

* Removes column_types

* Adjusts hydrateExplore

* Revert "Removes column_types"

This reverts commit 096bbf7826.

* Fixes test
2022-07-13 13:03:36 -03:00
Michael S. Molina ec2eb3ddf8
refactor: Renders addSlice in SPA (#20675)
* refactor: Renders addSlice in SPA

* Removes unused imports

* Fixes test imports

* Removes unnecessary imports
2022-07-13 08:50:58 -03:00
Stephen Liu acdb271422
fix(line-chart): Formula Annotations on Line Charts are broken (#20687) 2022-07-13 16:42:11 +08:00
Stephen Liu bd6037ef50
fix(treemap-v2): color scheme not work when there is only one dimension (#20671) 2022-07-13 16:06:44 +08:00
Diego Medina effa7d9f58
fix(dashboard): Native filter on the dashboard with multiple tabs is displayed as out of scope (#20693) 2022-07-13 16:03:23 +08:00
Usiel Riedl 19247cc92a
Fixes datatable crash when dimension is empty (#20680)
Fixes #20679

Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2022-07-13 14:54:33 +08:00
Cody Leff b1020e3062
chore(explore): Update chart save to use API endpoints (#20498)
* Update SaveModal to use v1 API instead of POST /explore.

* Refactor SaveModal tests and remove obsolete ones.

* Fix redirect to /explore on save.

* Add toasts (but they don't work).

* Move logic inside try block, clarify unary-plus use.

* Add tests.

* Fix owners bug in updateSlice, enable navigation to dashboard w/o reload.

* Fix toasts.

* Fix translated strings.

* Fix unintended removal from dashboard bug.

* Fix native filters bug.

* Don't refresh Explore page after saving

* Use JSON payload shorthand.

* Prevent current dashboards being overwritten on viz type change.
2022-07-13 06:36:31 +02:00