Commit Graph

56 Commits

Author SHA1 Message Date
Vitor Avila
43314dc8db fix(Pivot Table): Fix column width to respect currency config (#31414) 2024-12-12 10:44:07 -03:00
yousoph
3ec3f0a610 fix(explore): Update tooltip copy for rendering html in tables and pivot tables (#30682)
Co-authored-by: Joe Li <joe@preset.io>
2024-11-01 10:54:50 -07:00
Geido
fb6efb9e9a fix(PivotTable): Pass string only to safeHtmlSpan (#29895) 2024-08-08 20:01:18 +03:00
Đỗ Trọng Hải
1c3ef01209 chore(build): uplift several outdated frontend packages (#29652)
Signed-off-by: hainenber <dotronghai96@gmail.com>
2024-08-06 09:02:01 -06:00
Maxime Beauchemin
c5829419e3 feat: get html (links/styling/img/...) to work in pivot table (#29724) 2024-07-31 16:43:56 -07:00
Matheus Batista
024cfd86e4 feat(formatters): Add custom d3-time-format locale (#24263) 2024-06-10 12:24:33 -06:00
Đỗ Trọng Hải
0ca42a8e4d chore: remove React 16.4's obsolete React imports (#28571)
Signed-off-by: hainenber <dotronghai96@gmail.com>
2024-06-05 08:13:24 -03:00
Michael S. Molina
95706d9be2 feat: Adds the Featured Charts dashboard (#28789) 2024-06-04 16:59:10 -03:00
Edgar Ulloa
7263c7cb47 refactor: add "button" role to clickable UI elements for improved accessibility (#26602) 2024-04-18 18:28:02 +02:00
Stepan
60fe58196a fix(pivot-table-v2): Added forgotten translation pivot table v2 (#22840) 2024-02-15 10:16:02 -07:00
Evan Rusackas
753ef69529 feat(storybook): Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) (#26907) 2024-02-15 07:40:17 -07:00
Ville Brofeldt
19f8405bc0 chore: make TS enums strictly PascalCase (#26875) 2024-01-31 17:40:44 -08:00
Michael S. Molina
8a2f7d378a refactor: Removes the deprecated GENERIC_CHART_AXES feature flag (#26372) 2024-01-31 09:45:57 -05:00
Antonio Rivero
7536dd12cd fix(charts): Time grain is None when dataset uses Jinja (#25842) 2023-11-06 09:51:28 -08:00
Michael S. Molina
be11556799 feat: Adds options to show subtotals in Pivot Table (#24960) 2023-08-14 09:20:32 -03:00
Kamil Gabryjelski
f7e76d02b7 feat: Add currencies controls in control panels (#24718) 2023-08-02 19:22:45 +02:00
Michael S. Molina
6e59f11f4c fix: Dashboard time grain in Pivot Table (#24665) 2023-07-13 11:33:16 -03:00
Kamil Gabryjelski
83ff4cd86a feat: Implement currencies formatter for saved metrics (#24517) 2023-06-28 20:51:40 +02:00
Evan Rusackas
46c2479db2 fix(capitalization): Capitalizing the 'metric' label in Pivot Tables (#24265) 2023-06-07 16:34:52 -06:00
Beto Dealmeida
314987f32d fix: pivot v2 charts created before GENERIC_CHART_AXES is enabled (#23731) 2023-04-25 19:44:50 -07:00
Kamil Gabryjelski
da5f7155c6 fix: Further drill by in Pivot Table (#23692) 2023-04-14 15:50:13 +02:00
Stepan
ce3ba67cf6 fix(conditional formatting): controls looses on save (#23137) 2023-03-30 19:10:31 +02:00
Kamil Gabryjelski
9fbfd1c1d8 feat: Implement context menu for drill by (#23454) 2023-03-29 15:01:51 +02:00
akashboora
832e8fb0ac fix(Pivot Table v2): resolved full width issue (#23393) 2023-03-22 15:36:07 -06:00
Kamil Gabryjelski
d16512b775 fix(dashboard): Allow selecting text in cells in Table and PivotTable without triggering cross filters (#23283) 2023-03-06 13:42:52 +01:00
Kamil Gabryjelski
ee1952e488 feat(dashboard): Add cross filter from context menu (#23141) 2023-02-23 17:05:41 +01: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
Yash Mehta
aca2f1b201 chore: adding missing examples in the gallery for some chart types (#22766) 2023-01-18 10:16:40 -07: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
Ville Brofeldt
012d1300c1 chore(viz): rename v1 and v2 charts (#22369) 2022-12-09 22:51:37 +02:00
Yongjie Zhao
22fab5e58c feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
Michael S. Molina
9a2cb431ce fix: Adds time grain to Pivot Table v2 (#22170) 2022-11-20 10:20:01 -05: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
8f61e3c5d9 refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Stephen Liu
ab53d77aba fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard (#21539) 2022-09-28 22:10:38 +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
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
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
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
Yongjie Zhao
c348a095b9 refactor(standardized form data): refine interface and improve code smells (#20518) 2022-06-28 21:09:42 +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
dd4b581fb5 feat: standardized form_data (#20010) 2022-06-05 21:05:01 +08: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
Geido
1fe30f1f0e Add tnum property to tables (#20093) 2022-05-18 16:26:29 +02: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
Michael S. Molina
31095a523d chore: Removes plugin-chart-pivot-table hard-coded colors (#19439) 2022-03-31 13:30:36 -03:00
Kamil Gabryjelski
a8a48af7fa chore: Make font-weights themable, fix font faces (#19236)
* fix(fonts): Import all necessary font packages

* Make html tags themable

* Set bold font weight to 600, add medium font weight to theme

* Replace hard coded font weights with theme variables

* Change some font weight light elements to normal

* Fix tests

* Fix bug in pivot table

* Address code review comments
2022-03-22 09:36:15 +01: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