Commit Graph

713 Commits

Author SHA1 Message Date
Kamil Gabryjelski
11a52ea0fc chore(chart-controls): improve typing for mapStateToProps (#1171) 2021-11-26 11:47:18 +08:00
Kamil Gabryjelski
e362e1339d chore: publish v0.17.71 2021-11-26 11:47:18 +08:00
Kamil Gabryjelski
413d0da5f7 chore(core): add UX_BETA feature flag (#1233) 2021-11-26 11:47:18 +08:00
Yongjie Zhao
473698b69f chore: publish v0.17.70 2021-11-26 11:47:18 +08:00
Yongjie Zhao
eea1c5738b chore: publish v0.17.69 2021-11-26 11:47:18 +08:00
Kamil Gabryjelski
a94ef9ff00 feat(chart-controls): dnd version of time column (#1226) 2021-11-26 11:47:17 +08:00
erik_ritter
844c06907d chore: publish v0.17.67 2021-11-26 11:47:17 +08:00
Erik Ritter
4005789244 fix: Reduce bundle sizes from react-icons (#1225) 2021-11-26 11:47:17 +08:00
Kamil Gabryjelski
db7162037b chore(chart-controls): improve test coverage (#1219) 2021-11-26 11:47:16 +08:00
Kamil Gabryjelski
b608cba91e chore: publish v0.17.66 2021-11-26 11:47:16 +08:00
Kamil Gabryjelski
3bfa709197 feat(chart-controls): implement color formatters utils (#1215)
* feat(chart-controls): implement color formatters utils

* Change enum name

* Add unit tests

* Fix tests

* Add more tests
2021-11-26 11:47:16 +08:00
Yongjie Zhao
f9a7226716 chore: publish v0.17.65 2021-11-26 11:47:16 +08:00
Yongjie Zhao
560114107a chore: publish v0.17.64 2021-11-26 11:47:16 +08:00
Yongjie Zhao
e96428e6c8 feat: Normalize orderby clause (#1206)
* feat: normalize orderby clause

* fix ut
2021-11-26 11:47:15 +08:00
David Aaron Suddjian
b9ca94e592 chore: publish v0.17.63 2021-11-26 11:47:15 +08:00
David Aaron Suddjian
0e60157445 chore: publish v0.17.62 2021-11-26 11:47:15 +08:00
David Aaron Suddjian
1e70b2a957 chore: publish v0.17.61 2021-11-26 11:47:15 +08:00
David Aaron Suddjian
4f1b7687bd chore: publish v0.17.60 2021-11-26 11:47:14 +08:00
David Aaron Suddjian
29df573a94 feat(core): Registry listeners (#1191)
* feat(core): registry listeners + hook

* remove hook

* tests

* equivalent function

* name changes

* test broken listeners
2021-11-26 11:47:14 +08:00
David Aaron Suddjian
5b9b2b6aec chore: publish v0.17.59 2021-11-26 11:47:14 +08:00
maltoze
9227b1e848 fix(core): missing translation (#1144) 2021-11-26 11:47:13 +08:00
David Aaron Suddjian
fb8b7a236d chore(core): adjustments to chart metadata (#1177) 2021-11-26 11:47:13 +08:00
Ville Brofeldt
cfe9da4029 chore: publish v0.17.58 2021-11-26 11:47:13 +08:00
Ville Brofeldt
1bd2ff6abd fix(core): remove height and width requirement on SuperChart (#1176)
* fix(core): remove height and width requirement on SuperChart

* simply by removing state
2021-11-26 11:47:13 +08:00
Kamil Gabryjelski
130e8a0214 chore: publish v0.17.57 2021-11-26 11:47:13 +08:00
erik_ritter
5b4b05a499 chore: publish v0.17.56 2021-11-26 11:47:12 +08:00
Ajay M
c39735546e Add ALLOW_FULL_CSV_EXPORT feature flag (#1165) 2021-11-26 11:47:12 +08:00
erik_ritter
483e25b8bd chore: publish v0.17.55 2021-11-26 11:47:12 +08:00
David Aaron Suddjian
516209e669 chore(core): add new fields to metadata class (#1149) 2021-11-26 11:47:12 +08:00
Ville Brofeldt
00617b9442 chore: publish v0.17.54 2021-11-26 11:47:12 +08:00
Yongjie Zhao
6b4480b63f feat: expose form_data to datasourceControl (#1148) 2021-11-26 11:47:12 +08:00
Ville Brofeldt
7bd79d6883 chore: publish v0.17.53 2021-11-26 11:47:11 +08:00
AAfghahi
48aa0c3bb5 changed name to be more descriptive (#1145) 2021-11-26 11:47:11 +08:00
AAfghahi
47a5f34962 feat: adding to feature flag enum (#1142) 2021-11-26 11:47:11 +08:00
Ville Brofeldt
b912b3fda1 chore: publish v0.17.52 2021-11-26 11:47:11 +08:00
Kamil Gabryjelski
1a4e3e8cc6 feat(core): remove defaults for time range filter and Metrics (#1114)
* feat(core): remove defaults for time range filter and Metrics

* Display errors on all 3 controls

* Fix for raw mode

* Refactor duplicated code
2021-11-26 11:47:11 +08:00
Ville Brofeldt
0a7e2da8cc feat(core): add new feature flags (#1133) 2021-11-26 11:47:11 +08:00
Evan Rusackas
a2b9ba9b64 chore: publish v0.17.51 2021-11-26 11:47:11 +08:00
Ville Brofeldt
2511c84bf8 chore: publish v0.17.50 2021-11-26 11:47:10 +08:00
Kamil Gabryjelski
c461abbdeb feat(chart-controls): implement drag&drop controls for all charts (#1127)
* feat(chart-controls): implement drag&drop controls for all charts

* Split stacked controls into separate rows
2021-11-26 11:47:10 +08:00
Ville Brofeldt
a6cfaffa35 feat(core): add support for case insensitive LIKE operator (#1129) 2021-11-26 11:47:10 +08:00
Yongjie Zhao
6675e60280 feat: add orderby shared control (#1122) 2021-11-26 11:47:10 +08:00
Ville Brofeldt
25318c38bc chore: publish v0.17.49 2021-11-26 11:47:10 +08:00
Ville Brofeldt
c2c84da6f0 feat(core): add support for empty results and refresh indicator (#1121)
* feat(core): add support for empty results and refresh indicator

* add workaround for reselect limitation

* fix tests, add new test and disable typing for ChartProps.ts
2021-11-26 11:47:10 +08:00
Michael S. Molina
a60771f509 fix: Fixes metric control when changing viz type to tree chart (#1116) 2021-11-26 11:47:10 +08:00
Yaozong Liu
b6f2df9583 fix(plugin-chart-echarts): disabling dragging treemap on the dashboard (#1109) 2021-11-26 11:47:09 +08:00
Ville Brofeldt
8fcf38d843 chore: publish v0.17.48 2021-11-26 11:47:09 +08:00
Michael S. Molina
0eaa79dc1e chore: removes react-bootstrap (#1108) 2021-11-26 11:47:09 +08:00
Yongjie Zhao
e6673f3423 chore: publish v0.17.47 2021-11-26 11:47:09 +08:00
Ville Brofeldt
92b7693720 chore: publish v0.17.46 2021-11-26 11:47:09 +08:00
Ville Brofeldt
a622b1d70e fix(core): clean up datatype logic (#1102) 2021-11-26 11:47:09 +08:00
Ville Brofeldt
e51f034317 fix: use proper time grain when using native filters or filter box (#1104) 2021-11-26 11:47:08 +08:00
Evan Rusackas
379aeb8927 chore: publish v0.17.45 2021-11-26 11:47:08 +08:00
Yaozong Liu
012e5dcbc0 feat(plugin-chart-echarts): Echarts Treemap (#1094)
* feat(plugin-chart-echarts): add echarts treemap plugin

* fix(plugin-chart-echarts): add sort descending

* fix(plugin-chart-echarts): add label position and set clear before setOption

* fix(plugin-chart-echarts): metric -> metrics

* fix(plugin-chart-echarts): change thumbnail.

* fix(plugin-chart-echarts): fix treemap transformProps test

* fix(plugin-chart-echarts): clear nouse types

* fix(plugin-chart-echarts): storybook data

* fix(plugin-chart-echarts): remove features

* fix(plugin-chart-echarts): add forceClear

* fix(plugin-chart-echarts): change storybook data

* fix(plugin-chart-echarts): enhancements

* fix(plugin-chart-echarts): enhancements for color and fix ci
2021-11-26 11:47:08 +08:00
Ville Brofeldt
690c5cef5e chore: publish v0.17.44 2021-11-26 11:47:08 +08:00
Mayur
d1312ab2a8 feat(plugin-chart-echart): New Tree chart (#1018)
* initial

* tests added,1 typing issue present

* remove log

* remove color

* remove duplicate tooltip

* Update plugins/plugin-chart-echarts/src/Tree/transformProps.ts

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* clean

* merge

* optional name column,more tests...

* bug fix

* remove unused imports

* lint

* bug fix

* tying fix

* clean,typing fix

* stories added

* optional metric control

* bigger thumbnail

* optional root node name

* storybokk updated

* children list seperated instead of mutating data,if root node not provided defaault it to node with most children

* remove logs,optimization needed

* find best node if root not provided,use seperate children list to avoid issues if column name is children

* remove unused import

* type fix

* Update transformProps.ts

* Update debugging.md

* better todo

* updated radio button with new signature

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-11-26 11:47:08 +08:00
Jesse Yang
f9f14a1bc7 chore: publish v0.17.43 2021-11-26 11:47:07 +08:00
Jesse Yang
112beb6533 chore: publish v0.17.42 2021-11-26 11:47:07 +08:00
Jesse Yang
dd5a4bc56b chore: explore more stuff from emotion/react 2021-11-26 11:47:07 +08:00
Jesse Yang
a89b78c112 chore: upgrade to emotion@11 (#1086) 2021-11-26 11:47:07 +08:00
Jesse Yang
679b82b491 fix(plugin-chart-table): hide column configs when no columns (#1085) 2021-11-26 11:47:06 +08:00
gordern
639c8bac74 feat(plugin-chart-echarts): echarts funnel chart (#1006)
* fix(plugin-chart-echarts): funnel rebase master

* fix(plugin-chart-echarts): resize thumbnail for Funnel Chart

* fix(plugin-chart-echarts): rm Funnel shape

* fix(plugin-chart-echarts): don't need the sort_by_metric control

* fix(plugin-chart-echarts): add sort and orient into Funnel shape

* refactor: use sharedControls instead of controlOverrides

* fix(plugin-chart-echarts): rm min/max args to use echarts default

* style(plugin-chart-echarts): update funnel thumbnail

* style(plugin-chart-echarts): rm unused properties

* fix(plugin-chart-echarts): revert yarn.lock into then one from master

* style(plugin-chart-echarts): add newline at the end of yarn.lock

* style(plugin-chart-echarts): npm run format

n

* style(plugin-chart-echarts): inser final new line to yarn.lock

* fix(demo): update funnel to Funnel

* feat(plugin-chart-echarts): add cross-filter

* feat(plugin-chart-echarts): add cross-filter
2021-11-26 11:47:06 +08:00
Jesse Yang
3d3393cc71 chore: publish v0.17.41 2021-11-26 11:47:06 +08:00
Jesse Yang
6089bcfd89 fix(plugin-chart-table): resize and totals formatting bug (#1082) 2021-11-26 11:47:06 +08:00
Evan Rusackas
5bae6a6110 chore: publish v0.17.40 2021-11-26 11:47:06 +08:00
Evan Rusackas
f72128fadb chore: juggling imports/exports (#1080) 2021-11-26 11:47:06 +08:00
Evan Rusackas
8f9c4ac582 chore: publish v0.17.39 2021-11-26 11:47:06 +08:00
Evan Rusackas
3a1aee7807 chore: adds Emotion's CacheProvider and createCache as exports from Core package (#1073)
* chore: adds CacheProvider and createCache to Core

* chore: re-exporting even more stuff!
2021-11-26 11:47:05 +08:00
Ville Brofeldt
20381251d3 chore: publish v0.17.38 2021-11-26 11:47:05 +08:00
Ville Brofeldt
a3bf281929 chore: publish v0.17.37 2021-11-26 11:47:05 +08:00
erik_ritter
58537efc3a chore: publish v0.17.36 2021-11-26 11:47:05 +08:00
Erik Ritter
cc25094b85 feat: add tooltip for full metric names (#1066) 2021-11-26 11:47:05 +08:00
Ville Brofeldt
ac6e73f58e chore: publish v0.17.35 2021-11-26 11:47:04 +08:00
Ville Brofeldt
935c3af326 chore: publish v0.17.34 2021-11-26 11:47:04 +08:00
Ville Brofeldt
7670a90836 feat(plugin-chart-echarts): add mixed timeseries chart (#1027)
* feat(plugin-chart-echarts): add multiple timeseries chart

* cleanup

* add storybook
2021-11-26 11:47:04 +08:00
Yongjie Zhao
18b1ef008d feat(plugin-chart-echarts): Radar chart POC (#1029)
* feat(plugin-chart-echarts): radar chart mvp

* fix TS error

* fix lint

* WIP

* fix cross-filter and CI

* rebase master

* remove unused control configuration

* Added period to the end of sentence.

* fix FE exception when changes dataset
2021-11-26 11:47:04 +08:00
Ville Brofeldt
8fe9269afe chore: publish v0.17.33 2021-11-26 11:47:04 +08:00
Ville Brofeldt
b0cd62ffb7 chore: publish v0.17.32 2021-11-26 11:47:03 +08:00
Ville Brofeldt
2f391ae082 chore(core): simplify ExtraFormData (#1053)
* chore(core): refactor ExtraFormData

* infer override keys from mappings and remove redundant time_range

* rename cross to interactive

* rename CROSS_FILTER to INTERACTIVE_CHART

* remove ts-ignore
2021-11-26 11:47:03 +08:00
Kamil Gabryjelski
9b6f23d3a7 feat(viz): Pivot table chart POC (#1023)
* feat(plugin-chart-pivot-table): add new plugin

* Implement pivot table chart

* Toggle display of grand totals

* Update table viz name

* Minor changes

* Update types

* Implement transpose pivot

* Keep the original order of metrics when sorting

* Use D3 value formatting

* Fix type error

* Explicitly cast payload to JsonObject to fix type error

* Fix tests

* Update react-pivottable dependency

* Solve merge conflicts

* Change thumbnail

* Replace console logs with TODO comments

* Implement z-a sorting

* Update README

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:47:03 +08:00
simcha90
1dc7538877 refactor(native-filters): Update dataMask structure (#1040)
* refactor: change own state

* refactor: change own state

* refactor: update TS for extra form data

* refactor: usage ownState in charts

* refactor: update dataMask (final)

* lint: update TS

* lint: update TS

* refactor: update table setDataMaskHook

* docs: fix comment
2021-11-26 11:47:03 +08:00
Jesse Yang
822ed0c978 chore: publish v0.17.31 2021-11-26 11:47:03 +08:00
Jesse Yang
cbaec13962 fix(legacy-plugin-chart-country-map): higher quality geojson and re-arrange controls (#1045) 2021-11-26 11:47:02 +08:00
Ville Brofeldt
6e01a25e35 chore: publish v0.17.30 2021-11-26 11:47:02 +08:00
Ville Brofeldt
ed87d473ee fix(plugin-chart-echarts): default to standard x-axis format (#1043) 2021-11-26 11:47:02 +08:00
Ville Brofeldt
7019e0a098 chore: publish v0.17.29 2021-11-26 11:47:02 +08:00
simcha90
05bd319e27 feat(native-filters): add AppSection type (#1038)
* feat: add place type

* refactor: fix CR notes

* docs: update comments

* fix: fix CR notes
2021-11-26 11:47:01 +08:00
Lily Kuang
803fd44dac feat(feature-flag): add ALERTS_ATTACH_REPORTS feature flag (#1042)
* add alert/report ALERTS_ATTACH_REPORTS feature flag

* fix lint
2021-11-26 11:47:01 +08:00
Kamil Gabryjelski
f4eeebf368 feat(plugin-chart-table): Implement showing totals (#1034)
* feat(plugin-chart-table): implement totals row

* Fix typo

* Fix totals with percentage metrics

* Code review fixes

* Use dnd with percentage metrics and sortby controls

* Make totals checkbox tooltip more descriptive

* Remove console.log

* Change totals tooltip

* Fix typing error

* Use array destructuring

* Fix typo
2021-11-26 11:47:01 +08:00
Jesse Yang
62906906a5 chore: publish v0.17.28 2021-11-26 11:47:01 +08:00
Ville Brofeldt
dfd2fda687 chore: publish v0.17.27 2021-11-26 11:47:01 +08:00
Amit Miran
e71d929034 feat: extra_jwt support to be used in dashboard_rbac (#1021)
* feat: extra_jwt support to be used in dashboard_rbac for BE validation of data-access based on dashboard access

* test: extra_jwt existence

* chore: extra_jwt in BaseFormData

* fix: add missing ff to enum

* fix: missing :

* chore: add extra_jwt to QueryContext

* Update QueryFormData.ts

* Update buildQueryContext.ts

* Update buildQueryContext.test.ts

* fix: text

* Update Query.ts

* Update QueryFormData.ts
2021-11-26 11:47:01 +08:00
Jesse Yang
943348b8bf chore: publish v0.17.26 2021-11-26 11:47:01 +08:00
Jesse Yang
6f3f377b43 fix(chart-controls): transform emotion css prop (#1036) 2021-11-26 11:47:01 +08:00
Jesse Yang
9b94f14416 chore: publish v0.17.25 2021-11-26 11:47:01 +08:00
Jesse Yang
cd5a95763d fix(chart-controls): export/import DTTM_ALIAS properly (#1035) 2021-11-26 11:47:00 +08:00
Jesse Yang
65d04d0ef5 chore: publish v0.17.24 2021-11-26 11:47:00 +08:00
Jesse Yang
090e3b1e91 feat(plugin-chart-table): add small number formatter (#1028)
* feat(plugin-chart-table): add small number formatter

* Fix basic storybook
2021-11-26 11:47:00 +08:00
erik_ritter
98d2502b53 chore: publish v0.17.23 2021-11-26 11:47:00 +08:00
Erik Ritter
75ef664c5d feat: add default series_limit (#1033) 2021-11-26 11:47:00 +08:00