Kamil Gabryjelski
63513a5873
fix(chart-controls): Error if x_axis_sort and timeseries_limit_metric are included in main metrics ( #23365 )
2023-03-14 15:50:03 +01:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06:00
Lily Kuang
376ad39576
chore: upgrade @ant-design/icons for react upgrade ( #22890 )
2023-03-08 14:18:43 -07:00
Ville Brofeldt
1b139d0748
feat(generic-x-axis): add x sorting on series limit metric ( #23274 )
2023-03-06 11:50:20 +02:00
Artem Shumeiko
773d2a54a3
chore: Localization of superset pt. 3 ( #22938 )
...
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-07 09:21:23 -07:00
Josh Soref
78ede590ee
chore(frontend): Spelling ( #19676 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Ville Brofeldt
c53c3aa23d
chore(superset-ui-chart-controls): refactor pivot and rename operator ( #22963 )
2023-02-02 17:16:07 +02:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 ( #22772 )
2023-01-30 09:20:43 -07:00
Geido
9ed2326a20
feat: Move cross filters to Dashboard ( #22785 )
2023-01-25 18:01:06 +01:00
Lily Kuang
397a984f09
chore(superset-ui): bump superset-ui-chart-controls and plugin-chart-handlebars back to version 0.18.25 ( #22694 )
2023-01-12 10:04:26 +02:00
Artem Shumeiko
f3696ceef3
chore: Localization of several charts and elements ( #22150 )
...
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
2023-01-11 09:42:54 -07:00
Lily Kuang
40dba06094
chore: upgrade react-ace ( #22573 )
2023-01-04 09:16:01 -08:00
Ville Brofeldt
a7a4561550
fix(explore): support saving undefined time grain ( #22565 )
2023-01-03 08:53:42 +00:00
John Bodley
9e81c3a119
feat: update time comparison choices (again) ( #22458 )
2022-12-24 10:13:35 +13:00
Yongjie Zhao
22fab5e58c
feat: Axis sort in the Bar Chart V2 ( #21993 )
2022-11-26 22:06:26 +08:00
Yongjie Zhao
b2fcdc56c1
refactor: restructure shared-contrls modules ( #22224 )
2022-11-25 17:45:30 +08:00
Geido
d352b74ff4
chore: Upgrade antd@4.10.3 ( #22007 )
2022-11-17 22:48:54 +02:00
Yongjie Zhao
5b67e0712d
refactor: update documents and rename variables ( #22074 )
2022-11-11 18:04:56 +08:00
Cody Leff
4cbd70db34
fix: Revert shared controls typing change. ( #22014 )
2022-11-03 11:58:38 +08:00
Yongjie Zhao
a9b229dd1d
feat: support mulitple temporal filters in AdhocFilter and move the Time Section away ( #21767 )
2022-11-02 08:21:17 +08:00
Yongjie Zhao
0a4ecca9f2
fix: custom SQL in the XAxis ( #21847 )
2022-10-19 11:40:52 +08:00
Andrew
df7840c041
chore: Added translate functions ( #21816 )
2022-10-19 09:54:16 +08:00
Yongjie Zhao
8f61e3c5d9
refactor: preparation for time section migration ( #21766 )
2022-10-12 08:38:30 +08:00
Evan Rusackas
4245bc3f38
chore(style): Enforce optional chaining ( #21614 )
2022-10-03 09:17:20 -06:00
Stephen Liu
61bd696226
fix(plugin-chart-echarts): boxplot throw error in the dashboard ( #21661 )
2022-10-01 08:53:29 +08:00
Yongjie Zhao
4c17f0e71e
fix: time grain can't be removed in explore ( #21644 )
2022-09-30 23:15:19 +08:00
Yongjie Zhao
93f08e778b
feat: explicit distribute columns on BoxPlot and apply time grain ( #21593 )
2022-09-28 15:32:35 +08:00
Yongjie Zhao
f4646f8edb
feat: adding XAxis to BigNumberTrend ( #21577 )
2022-09-26 20:14:17 +08:00
Yongjie Zhao
e671d80209
feat: support multiple time columns with time grain in Pivot Table v2 ( #21537 )
2022-09-22 21:56:10 +08:00
Yongjie Zhao
4d12e3709e
feat: generate consistent QueryObject whether GenericAxis is enabled or disabled ( #21519 )
2022-09-21 09:41:21 +08:00
Yongjie Zhao
2d16100dbc
refactor: get Axis from a helper function ( #21449 )
2022-09-16 15:57:45 +08:00
Yongjie Zhao
33509ab7da
fix: BigQuery cannot accept Time Grain ( #21489 )
2022-09-16 15:19:24 +08:00
Cody Leff
324e9979fa
fix(explore): Fix generic X-axis time grain disappearing ( #21484 )
2022-09-16 14:09:17 +08:00
Stephen Liu
1c0bff3dfb
fix: revert #21356(able to sort bar on the bar chart V2) ( #21481 )
2022-09-16 09:06:12 +08:00
Cody Leff
2285ebe72e
fix(explore): Prevent shared controls from checking feature flags outside React render ( #21315 )
2022-09-14 20:41:47 +02:00
Yongjie Zhao
ae6d2cf18d
fix: hide time_grain when x_axis value is undefined ( #21464 )
2022-09-14 19:03:49 +08:00
Stephen Liu
59437ea6e7
feat(plugin-chart-echarts): able to sort bar on the bar chart V2 ( #21356 )
2022-09-13 23:09:09 +08:00
Yongjie Zhao
eb4ba5b089
fix: should be able to remove selection from X-AXIS control ( #21371 )
2022-09-13 21:05:07 +08:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column ( #21163 )
2022-09-07 16:24:15 +08:00
Yongjie Zhao
fea68ef23c
fix: resample method shouldn't be freeform ( #21135 )
2022-08-22 15:42:46 +08:00
Kamil Gabryjelski
5c2c2e8040
feat(explore): UX changes in fast viz switcher ( #20848 )
...
* feat(explore): UX changes in fast viz switcher
* Fix test
2022-07-26 08:44:17 +02:00
Kamil Gabryjelski
af1bddffad
fix(explore): Adhoc columns don't display correctly ( #20802 )
...
* fix(explore): Adhoc columns have empty labels
* Add unit test
* Address comments
2022-07-21 21:11:49 +02:00
Michael S. Molina
3311128c5e
fix: Reverts #20749 and #20645 ( #20796 )
...
* Revert "fix: Error when saving datasource from Explore (#20749 )"
This reverts commit 92f3621c75
.
* Revert "refactor: Unify shared datasources reducers and actions (#20645 )"
This reverts commit 2a705406e1
.
2022-07-20 17:03:19 -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
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
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
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
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
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
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns ( #20602 )
2022-07-05 16:09:16 +08:00
Yongjie Zhao
309327dcbd
feat: drop missing columns control ( #20586 )
2022-07-04 18:08:12 +08:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function ( #20582 )
2022-07-01 19:17:55 +08:00
Evan Rusackas
ac8e502228
fix: Respecting max/min opacities, and adding tests. ( #20555 )
...
* Respecting max/min opacities, and adding tests.
* revising tests
* Adding missing test case for maximum coverage :)
* removing unnecessary logic and test
* adding another unit test for (hopefully) full coverage.
* no more ternary operator
* New approach with Math.min - take THAT codecov.
* one more stab at making codecov happy... ignoring the file next.
* lint fixes
2022-06-30 16:09:03 -06:00
Kamil Gabryjelski
b30f6a5db1
chore(explore): Get Explore data from endpoint instead of bootstrap_data ( #20519 )
...
* feat(explore): Use v1/explore endpoint data instead of bootstrapData
* Add tests
* Fix ci
* Remove redundant dependency
* Use form_data_key in cypress tests
* Add auth headers to for data request
* Address comments
* Remove displaying danger toast
* Conditionally add auth headers
* Address comments
* Fix typing bug
* fix
* Fix opening dataset
* Fix sqllab chart create
* Run queries in parallel
* Fix dashboard id autofill
* Fix lint
* Fix test
2022-06-30 21:06:51 +02:00
Yongjie Zhao
927d066f70
chore: move isAdhocColumn from controls to core ( #20529 )
...
* chore: move isAdhocColumn to superset-ui/core
* ut
2022-06-29 13:09:44 +08:00
Kamil Gabryjelski
e12ee59b13
feat(explore): Apply denormalization to tier 2 charts form data ( #20524 )
...
* feat(explore): Denormalize form data in Calendar Heatmap
* feat(explore): Denormalize form data in Bubble
* feat(explore): Denormalize form data in Chord
* Dimensions -> Dimension for single selection
* feat(explore): Denormalize form data in Country Map
* feat(explore): Denormalize form data in Heatmap
* feat(explore): Denormalize form data in Histogram
* feat(explore): Denormalize form data in Handlebars
* feat(explore): Denormalize form data in Percent Change
* Use new standardized form data interface
2022-06-28 20:21:36 +02:00
Yongjie Zhao
c348a095b9
refactor(standardized form data): refine interface and improve code smells ( #20518 )
2022-06-28 21:09:42 +08:00
Yongjie Zhao
bbbe102887
feat(standardized form data): keep all columns and metrics ( #20377 )
2022-06-24 21:46:25 +08:00
Kamil Gabryjelski
c7f1c7d5bd
chore: Restructure explore redux state ( #20448 )
...
* chore: Restructure explore redux state
* fixes
* fix tests
* add new tests
* Fix type
* Address comments
* Fix bug
* Fix import
* Add new test
* Move unsaved chart id to a constant
* Add todo
2022-06-24 15:26:07 +02:00
Yongjie Zhao
c79b0d62d0
refactor: create echarts query section ( #20445 )
2022-06-21 11:38:07 +08:00
Yongjie Zhao
111affdb02
chore: move xaxis to superset-ui ( #20438 )
2022-06-20 22:36:27 +08:00
Stephen Liu
1665403484
fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work ( #20396 )
...
* fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work
* fix: test
2022-06-16 12:22:09 +08:00
Michael S. Molina
d6f9fb5af1
chore: Removes unused vars ( #20194 )
...
* chore: Removes unused vars
* Fixes lint
* Disables no-unused-vars for the operators
2022-06-15 11:01:45 -03:00
Yongjie Zhao
7c252d7524
feat: adding truncate metric control on timeseries charts ( #20373 )
2022-06-15 20:55:10 +08:00
Yongjie Zhao
d04357c47b
fix: superset-ui/core codes coverage ( #20324 )
2022-06-09 17:43:42 +08:00
Stephen Liu
eab0009101
feat(plugin-chart-echarts): [feature-parity] support extra control for the area chart V2 ( #16493 )
...
* feat(echarts): [feature-parity] support extra control
* add extra control for plugin
* refactor: extract ExtraControl
* fix: lint
* fix some problems
2022-06-09 00:59:10 +08:00
Stephen Liu
9f02ff656d
fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer doesn't work as expected ( #19761 )
...
* fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer does't work
* fix: lint
* fix: test
2022-06-08 17:06:24 +08:00
Lyndsi Kay Williams
ba0c37d3df
feat(explore): Frontend implementation of dataset creation from infobox ( #19855 )
...
* Frontend implementation of create dataset from infobox
* Fixed sl_dataset type
* Fix test
* Fixed sl_dataset type (forgot to save)
* RTL testing
* Adjusted styling/text on infobox and save dataset modal
* Appease lint
* Make infobox invisible and fix tests
* Remove unnecessary placeholder
* Move types to sql lab
* Moved logic into save dataset modal
* Change DatasourceMeta type to Dataset
* Add ExploreDatasource union type to save dataset modal
* Get user info from redux inside save dataset modal
* Addressed comments
* Adjusting to new query type
* Fixed save dataset in explore and union type
* Added testing
* Defined d for queries
* Remove dataset from SaveDatasetModal
* Clarify useSelector parameter
* Fix dndControls union type
* Fix shared-controls union type
* Fix controlPanel union type
* Move ExploreRootState to explore type file
* Remove unnecessary testing playground
* Move datasource type check in DatasourcePanel to a function
* Make all sqllab Query imports reference @superset-ui/core Query type
* Deconstruct query props in ResultSet
* Fix union type in /legacy-plugin-chart-heatmap/src/controlPanel
* Change SaveDatasetModal tests to RTL
* Cleaned datasourceTypeCheck
* Fix infobox styling
* Fix SaveDatasetModal test
* Fix query fixture in sqllab and Query type in SaveDatasetModal test
* Fix Query type and make test query fixture
* Added columns to Query type, separated results property, created QueryResponse union type, and fixed all types affected
* Fixed a couple missed broken types
* Added ExploreDatasource to SqlLab type file
* Removed unneeded Query import from DatasourcePanel
* Address PR comments
* Fix columnChoices
* Fix all incorrect column property checks
* Fix logic on dndGroupByControl
* Dry up savedMetrics type check
* Fixed TIME_COLUMN_OPTION
* Dried savedMetrics type check even further
* Change savedMetricsTypeCheck to defineSavedMetrics
* Change datasourceTypeCheck to isValidDatasourceType
* Fix Query path in groupByControl
* dnd_granularity_sqla now sorts Query types with is_dttm at the top
* Fixed/cleaned query sort
* Add sortedQueryColumns and proper optional chaining to granularity_sqla
* Move testQuery to core-ui, add test coverage for Queries in columnChoices
* Moved DEFAULT_METRICS to core-ui and wrote a test for defineSavedMetrics
* Add license and clean dataset test object
* Change DatasourceType.Dataset to dataset
2022-06-07 15:03:45 -05:00
Yongjie Zhao
7faf874c1b
feat: derived metrics use different line style ( #20242 )
2022-06-05 21:17:31 +08:00
Yongjie Zhao
dd4b581fb5
feat: standardized form_data ( #20010 )
2022-06-05 21:05:01 +08:00
Stephen Liu
766f737728
feat(world-map): support color by metric or country column ( #19881 )
...
* feat(world-map): support color by metric or country column
* fix lint
* Update superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/components/RadioButtonControl.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/plugins/legacy-plugin-chart-world-map/src/controlPanel.ts
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/plugins/legacy-plugin-chart-world-map/src/controlPanel.ts
Co-authored-by: Evan Rusackas <evan@preset.io>
* fix lint
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-06-03 21:31:22 +08:00
Ville Brofeldt
d5c5e58583
feat(plugin-chart-echarts): add support for generic axis to mixed chart ( #20097 )
...
* feat(plugin-chart-echarts): add support for generic axis to mixed chart
* fix tests + add new tests
* address review comments
* simplify control panel
* fix types and tests
2022-05-19 13:51:52 +03:00
Stephen Liu
9854d2d0e8
feat(plugin-chart-echarts): support horizontal bar chart ( #19918 )
...
* feat(plugin-chart-echarts): support horizontal bar chart
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* improve controlpanel
* default value
* fix ut
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-05-16 21:48:36 +08:00
Kamil Gabryjelski
0f68deedf1
perf(plugin-chart-table): Add memoization to avoid rerenders ( #19976 )
...
* perf(plugin-chart-table): Add memoization to avoid rerenders
* Fix typing
2022-05-13 18:10:48 +02:00
Ville Brofeldt
b53daa91ec
fix(plugin-chart-echarts): support adhoc x-axis ( #20055 )
...
* fix(plugin-chart-echarts): support adhoc x-axis
* simplify code
2022-05-13 16:29:51 +03:00
Hugh A. Miles II
8b15b68979
fix: Alpha should not be able to edit datasets that they don't own ( #19854 )
...
* fix api for checking owners
* fix styles for disabling
* fix styles for disabling
* fix lint
* fix lint
* add owners key
* plzz
* remove
* update test
* add tooltip
* add type
* fix test
* fix user reference
* lit
* fix test
* work
2022-04-29 14:21:05 -07:00
Diego Medina
e4fca89217
fix: Cannot re-order metrics by drag and drop ( #19876 )
...
* fix: cannot-re-order-metrics-by-drag-and-drop
* add tests
2022-04-27 20:37:12 -06:00
Yongjie Zhao
f5e9f0eb3b
feat: add Advanced Analytics into mixed time series chart ( #19851 )
2022-04-27 23:36:19 +08:00
Kamil Gabryjelski
12bc30e2c7
Fix display of column config in table chart ( #19806 )
2022-04-21 19:08:04 +02:00
Stephen Liu
e3a54aa3c1
feat(explore): improve UI in the control panel ( #19748 )
...
* feat(explore): improve section header of control panel
* fix checkbox control color and radio button color
2022-04-20 15:06:33 +02:00
Yongjie Zhao
4f997cd9ac
chore: fix grammar error ( #19740 )
2022-04-20 21:02:14 +08:00
Yongjie Zhao
3c28cd4625
feat: add renameOperator ( #19776 )
2022-04-20 19:48:12 +08:00
Yongjie Zhao
9425dd2cac
fix: drop the first level of MultiIndex ( #19716 )
2022-04-14 23:40:38 +08:00
Kamil Gabryjelski
de9fb2109d
chore(explore): Change labels "Group by"/"Series" to "Dimensions" ( #19647 )
2022-04-13 15:16:03 +02:00
Kamil Gabryjelski
4a5dddf52d
fix(explore): Change copy of cross filters checkbox ( #19646 )
2022-04-13 13:19:02 +02:00
Stephen Liu
0e29871493
fix(explore): clean data when hidding control ( #19039 )
2022-04-06 20:25:32 +08:00
Kamil Gabryjelski
60dcd651f4
feat(explore): SQL popover in datasource panel ( #19308 )
...
* feat(explore): SQL popover in datasource panel
* Fix acequire not defined
* Rebase and fix tests
* Disable highlighting gutter
* Use ace-build acequire instead of brace
2022-04-03 13:26:56 +02:00
Kamil Gabryjelski
a076ae6d99
feat(explore): UI changes in dataset panel on Explore page ( #19394 )
...
* feat(explore): Implement new design for dataset panel
* Fixes
* Replace drag handle in dashboard builder
* Add missing types
* Type fix
* Fix tests
* Fix non-dnd version
* Fix test
* Replace margin with height
2022-03-29 21:11:08 +02:00
Yongjie Zhao
a39dd4493e
feat: linear imputation in Resample ( #19393 )
2022-03-28 22:30:45 +08:00
Kamil Gabryjelski
45c28c8046
feat(explore): Dataset panel option tooltips ( #19259 )
...
* feat(explore): Add description to column/metric tooltips in dataset panel
* Fix tests
* Address code review comments
2022-03-25 07:55:11 +01:00
Yongjie Zhao
e15573d445
fix: number format should editable when AA in time comparison ( #19351 )
2022-03-25 07:58:53 +08:00
Kasia
dc769a9a34
fix: Adaptive formatting spelling ( #19359 )
...
Co-authored-by: Kasia Zajac <kasiazajac@Kasias-MacBook-Pro-2.local>
2022-03-24 20:51:06 +01:00
Stephen Liu
b0397beb8e
chore: add type checking in package tests directory ( #19320 )
2022-03-23 18:57:35 +08:00
Yongjie Zhao
375c03e084
feat(advanced analysis): support MultiIndex column in post processing stage ( #19116 )
2022-03-23 13:46:28 +08:00
Stephen Liu
dc575080d7
feat: improve color consistency (save all labels) ( #19038 )
2022-03-21 15:20:04 +08:00
smileydev
e7355b9610
fix(explore comma): make that the comma can be added by removing it from token separators… ( #18926 )
...
* make that the comma can be added by removing it from token separators in select component.
* fix(explore comma): add the allowTokenSeperators props into Select
* fix(explore comma): make to allow to customize the token separators in Select.
* fix(explore comma): make to add the unit test and story book.
* fix(explore comma): make to fix the lint
* fix(explore comma): make to fix the spell & add tokenSeparatprs props to PickedSelectProps
* Update Select.tsx
* fix(explore comma): make to run lint fix
2022-03-18 11:39:26 -03:00
Stephen Liu
10eb6c77a4
chore: use order_desc shared control consistently ( #19172 )
2022-03-18 21:28:47 +08:00
smileydev
d099f5ed4a
fix(select): make to consider the case sensitive in case of d3 format selector ( #19159 )
2022-03-17 10:04:03 -07:00
Jesse Yang
ae13d8313b
feat(select): keep options order when in single mode ( #19085 )
2022-03-11 13:01:38 -08:00
Diego Medina
0e0beceac1
fix: Pivot Table Conditional Formatting Doesn't Show All Options ( #19071 )
...
* fix: Pivot Table Conditional Formatting Doesn't Show All Options
* PR comments
* PR comments
2022-03-09 15:04:04 -07:00