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
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
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
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
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
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
Hugh A. Miles II
e5e8867394
feat: Visualize SqlLab.Query model data in Explore 📈 ( #20281 )
2022-07-15 19:34:02 -04: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
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
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
Kamil Gabryjelski
5317462b49
Revert "feat: Reuse Dashboard redux data in Explore ( #20668 )" ( #20689 )
...
This reverts commit ff5b4bc0e4
.
2022-07-12 16:48:08 -03:00
Kamil Gabryjelski
ff5b4bc0e4
feat: Reuse Dashboard redux data in Explore ( #20668 )
2022-07-12 19:17:25 +02:00
Phillip Kelley-Dotson
c795dc23b9
feat: have user go to explore after dataset creation ( #19965 )
...
* feat: have user go to explore after dataset creation
* change flow to create chart
* fix lint
* update with suggestions and add store for toasts
* fix ts
* fix test
* lint
2022-07-12 09:11:31 -07:00
Yongjie Zhao
8d4994a899
fix: superset-ui/core code coverage ( #20676 )
2022-07-12 13:34:27 +08:00
Yongjie Zhao
7f918a4ec0
fix: annotation broken ( #20651 )
...
* fix: annotation broken
* fix UT
* add annotation data to mixed timeseries chart
2022-07-11 16:23:57 -06:00
dependabot[bot]
6ee9be203a
chore(deps-dev): bump jsdom from 16.4.0 to 20.0.0 in /superset-frontend ( #20649 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...20.0.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:46 -06:00
dependabot[bot]
9484600b9a
chore(deps): bump moment from 2.29.2 to 2.29.4 in /superset-frontend ( #20644 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:22 -06:00
Diego Medina
c29261b63d
fix: X Axis should be called Y Axis when using the Bar Chart V2 on Horizontal mode ( #20659 )
2022-07-09 12:36:16 +08:00
Jack Fragassi
dfab521f50
fix(embedded): Ensure guest token is passed to log endpoint ( #20647 )
...
* Pass guest token to sendBeacon
* Add tests
2022-07-08 15:17:01 -07:00
Phillip Kelley-Dotson
e1a918f141
fix: enable admin to edit dataset in explore ( #20613 )
...
* add conditional
* add test
* fix lint
2022-07-08 11:22:45 -07:00
AAfghahi
0ce0c6e1eb
chore: removing Druid from front- and back- end ( #20338 )
...
* first pass at removing native Druid nosql
* removing having_druid
* addressing comments, linting
* fixed all tests
* addressing comments
* redirected to ui-core TimeGranularity type
* query form metric linting
* fixed broken chart type
* implementing feedback
2022-07-08 17:57:03 +02:00
Evan Rusackas
9856d88c03
feat(handlebars plugin): adding handlebars helpers for common math operations ( #20648 )
...
* feat(plugin-chart-handlebars): add common helpers
* add import
* add declare module
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-07-08 08:10:29 -06:00
Antonio Rivero Martinez
e33164024a
Database Modal: ( #20637 )
...
- Since our DatabaseConnectionForm is wrapped in a AntD Form, we need to ensure our custom design is applied in the upload input instead of AntD default one for file input type=file.
2022-07-07 14:49:56 -06:00
cccs-RyanK
1109fe5fb7
chore: Split Select component into Async and Sync components ( #20466 )
...
* Created AsyncSelect Component
Changed files to reference AsyncSelect if needed
* modified import of AsyncSelect, removed async tests and prefixes from select tests
* fixed various import and lint warnings
* fixing lint errors
* fixed frontend test errors
* fixed alertreportmodel tests
* removed accidental import
* fixed lint errors
* updated async select
2022-07-07 15:51:37 -03:00
dependabot[bot]
30c1631350
chore(deps): bump got in /superset-frontend/cypress-base ( #20469 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:35:13 -06:00
dependabot[bot]
c91c5643c4
chore(deps): bump parse-url from 6.0.0 to 6.0.2 in /superset-frontend ( #20614 )
...
Bumps [parse-url](https://github.com/IonicaBizau/parse-url ) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases )
- [Commits](https://github.com/IonicaBizau/parse-url/commits )
---
updated-dependencies:
- dependency-name: parse-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:12:31 -06:00
Smart-Codi
962252030b
fix: Add database search in available charts on dashboard. ( #19244 )
...
* add database search
* resolve lint issue
* add test for sliceEntities actions
* fix lint issue
* add licence into test
* fix pipeline broken
* fix sort by recent
* resolve comment
2022-07-07 11:24:47 -06:00
Kamil Gabryjelski
de4f7db57e
feat(dashboard): Transition to Explore with React Router ( #20606 )
...
* feat(dashboard): Use react-router for transition to Explore + cmd click to open in new tab
* Update tooltip
* Add a feature flag
* Update edit chart onclick event
* Fix lint
* Fix tests
* Change feature flag name
* Add tooltip to Edit chart
2022-07-07 11:52:03 +02:00
Yongjie Zhao
34e1336bca
fix: controls validator glitch ( #20623 )
2022-07-07 17:21:14 +08:00
stevetracvc
7e504ff680
feat: truncate long values in table viz, a per-column setting ( #19383 )
...
* feat: truncate long values, a per-column setting
* fix: lint
* fix: removed width for column control
* fix: removed truncate option for time, bool, and numeric columns
* prevent extra div if not truncating
2022-07-06 22:16:48 -06:00
Diego Medina
ac01a1b02f
chore: Set table viz default row limit to 1000 ( #20475 )
2022-07-06 22:09:23 -06:00
smileydev
c992ff3be4
fix(import): Show the error message with db install guide when exist the importing db issue ( #20573 )
...
* fix(import): make to update the error display when importing resurce
* fix(import): make to update the error message
2022-07-06 13:51:42 -06:00
David Aaron Suddjian
db088e9e2f
chore: rename "uiOverrideRegistry" -> "extensionsRegistry" ( #20628 )
...
* uiOverrideRegistry -> extensionsRegistry
* better comments
* missed a spot
* missed another spot
* url
2022-07-06 11:35:19 -07:00
Michael S. Molina
662bab1e6d
feat: Renders Explore in SPA ( #20572 )
...
* feat: Renders Explore in SPA
* Adds permalink support
* Replaces navigation from Welcome page
* Fix initializing feature flags
* Remove redundant import
* Adds saveSlice workaround
* Fixes paths
* Fixes lint error
* Fixes tests
* Fix url to explore from Datasets view
* Fix explore page height
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-05 16:58:09 -03:00
Phillip Kelley-Dotson
9da7c1f7b8
feat: hack db connection modal ctabtns ( #20017 )
...
* add flow for dbconnmodal to datasetmodal
* fix bug
* second part
* fix dataset to sql lab
* fix lint
* more lint
* add key value
* fix type
* add new styling
* remove undefined from types
2022-07-05 08:56:12 -07:00
Rahul Raj
4137fe03a0
fix(schedule-query): getUISchema function called in SchemaForm component ( #20256 )
...
* Revert "Superset - Release and Improvements (12-05-2022)"
* merging conflic changes
* Revert "Revert "Superset - Release and Improvements (12-05-2022)""
This reverts commit 6d18661e03
.
* fixed breaking changes
* sync with master
* fixed breaking flows
* fixed getUISchema function call
* added default placeholder and updated docs
* fixed format and comments
* changed flag to configuration
* fix: indentation of SCHEDULED_QUERIES dict
* fix: changed intendation for SCHEDULED_QUERIES
* fix: updated docs for SCHEDULED_QUERIES
* fix: replaced button to menu item for SCHEDULED_QUERIES
* fix: updated docs for SCHEDULED_QUERIES
* fix: trailing whitespace
2022-07-05 14:16:37 +02:00
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns ( #20602 )
2022-07-05 16:09:16 +08:00