wilfred-wulbou
b3529479ab
feat(chart): Added Papua New Guinea to countries map ( #22589 )
2023-01-05 15:52:27 +02:00
Yash Mehta
6e4d6e599b
chore: adding missing examples in the gallery for several chart types ( #22597 )
2023-01-05 11:43:32 +02:00
Lily Kuang
40dba06094
chore: upgrade react-ace ( #22573 )
2023-01-04 09:16:01 -08:00
Yash Mehta
839ec7ceac
fix: adding missing examples for bubble chart, bullet chart, calendar heatmap chart and country map chart in the gallery ( #22523 )
2022-12-31 10:26:54 +00:00
John Bodley
9e81c3a119
feat: update time comparison choices (again) ( #22458 )
2022-12-24 10:13:35 +13:00
Cody Leff
7f4e522f1a
chore(viz): Rename legacy non-time-series Bar Chart ( #22430 )
2022-12-20 10:08:30 -05:00
Reese
2679ee2e46
fix(chart-table): Scrollbar causing header + footer overflow ( #21064 )
2022-12-15 22:25:20 -07:00
Michael S. Molina
bb318cb137
fix: Allow empty CSS in Handlebars ( #22422 )
2022-12-14 18:41:06 -05:00
Geido
ebaa94974b
fix: Force configuration for SafeMarkdown component in Handlebars ( #22417 )
2022-12-14 16:23:34 -05:00
Ville Brofeldt
6b4ab8a03c
chore(plugin-chart-echarts): upgrade to echarts 5.4.1 ( #22382 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-12-10 13:38:54 +02:00
Ville Brofeldt
012d1300c1
chore(viz): rename v1 and v2 charts ( #22369 )
2022-12-09 22:51:37 +02:00
Ville Brofeldt
b1f8fd4f64
chore(superset-ui): remove deprecated fields from QueryObject ( #22272 )
2022-11-30 15:54:11 +02:00
Yongjie Zhao
22fab5e58c
feat: Axis sort in the Bar Chart V2 ( #21993 )
2022-11-26 22:06:26 +08:00
maleksan
9578a443ef
feat(chart): Added Latvia to countries map ( #22220 )
2022-11-25 13:37:29 +02:00
Ville Brofeldt
2e650eaebe
fix(plugin-chart-echarts): tooltip overflow bug ( #22218 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-24 14:11:01 +02:00
Michael S. Molina
3bc0865d90
fix: Drill to detail blocked by tooltip ( #22082 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-23 21:50:06 +02:00
Michael S. Molina
9a2cb431ce
fix: Adds time grain to Pivot Table v2 ( #22170 )
2022-11-20 10:20:01 -05:00
Michael S. Molina
824dc7188b
fix: Right click on country map with code filter ( #22081 )
2022-11-14 08:52:31 -05: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
Ville Brofeldt
f5977caf44
chore(plugin-chart-echarts): bump ECharts to 5.4.0 ( #21916 )
2022-10-24 17:09:24 +03:00
Cody Leff
76e57ec651
feat(dashboard): menu improvements, fallback support for Drill to Detail ( #21351 )
2022-10-19 18:34:46 -03:00
Yongjie Zhao
9aa804e070
fix: categorical x-axis can't apply the label of column ( #21869 )
2022-10-19 18:47:02 +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
f38115489b
fix: drilling on the categorical xaxis on the mixed chart ( #21845 )
2022-10-19 09:08:28 +08:00
Yongjie Zhao
f41d0b0cbf
fix: drilling on the categorical xaxis on the stacked barchart v2 ( #21844 )
2022-10-18 19:47:53 +08:00
Geido
383dc29ad1
fix: Allow comma in Number Format ( #21817 )
2022-10-18 14:28:07 +03:00
Yongjie Zhao
8f61e3c5d9
refactor: preparation for time section migration ( #21766 )
2022-10-12 08:38:30 +08:00
Stephen Liu
db075d4157
chore(deps): bump react-map-gl from 4.0.10 to 6.1.19 ( #21748 )
2022-10-11 14:47:25 +08:00
Michael S. Molina
0ff1e49e3c
fix: Null values on Treemap right-click ( #21722 )
2022-10-07 08:08:10 -03:00
Michael S. Molina
eb2a1345a8
fix: Drill to detail formatted val on TableChart ( #21719 )
2022-10-06 14:45:09 -03:00
Michael S. Molina
770f68f5b1
fix: Right-click on misconfigured World Map ( #21697 )
2022-10-06 08:23:40 -03: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
Bryan Thomas
f83af88fc7
feat: Added latin america countries to country map ( #21352 )
2022-09-30 12:47:01 +03:00
Yongjie Zhao
9dd102f383
refactor: remove useless groupby from QueryObject ( #21643 )
2022-09-30 11:53:54 +08:00
Stephen Liu
ab53d77aba
fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard ( #21539 )
2022-09-28 22:10:38 +08:00
Mayur
60bab4269f
fix(table-chart): don't color empty cells in table chart with color formatters ( #21501 )
2022-09-28 16:16:12 +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
d67b04683c
feat: support multiple columns with time grain in Table Chart ( #21547 )
2022-09-23 16:08:35 +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
LiuBodong
c66205feac
fix: pie chart orientation description error ( #21514 )
...
Co-authored-by: Stephen Liu <750188453@qq.com>
2022-09-21 21:44:29 +08:00
Yongjie Zhao
4d12e3709e
feat: generate consistent QueryObject whether GenericAxis is enabled or disabled ( #21519 )
2022-09-21 09:41:21 +08:00
Evan Rusackas
135909f814
feat: Making bar graphs in Table viz from fixed-size divs instead of calculated gradients ( #21482 )
2022-09-20 07:36:36 -06:00
Stephen Liu
94a724e49b
perf(word-cloud): reduce render to improve performance ( #21504 )
2022-09-19 20:08:36 +08:00
Yongjie Zhao
2d16100dbc
refactor: get Axis from a helper function ( #21449 )
2022-09-16 15:57:45 +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
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
b80f659101
fix(big number): time grain control is useless in BigNumber Viz ( #21372 )
2022-09-08 21:43:26 +08:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column ( #21163 )
2022-09-07 16:24:15 +08:00
Stephen Liu
79525dfaf2
feat(explore): standardized controls for time pivot chart ( #21321 )
2022-09-04 09:38:53 +08:00
Ville Brofeldt
1aeb8fd6b7
fix(plugin-chart-echarts): show zero value in tooltip ( #21296 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-01 20:27:41 +03:00
Kamil Gabryjelski
c3a00d43d0
fix(explore): Time column label not formatted when GENERIC_X_AXES enabled ( #21294 )
2022-09-01 18:07:49 +02:00
Alex Lauderbaugh
994f327157
chore: Renaming Line Chart to Line Chart v2 ( #21278 )
2022-09-01 08:16:55 +02:00
Geido
f017f98b88
chore: E2E tests for the Drill to detail modal ( #21187 )
...
* Add example ECharts Dashboard
* [WIP] E2E test
* Add echarts interactions
* Lint
* DRY
2022-08-29 11:25:27 +03:00
Michael S. Molina
d41f44fcdf
fix: World Map right-click value ( #21209 )
2022-08-26 15:08:24 -03:00
Michael S. Molina
68fa4d2665
feat: Adds drill to detail context menu to Table ( #21168 )
...
* feat: Adds drill to detail context menu to Table
* Improves context menu positioning
* Fixes Pivot Table typying
2022-08-26 13:35:26 -03:00
Michael S. Molina
859b6d2d20
feat: Adds drill to detail context menu to Pivot Table ( #21198 )
...
* feat: Adds drill to detail context menu to Pivot Table
* Adds useCallback
2022-08-26 08:23:26 -03:00
Michael S. Molina
1143e17742
fix: Typing of labelMap ( #21181 )
...
* fix: Typing of labelMap
* Adjusts val types
2022-08-26 08:22:57 -03:00
Michael S. Molina
4ca4a5c7cb
feat: Adds drill to detail context menu to World Map ( #21150 )
2022-08-23 10:24:55 -03:00
Michael S. Molina
0bf4e56dc3
fix: Drill to detail on values with comma ( #21151 )
2022-08-22 13:52:39 -03:00
Antonio Rivero Martinez
bdcc0a9bcf
fix(charts): Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series ( #21015 )
...
* Mixed TimeSeries:
- When Bar chart is used as serie type, we need to hide values that are greater than the max Y Axis Bound.
* Mixed Time Series:
- Simplify logic for getOverMaxHiddenFormatter
* Mixed Time Series:
- Add tests for new getOverMaxHiddenFormatter util func
2022-08-22 08:55:09 -06:00
Stephen Liu
e70699fb43
fix(plugin-chart-handlebars): order by control not work ( #21005 )
2022-08-22 15:00:34 +08:00
Stephen Liu
b303d1e156
fix(plugin-chart-echarts): gauge chart enhancements and fixes ( #21007 )
...
* fix(plugin-chart-echarts): gauge chart enhancements and fixes
* fix lint
2022-08-16 07:54:17 -06:00
JUST.in DO IT
2d1ba46844
fix(plugin-chart-echarts): missing value format in mixed timeseries ( #21044 )
2022-08-11 12:33:59 -07:00
JUST.in DO IT
a8ba544e60
fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart ( #21032 )
2022-08-11 11:28:18 -07:00
Michael S. Molina
3df8335f87
feat: Adds drill to detail context menu for ECharts visualizations ( #20891 )
...
* feat: Adds drill to detail context menu for ECharts visualizations
* Rebases and adds time grain
* Fixes selected gauge values
* Fixes Treemap edge click
* Adds right click to big number trendline
* Address some comments
2022-08-09 17:02:31 -03:00
JUST.in DO IT
9114175db2
fix(plugin-echart-timeseries: legend trancated on show extra controls ( #21017 )
2022-08-09 16:12:00 +08:00
Antonio Rivero Martinez
aa53c10312
Big Number Viz: ( #20946 )
...
- When the value is zero we still render the percent change and suffix if present
2022-08-03 23:12:56 +08:00
Stephen Liu
7beda3bbdb
chore: change Sort-by and Sort-Descending controls for Bar Chart v2 ( #20868 )
2022-08-02 14:36:21 -06:00
Antonio Rivero Martinez
9362e27ce2
fix(chart): Time Series set showMaxLabel as null for time xAxis ( #20627 )
...
* Time Series Chart:
-Apache echarts has this option as false by default for time axis, so we need to override it for our charts so it's uto determined and not fixed to hidden.
- Add AxisType enum so we stop comparing agains raw strings when checking xAxis type
* Time Series Chart:
- set the showMaxLabel option directly without using merge
* Time Series Chart:
- Rename the property to showMaxLabel as it was originally
2022-08-02 14:35:41 -06:00
Diego Medina
fe581a3640
fix: adjust timeseries grid right offset to match the rest ( #20933 )
2022-08-02 14:19:49 -06:00
Just[in]Do it!
3f124d9d67
fix(plugin-chart-pivot-table): Invalid Formats Date Fields ( #20909 )
...
When a custom date field value converted in a string format, some aggregators truncated to the first four digits.
This is caused by the parseFloat function which converts to first matched number rather than NaN(Not-A-Number) value.
This commit replaces the parseFloat by Number wrapper to handle this case correctly.
2022-07-28 22:56:08 -07:00
Antonio Rivero Martinez
234c44626d
TableChart: ( #20833 )
...
- Handle resize properly when only the scrollbar is changing so it doesn't get stuck into an infinite loop.
2022-07-27 12:32:34 -06:00
Diego Medina
5d107b86ab
fix: explore warnings cleanup ( #20864 )
2022-07-26 13:28:50 +08:00
Stephen Liu
9bf7ed58cd
fix(plugin-chart-echarts): bar chart overflow ( #20805 )
2022-07-23 14:20:00 +08:00
rizacavus
4ffa3c22d1
feat: Add Türkiye Map to Country Map ( #20801 )
2022-07-23 08:33:56 +08:00
Diego Medina
51869f32ac
Temporal X Axis values are not properly displayed if the time column has a custom label defined ( #20819 )
2022-07-22 17:05:37 +08:00
Evan Rusackas
fe9eb58ede
chore: bumps the handlebars plugin package version to match the family. ( #20813 )
2022-07-22 15:18:45 +08:00
Diego Medina
279ab954b1
fix: chart empty state & result panel when multiple queries are executed display incorrectly ( #20816 )
2022-07-22 14:58:42 +08: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
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
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
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
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
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
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns ( #20602 )
2022-07-05 16:09:16 +08:00
Stephen Liu
c0a00fd302
feat(deck.gl): add color range for deck.gl 3D ( #19520 )
2022-07-04 11:54:04 +08:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function ( #20582 )
2022-07-01 19:17:55 +08:00
Yongjie Zhao
290b89c7b4
feat: apply standardized form data to deckgl ( #20579 )
2022-07-01 14:51:59 +08:00
Evan Rusackas
f5f8ddec3e
Revert "feat(plugin-chart-echarts): Support stacking negative and positive values ( #20408 )" ( #20571 )
...
This reverts commit c959d92dd1
.
2022-06-30 13:52:43 -06:00
Stephen Liu
24a53c38c6
fix(big-number): big number gets cut off on a Dashboard ( #20488 )
2022-06-30 16:19:38 +08:00
Yongjie Zhao
de524bc59f
feat: apply standardized form data to tier 2 charts ( #20530 )
2022-06-29 16:27:31 +08: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
stevetracvc
a45d011e74
fix: issue with sorting by multiple columns in a table ( #19920 )
...
Recent commit to sort alphanumeric columns via case insensitive
comparison broke the multi-column sort option. React-table only sorts
by the second (or third...) column if the first column matches.
Since the alphanumeric sort only returned -1 or 1, it never would move
to the subsequent columns when the earlier column values matched.
2022-06-23 08:39:46 -03:00
smileydev
1ae935379f
fix(chart & table): make to prevent dates from wrapping ( #20384 )
2022-06-21 09:58:50 -03:00
Diego Medina
93774d1860
fix: table viz sort icon bottom aligned ( #20447 )
2022-06-21 09:10:37 -03: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
b32288fddf
fix(bar-chart-v2): remove marker from bar chart V2 ( #20409 )
2022-06-17 10:52:26 +08:00
Kamil Gabryjelski
c959d92dd1
feat(plugin-chart-echarts): Support stacking negative and positive values ( #20408 )
2022-06-16 13:58:58 +02:00
Yongjie Zhao
0a50a9b380
feat: setting limit value when Pie chart switches ( #20392 )
2022-06-15 21:49:00 +08:00
Yongjie Zhao
7c252d7524
feat: adding truncate metric control on timeseries charts ( #20373 )
2022-06-15 20:55:10 +08:00
Kamil Gabryjelski
354a89950c
feat(explore): Denormalize form data in echarts, world map and nvd3 bar and line charts ( #20313 )
...
* feat(explore): Apply denormalize form data function to echarts and world map
* Denormalize form data in mixed timeseries
* Add dist bar chart
2022-06-09 11:54:09 +02: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
Stephen Liu
9646591d24
fix(legacy-plugin-chart-sunburst): linear color scheme not work when secondary metric is provided ( #20221 )
2022-05-31 23:37:24 +08:00
stevetracvc
7e9b85f76c
feat: add drag and drop column rearrangement for table viz ( #19381 )
2022-05-24 19:10:57 -07:00
Diego Medina
22b7496d2e
fix: string aggregation is incorrect in PivotTableV2 ( #19102 )
...
* fix: string aggregation is incorrect in PivotTableV2
* cleanup
* fix
* updates
2022-05-23 12:39:18 -06:00
Yongjie Zhao
d7e3ac306f
chore: filter undefined operators ( #20157 )
2022-05-23 18:24:32 +08:00
smileydev
56e96950c1
fix(chart & heatmap): make to fix that y label is rendering out of bounds ( #20011 )
2022-05-20 12:54:42 -06: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
Ville Brofeldt
0b3d3dd4ca
fix(generic-chart-axes): set x-axis if unset and ff is enabled ( #20107 )
...
* fix(generic-chart-axes): set x-axis if unset and ff is enabled
* simplify
* simplify
* continue cleanup
* yet more cleanup
2022-05-19 13:21:25 +03:00
Geido
1fe30f1f0e
Add tnum property to tables ( #20093 )
2022-05-18 16:26:29 +02: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
Ville Brofeldt
d5802f7896
fix(generic-axes): apply contribution before flatten ( #20077 )
2022-05-16 16:26:31 +03:00
smileydev
f43dbc0dfd
fix(chart & gallery): make to add mixed time-series into recommended charts ( #20064 )
2022-05-14 11:20:49 +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
Stephen Liu
35e6e2709c
fix(plugin-chart-echarts): tooltip of big number truncated at then bottom ( #20029 )
2022-05-13 22:51:42 +08: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
Michael S. Molina
c4c714fffb
chore: Removes hard-coded colors from the plugins - iteration 2 ( #20006 )
...
* chore: Removes hard-coded colors from the plugins - iteration 2
* Fixes lint errors
2022-05-12 10:12:17 -03:00
Etienne Baratte
2e31021ecd
fix: fix word cloud randomness ( #19977 )
2022-05-11 22:56:09 +08:00
Michael S. Molina
b7cff8335b
chore: Removes hard-coded colors from the plugins - iteration 1 ( #19923 )
...
* chore: Removes hard-coded colors from the plugins - iteration 1
* Fixes lint errors
* Fixes tests
2022-05-09 10:44:13 -03:00
Ville Brofeldt
f144de4ee2
Revert "chore(deps): bump d3-svg-legend in /superset-frontend ( #19846 )" ( #19972 )
...
This reverts commit 528a9cd7c7
.
2022-05-06 13:11:41 +03:00
smileydev
902ac05372
fix(chart & table): make to allow highlight in case of numeric column ( #19938 )
...
* fix(chart & table): make to allow highlight in case of numeric column
* fix(chart & table): make to use emitFilter directly
* fix(chart & table): make to use styled component instead of inline style
2022-05-04 14:20:57 -06:00
Michael S. Molina
e9032e95ec
chore: Adds theme object to chart properties ( #19951 )
2022-05-04 09:55:22 -03:00
smileydev
7b3d0f040b
feat(chart & legend): make to enable show legend by default ( #19927 )
2022-05-02 14:37:11 -06:00
Stephen Liu
11562971fb
fix(plugin-chart-echarts): [feature parity] annotation line chart color not working ( #19758 )
2022-04-28 19:10:58 +03:00
Ville Brofeldt
d5ea537b0e
fix(plugin-chart-handlebars): fix overflow, debounce and control reset ( #19879 )
...
* fix(plugin-chart-handlebars): fix overflow
* add debounce, fix reset controls
* fix deps
* remove redundant code
* improve examples
* add last missing resetOnHides
* fix test
* use isPlainObject
2022-04-28 16:38:23 +03:00
Geido
ed1309e6bd
fix: Dates alignment in Table viz ( #19668 )
...
* Fix dates alignment
* Add package lock changes
* Update package-lock
* Clean up
2022-04-28 11:37:49 +02:00
Yongjie Zhao
f5e9f0eb3b
feat: add Advanced Analytics into mixed time series chart ( #19851 )
2022-04-27 23:36:19 +08:00
Diego Medina
d65b77ec7d
fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options ( #19778 )
...
* fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options
* fix package.json
* fix lint
2022-04-26 16:25:40 -06:00
dependabot[bot]
528a9cd7c7
chore(deps): bump d3-svg-legend in /superset-frontend ( #19846 )
...
Bumps [d3-svg-legend](https://github.com/susielu/d3-legend ) from 1.13.0 to 2.25.6.
- [Release notes](https://github.com/susielu/d3-legend/releases )
- [Commits](https://github.com/susielu/d3-legend/compare/v1.13.0...v2.25.6 )
---
updated-dependencies:
- dependency-name: d3-svg-legend
dependency-type: direct:production
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-04-26 14:20:19 -06:00
Josh Soref
bebb10e495
chore(frontend-tests): Spelling ( #19853 )
...
* spelling: against
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: been
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: charts
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: clicking
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: columns
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: duplicate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: especially
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: extensions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fields
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: filter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: for
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: label
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: labeled
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: nativefilter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: registry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: render
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: resizable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: response
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: transform
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unfortunately
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: until
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: virtual
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: wrapper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 10:35:01 -07:00
Jeremy
e632b82395
feat: Adds plugin-chart-handlebars ( #17903 )
...
* adds: plugin chart handlebars
* adds: handlebars plugin to main presets
* update: npm install
* chore: lint
* adds: dateFormat handlebars helper
* deletes: unused props
* chore: linting plugin-chart-handlebars
* docs: chart-plugin-handlebars
* adds: moment to peer deps
* update: use error handling
* update: inline config, adds renderTrigger
* update: inline config, adds renderTrigger
* camelCase controls
* (plugins-chart-handlebars) adds: missing props
Adds missing propeties in test formData
* (plugin-chart-handlebars) fixes test
* (plugin-handlebars-chart) use numbers for size
* (feature-handlebars-chart) fix viz_type
* (plugin-handlebars-chart) revert
revert the viz_type change. it was in the wrong place.
* fix test and add license headers
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-04-26 14:34:28 +03:00