Commit Graph

32 Commits

Author SHA1 Message Date
dependabot[bot] daaf657d47
build(deps-dev): bump @types/jest from 26.0.24 to 29.5.12 in /superset-frontend/plugins/plugin-chart-handlebars (#26973)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
Co-authored-by: GitHub-Actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 14:36:08 -08: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
dependabot[bot] 7da56a0744
build(deps-dev): bump jest from 26.6.3 to 29.7.0 in /superset-frontend/plugins/plugin-chart-handlebars (#26528)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
2024-01-23 20:27:21 -07:00
dependabot[bot] 595386f9a6
build(deps-dev): update @types/lodash requirement from ^4.14.149 to ^4.14.202 in /superset-frontend/plugins/plugin-chart-handlebars (#26595)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
2024-01-23 16:31:11 -07:00
Michael S. Molina 69b57016b3
refactor: Removes the deprecated DASHBOARD_NATIVE_FILTERS feature flag (#26329) 2024-01-19 17:07:38 -03:00
Michael S. Molina 6063f4ff04
refactor: Removes the deprecated ENABLE_EXPLORE_DRAG_AND_DROP feature flag (#26343) 2024-01-16 10:47:52 -03:00
yousoph e36e0fdf25
chore: Update Explore tooltip copy (#25438) 2023-09-29 23:11:19 -06:00
Kamil Gabryjelski f7e76d02b7
feat: Add currencies controls in control panels (#24718) 2023-08-02 19:22:45 +02:00
Felix 422e21eb16
fix(plugin-chart-handlebars): Fix TypeError when using handlebars columns raw mode (#23801) 2023-05-15 10:01:31 -06:00
Nicolas Charpentier 60c2e7013d
docs: cleanup references to `apache-superset/superset-ui` (#23796) 2023-04-25 09:18:27 -06: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
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
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
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
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
Andrew df7840c041
chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08:00
Yongjie Zhao 9dd102f383
refactor: remove useless groupby from QueryObject (#21643) 2022-09-30 11:53:54 +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 e70699fb43
fix(plugin-chart-handlebars): order by control not work (#21005) 2022-08-22 15:00:34 +08:00
Diego Medina 5d107b86ab
fix: explore warnings cleanup (#20864) 2022-07-26 13:28:50 +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
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
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
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
Michael S. Molina e9032e95ec
chore: Adds theme object to chart properties (#19951) 2022-05-04 09:55:22 -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
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