Commit Graph

53 Commits

Author SHA1 Message Date
maltoze
af43889887 fix(plugin-chart-table): chinesee translation improve (#1189) 2021-11-26 11:47:14 +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
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
Evan Rusackas
ade57cf991 fix: making location of sorting arrows in Table more consistent. (#1124) 2021-11-26 11:47:10 +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
Ville Brofeldt
33198abcfb fix(plugin-chart-table): check if control values are set (#1095) 2021-11-26 11:47:07 +08:00
Amit Miran
c86ffd26c5 fix: interactiveGroupBy can works regardless to queryMode 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
Jesse Yang
08a0d0a324 feat(plugin-chart-table): disable show_totals by default (#1078) 2021-11-26 11:47:06 +08:00
simcha90
ec45fa5f9d refactor: tick calculation (#1072) 2021-11-26 11:47:05 +08:00
simcha90
2bb19f16ee feat: groupby filter (#1064) 2021-11-26 11:47:04 +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
maltoze
d1d1adfca6 chore(plugin-chart-table): add muted attribute of video tag to whitelist (#1051) 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
Ville Brofeldt
a0d60c066d fix(plugin-chart-table): fix empty metrics (#1047) 2021-11-26 11:47:02 +08:00
Kamil Gabryjelski
fcd11cde42 feat(plugin-chart-table): enable emitting cross-filters (#1041)
* feat(plugin-chart-table): enable emitting cross-filters

* Hide filters checkbox when cross filters flag is disabled
2021-11-26 11:47:02 +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
79d561d67a fix(plugin-chart-table): add text align to table header (#1039) 2021-11-26 11:47:01 +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
Jesse Yang
a101117f9e feat(plugin-chart-table): add column config control (#1019) 2021-11-26 11:47:00 +08:00
simcha90
716a9624c0 fix(table): Fix backend pagination table case (#1007)
* feat: add BE pagination to table with pages

* test: update tests

* refactor: fix table CR notes

* lint: fix TS

* lint: fix TS

* lint: fix TS

* lint: fix TS

* lint: fix TS

* lint: update types

* lint: update types

* lint: fix TS

* lint: fix TS

* lint: fix TS

* fix: no results
2021-11-26 11:46:59 +08:00
Jesse Yang
e03c4ee495 fix(plugin-chart-table): metrics should be undefined (#1005) 2021-11-26 11:46:58 +08:00
Jesse Yang
bc30636c91 fix(core): don't add metrics to query object when in raw records mode (#995) 2021-11-26 11:46:58 +08:00
Jesse Yang
4674748047 refactor(chart-controls): optimize typing (#998) 2021-11-26 11:46:58 +08:00
Jesse Yang
69a5c9004b fix(plugin-chart-table): ignore duplicate percent metrics (#994) 2021-11-26 11:46:57 +08:00
simcha90
103f8e41d9 feat: add BE pagination to table with pages (#985) 2021-11-26 11:46:57 +08:00
simcha90
0e0f67a778 feat(self-trigger): add backend pagination for the table (#959)
* feat: add backend pagination for the table

* fix: fix first render next button

* refactor: fix CR notes

* fix: fix CR notes

* refactor: fix CR notes

* chore: add description

* refactor: add behavior property to ChartProps.ts
2021-11-26 11:46:56 +08:00
Jesse Yang
eb168618c1 fix(plugin-chart-table): hide cell bar for group by fields (#957) 2021-11-26 11:46:55 +08:00
Victor Malai
b5627c73ea feat(plugin-chart-table): add tooltip about multiple sort (#958)
* feat(plugin-chart-table): subject Add tooltip show multiple sort

* Change message
2021-11-26 11:46:54 +08:00
Jesse Yang
79f67fe6c3 fix(plugin-chart-table): better rendering for temporal columns (#937) 2021-11-26 11:46:53 +08:00
Jesse Yang
ea63b7cf8e fix(plugin-chart-table): always sort descending by first metric (#935) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
b011c7914b fix(plugin-chart-table): refine ordering logic (#930) 2021-11-26 11:46:52 +08:00
Jesse Yang
b4bee55e9f fix(plugin-chart-table): unnecessary post_processing in raw records mode (#925) 2021-11-26 11:46:52 +08:00
Jesse Yang
1846be099b feat(core): add orderby to extractQueryFields (#919) 2021-11-26 11:46:52 +08:00
Jesse Yang
75298ecda3 refactor(plugin-chart-table): migrate to API v1 (#889) 2021-11-26 11:46:51 +08:00
Jesse Yang
d8e1bbb9dd chore: upgrade eslint and babel (#892) 2021-11-26 11:46:49 +08:00
simchaNielsen
16225132c2 chore(core): remove queryData and replace with queriesData (#874)
* feat: remove single queryData from api

* feat: migrate old plugins to queriesData api property

* test: fix tests

* test: fix tests

* fix: fix storybook

* lint: fix lint

* refactor: fix CR notes

* refactor: remove queryData from Chart Provider
2021-11-26 11:46:47 +08:00
Jesse Yang
55ee542813 refactor: remove queryFields from formData and improve typing (#862) 2021-11-26 11:46:47 +08:00
Ville Brofeldt
4e39e9e683 chore(chart-controls): remove dedicated time section (#869) 2021-11-26 11:46:46 +08:00
Jesse Yang
286255d85a build: remove nimbus (#847) 2021-11-26 11:46:46 +08:00
Jesse Yang
047ad3c0c5 chore: compress thumbnail images with pngquant (#770) 2021-11-26 11:46:39 +08:00
Jesse Yang
415ce5efd8 refactor: merge core superset-ui packages (#768)
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8. move superset-ui/chart-composition to core (#759)
9. move superset-ui/chart to core (#760)
2021-11-26 11:46:38 +08:00
Jesse Yang
6def6b4c0b feat: properly translate the table chart (#724) 2021-11-26 11:46:36 +08:00
Jesse Yang
835335d3e4 feat: align metrics title to the right (#721) 2021-11-26 11:46:36 +08:00
Jesse Yang
33d2fa155f fix: charts rerender with zero-height during tab switch (#703) 2021-11-26 11:46:35 +08:00
Jesse Yang
7b7c8a0c1a fix(plugin-chart-table): value undefined when table name has dot (#686)
* fix(plugin-chart-table): value undefined when table name has dot

* Upgrade react everywhere

* add comment
2021-11-26 11:46:33 +08:00
Jesse Yang
142544cd44 fix(plugin-chart-table): sort and search time column (#669) 2021-11-26 11:46:32 +08:00
Jesse Yang
c9cc22ca1e chore(plugin-chart-table): fix typo and formatting 2021-11-26 11:46:31 +08:00
Jesse Yang
0e1ea1217c fix(plugin-chart-table): formatting non-numeric metrics (#663) 2021-11-26 11:46:31 +08:00
Jesse Yang
771cf48c6b fix(plugin-chart-table): anchor should keep href (#661) 2021-11-26 11:46:30 +08:00