This is an automated email from the ASF dual-hosted git repository.
arivero pushed a change to branch table-time-comparison
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 5054e7552d feat(plugin): color option for table with time comparison
(#27716)
omit 9f062edb73 feat(time-comparison-table): show and hide time comparison
columns (#27446)
omit a08667853f Table with Time Comparison:
omit f3e61b65e6 Table with Time Comparison:
omit a00ebf212e Table with Time Comparison:
omit ba064aac4f Table with Time Comparison:
omit f1ba26da2b Table with Time Comparison:
omit 5fc10a3b36 Table with Time Comparison:
omit 429abfd825 Table with Time Comparison:
omit 4decb160cf Table with Time Comparison:
omit 0726994292 Table with Time Comparison:
omit 6cf5bd3965 Table with Time Comparison:
omit 2cdeaf0b95 refactor(plugins): Time Comparison Utils
add 3bfa8a9cbc fix(AlertReports): clearing custom_width when disabled
(#27551)
add d8517213bf fix(AlertReports): defaulting grace period to undefined
(#27552)
add 29553939a2 fix(Chart Annotation modal): Table and Superset annotation
options will paginate, exceeding previous max limit 100 (#27022)
add 32aa25ae17 fix(sqllab): unable to remove table (#27636)
add 34b06f94ab fix(AlertReports): disabling value when not null option is
active (#27550)
add 51ad63426c fix: Leverage actual database for rendering Jinjarized SQL
(#27646)
add 5c567895cc fix: Provide more inclusive error handling for saved
queries (#27644)
add a024b4ac1b fix(explore): drag and drop indicator UX (#27558)
add 2fa1b35c16 perf(explore): virtualized datasource field sections
(#27625)
add bb5c0b4086 fix: reduce alert error to warning (#27744)
add b8e556d6f2 fix: Removes filter plugins from viz gallery (#27763)
add b7fa3edcf4 fix: Select onChange is fired when the same item is
selected in single mode (#27706)
add 0d5be95826 chore(docs): Cleanup UPDATING.md (#27768)
add 6a21f6da3d chore: Adds the 4.0 release notes (#27441)
add c35842e9f1 chore: Adds 4.0.0 RC2 data to CHANGELOG.md
new 806df6447f refactor(plugins): Time Comparison Utils
new 4acc2b9443 Table with Time Comparison:
new fa69c24b9a Table with Time Comparison:
new 16db8fd80e Table with Time Comparison:
new 26ef8ac21f Table with Time Comparison:
new ca5d2f0a5d Table with Time Comparison:
new c8437d0f19 Table with Time Comparison:
new ea852c8ecc Table with Time Comparison:
new 4e59d842d9 Table with Time Comparison:
new 10c7ffdad2 Table with Time Comparison:
new 4d1b4ab3ab Table with Time Comparison:
new ae3c1e7031 feat(time-comparison-table): show and hide time comparison
columns (#27446)
new 8c91af23ff feat(plugin): color option for table with time comparison
(#27716)
new ce68f62655 refactor: Move fetchTimeRange to core package (#27852)
new 2f7feff1c1 feat: Add comparison time label to Big Number with Period
over Period plugin
new f8caae55c8 Update comment
new 6bde1c887f Support multiple time filters
new a0643fb1d2 Fix typo
new c2f26f0f4a fix
new 126cae89e8 Use control header
new e48a69a4b7 Fix ut
new f120f11f24 Add ut
new 515095b33a remove import
new 6cdbeabe93 - cherry pick 2c00cc534c5906c6b4bcf7a1e22a87021d0b88d2
new 07527fbbce Table with Time Comparison:
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (5054e7552d)
\
N -- N -- N refs/heads/table-time-comparison (07527fbbce)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 25 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CHANGELOG/4.0.0.md | 71 ++++-
RELEASING/release-notes-4-0/README.md | 151 +++++++++
.../release-notes-4-0/media/alert-modal-1.png | Bin 0 -> 156064 bytes
.../release-notes-4-0/media/alert-modal-2.png | Bin 0 -> 146949 bytes
.../release-notes-4-0/media/alert-modal-3.png | Bin 0 -> 158396 bytes
.../release-notes-4-0/media/dashboard-dnd-1.png | Bin 0 -> 626066 bytes
.../release-notes-4-0/media/dashboard-dnd-2.png | Bin 0 -> 451634 bytes
RELEASING/release-notes-4-0/media/explore-dnd.png | Bin 0 -> 640684 bytes
RELEASING/release-notes-4-0/media/sunburst.png | Bin 0 -> 383032 bytes
RELEASING/release-notes-4-0/media/tags-1.png | Bin 0 -> 273468 bytes
RELEASING/release-notes-4-0/media/tags-2.png | Bin 0 -> 301495 bytes
UPDATING.md | 4 +-
superset-frontend/package-lock.json | 19 ++
superset-frontend/package.json | 1 +
.../superset-ui-core/src/connection/constants.ts | 5 +
.../superset-ui-core/src/connection/index.ts | 1 +
.../src/query}/getClientErrorObject.ts | 54 ++--
.../packages/superset-ui-core/src/query/index.ts | 1 +
.../superset-ui-core/src/query/types/Query.ts | 21 +-
.../src/time-comparison/fetchTimeRange.ts} | 52 +--
.../superset-ui-core/src/time-comparison/index.ts | 1 +
.../chart/components/ChartDataProvider.test.tsx | 13 +-
.../test/color/SharedLabelColorSingleton.test.ts | 14 +-
.../test/query/getClientErrorObject.test.ts | 233 ++++++++++++++
.../test/time-comparison/fetchTimeRange.test.ts | 143 +++++++++
.../src/plugin/controlPanel.ts | 6 +
.../plugin-chart-table/src/controlPanel.tsx | 6 +
superset-frontend/src/SqlLab/actions/sqlLab.js | 12 +-
.../src/SqlLab/actions/sqlLab.test.js | 24 +-
.../AceEditorWrapper/useAnnotations.test.ts | 2 +-
.../components/AceEditorWrapper/useAnnotations.ts | 4 +-
.../SqlLab/components/ShareSqlLabQuery/index.tsx | 2 +-
.../src/components/Chart/ChartErrorMessage.tsx | 2 +-
.../src/components/Chart/chartAction.js | 2 +-
.../Datasource/ChangeDatasourceModal.tsx | 8 +-
.../src/components/Datasource/DatasourceEditor.jsx | 2 +-
.../src/components/Datasource/DatasourceModal.tsx | 4 +-
.../ErrorMessage/BasicErrorAlert.test.tsx | 3 +-
.../components/ErrorMessage/BasicErrorAlert.tsx | 3 +-
.../ErrorMessage/DatabaseErrorMessage.test.tsx | 2 +-
.../DatasetNotFoundErrorMessage.test.tsx | 2 +-
.../components/ErrorMessage/ErrorAlert.test.tsx | 3 +-
.../src/components/ErrorMessage/ErrorAlert.tsx | 9 +-
.../ErrorMessageWithStackTrace.test.tsx | 2 +-
.../ErrorMessage/ErrorMessageWithStackTrace.tsx | 3 +-
.../ErrorMessage/MarshmallowErrorMessage.test.tsx | 8 +-
.../ErrorMessage/ParameterErrorMessage.test.tsx | 2 +-
.../ErrorMessage/TimeoutErrorMessage.test.tsx | 2 +-
.../src/components/ErrorMessage/types.ts | 87 +----
.../src/components/Select/AsyncSelect.test.tsx | 12 +
.../src/components/Select/AsyncSelect.tsx | 21 +-
.../src/components/Select/Select.test.tsx | 12 +
superset-frontend/src/components/Select/Select.tsx | 12 +-
superset-frontend/src/components/Select/utils.tsx | 18 +-
.../src/components/TableSelector/index.tsx | 11 +-
superset-frontend/src/components/Tags/utils.tsx | 11 +-
superset-frontend/src/constants.ts | 8 +
.../src/dashboard/actions/dashboardInfo.ts | 8 +-
.../src/dashboard/actions/dashboardState.js | 2 +-
.../src/dashboard/actions/sliceEntities.ts | 8 +-
.../dashboard/components/PropertiesModal/index.tsx | 2 +-
.../components/URLShortLinkButton/index.tsx | 3 +-
.../FilterBar/FilterControls/FilterValue.tsx | 6 +-
.../FiltersConfigForm/ColumnSelect.test.tsx | 4 +-
.../FiltersConfigForm/ColumnSelect.tsx | 9 +-
.../FiltersConfigForm/DatasetSelect.tsx | 7 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 6 +-
.../src/explore/actions/datasourcesActions.test.ts | 4 +-
.../src/explore/actions/datasourcesActions.ts | 3 +-
.../DataTablesPane/components/useResultsPane.tsx | 2 +-
.../DatasourcePanel/DatasourcePanel.test.tsx | 12 +
.../DatasourcePanel/DatasourcePanelItem.test.tsx | 168 ++++++++++
.../DatasourcePanel/DatasourcePanelItem.tsx | 234 ++++++++++++++
.../explore/components/DatasourcePanel/index.tsx | 219 +++----------
.../ExploreContainer/ExploreContainer.test.tsx} | 64 ++--
.../explore/components/ExploreContainer/index.tsx | 60 ++++
.../components/ExploreViewContainer/index.jsx | 44 ++-
.../explore/components/PropertiesModal/index.tsx | 2 +-
.../AnnotationLayerControl/AnnotationLayer.jsx | 350 ++++++++++++++-------
.../AnnotationLayer.test.tsx | 125 +++++---
.../components/controls/ComparisonRangeLabel.tsx | 103 ++++++
.../controls/DateFilterControl/DateFilterLabel.tsx | 2 +-
.../DateFilterControl/components/AdvancedFrame.tsx | 3 +-
.../controls/DateFilterControl/tests/utils.test.ts | 33 --
.../DateFilterControl/utils/dateFilterUtils.ts | 48 +--
.../controls/DateFilterControl/utils/dateParser.ts | 2 +-
.../DndColumnSelectControl/DndSelectLabel.tsx | 10 +-
.../utils/useGetTimeRangeLabel.test.ts | 6 +-
.../FilterControl/utils/useGetTimeRangeLabel.tsx | 3 +-
.../components/controls/OptionControls/index.tsx | 92 +++++-
.../controls/SelectAsyncControl/index.tsx | 3 +-
.../explore/components/controls/ViewQueryModal.tsx | 8 +-
.../components/controls/VizTypeControl/index.tsx | 5 +-
.../src/explore/components/controls/index.js | 2 +
.../src/features/alerts/AlertReportModal.test.tsx | 5 +-
.../src/features/alerts/AlertReportModal.tsx | 8 +-
.../src/features/reports/ReportModal/index.tsx | 3 +-
.../src/hooks/apiResources/queryApi.ts | 4 +-
.../src/middleware/asyncEvent.test.ts | 5 +-
superset-frontend/src/middleware/asyncEvent.ts | 8 +-
.../src/pages/AnnotationList/index.tsx | 9 +-
superset-frontend/src/pages/Chart/Chart.test.tsx | 3 +
superset-frontend/src/pages/Chart/index.tsx | 2 +-
.../src/pages/ChartCreation/index.tsx | 6 +-
superset-frontend/src/setup/setupApp.ts | 4 +-
superset-frontend/src/setup/setupErrorMessages.ts | 2 +-
superset-frontend/src/utils/errorMessages.ts | 26 --
.../src/utils/getClientErrorObject.test.ts | 83 -----
superset-frontend/src/views/CRUD/hooks.ts | 9 +-
superset-frontend/src/views/CRUD/utils.tsx | 2 +-
.../src/visualizations/presets/MainPreset.js | 15 +-
superset/commands/report/alert.py | 2 +-
superset/errors.py | 4 +-
superset/models/sql_lab.py | 5 +-
superset/security/manager.py | 4 +-
superset/sql_parse.py | 16 +-
superset/views/api.py | 63 +++-
tests/integration_tests/charts/api_tests.py | 32 +-
tests/unit_tests/models/sql_lab_test.py | 59 ++++
tests/unit_tests/sql_parse_tests.py | 6 +-
120 files changed, 2236 insertions(+), 900 deletions(-)
create mode 100644 RELEASING/release-notes-4-0/README.md
create mode 100644 RELEASING/release-notes-4-0/media/alert-modal-1.png
create mode 100644 RELEASING/release-notes-4-0/media/alert-modal-2.png
create mode 100644 RELEASING/release-notes-4-0/media/alert-modal-3.png
create mode 100644 RELEASING/release-notes-4-0/media/dashboard-dnd-1.png
create mode 100644 RELEASING/release-notes-4-0/media/dashboard-dnd-2.png
create mode 100644 RELEASING/release-notes-4-0/media/explore-dnd.png
create mode 100644 RELEASING/release-notes-4-0/media/sunburst.png
create mode 100644 RELEASING/release-notes-4-0/media/tags-1.png
create mode 100644 RELEASING/release-notes-4-0/media/tags-2.png
rename superset-frontend/{src/utils =>
packages/superset-ui-core/src/query}/getClientErrorObject.ts (97%)
copy
superset-frontend/{src/explore/components/controls/DateFilterControl/utils/dateFilterUtils.ts
=> packages/superset-ui-core/src/time-comparison/fetchTimeRange.ts} (65%)
create mode 100644
superset-frontend/packages/superset-ui-core/test/query/getClientErrorObject.test.ts
create mode 100644
superset-frontend/packages/superset-ui-core/test/time-comparison/fetchTimeRange.test.ts
create mode 100644
superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.test.tsx
create mode 100644
superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx
copy
superset-frontend/src/{dashboard/components/DashboardBuilder/DashboardWrapper.test.tsx
=> explore/components/ExploreContainer/ExploreContainer.test.tsx} (57%)
create mode 100644
superset-frontend/src/explore/components/ExploreContainer/index.tsx
create mode 100644
superset-frontend/src/explore/components/controls/ComparisonRangeLabel.tsx
delete mode 100644 superset-frontend/src/utils/errorMessages.ts
delete mode 100644 superset-frontend/src/utils/getClientErrorObject.test.ts
create mode 100644 tests/unit_tests/models/sql_lab_test.py