Commit Graph

94 Commits

Author SHA1 Message Date
Erik Ritter
1fbd920902 fix: timeout error message (#10478) 2020-07-29 15:58:46 -07:00
David Aaron Suddjian
7f70a241f9 test: Add jest-enzyme assertion library for better frontend tests (#10459)
* adding jest-enzyme

* enzymeify lots of assertions

* types for jest-enzyme
2020-07-29 10:53:06 -07:00
Stuart Hu
f7465902e4 update code (#10430)
Signed-off-by: Stuart Hu <shijiehu@improbable.io>
2020-07-27 12:48:11 +03:00
Jesse Yang
d45ef1c513 fix(dashboard): chart rerender when switching tabs (#10432) 2020-07-27 11:50:08 +03:00
Ville Brofeldt
5b6ff4944c fix: incorrect filter operator emitted by Filter Box (#10421)
* fix: equals operator in filter box

* fix time range endpoint schema

* fix test

* bump packages

* fix tests

* lint
2020-07-26 12:40:03 +03:00
Ville Brofeldt
3fdc141b82 fix: bump pivot-table and rose (#10400) 2020-07-23 01:02:08 +03:00
Evan Rusackas
ca71d4d6ee feat: adding Storybook to Superset (#10383)
* Storybook added!

* starting to configure junk....

* Storybook works!!!

* Now with theme!

* apache boilerplate

* more apache comments

* lots o' knobs for the Button.... taking stock of the codebase

* more classes, but killing the knob for now.

* nixing unused module

* linting

* fresh package-lock

* now with tooltip!

* adding path and zlip because the linter told me to

* upgrading storybook packages from devdeps

* linting

* removing cruft

* killing an annoying (and old?) lint issue

* lint fix, take 2.

* removing zlib/path

* package lock reset from master

* re-adding new packages for this here PR

* nixing console log, simplifying

* nixing comment TODOs (done enough!)

* basic docs.
2020-07-22 10:21:25 -07:00
Ville Brofeldt
5f7bb8e7bd fix: treemap template literal (#10382) 2020-07-22 07:49:35 +03:00
Ville Brofeldt
3c39b26c99 fix: extra filters for chart data endpoint (#10359)
* fix: extra filters

* fix old test and add new test

* add test for null filter value

* leave lowercase until all operators are fully uppercased

* bump packages

* rename test
2020-07-21 08:24:50 +03:00
Erik Ritter
09de805017 chore: enable no-unused-vars and prefer-template eslint rules (#10350) 2020-07-16 19:13:59 -07:00
Jesse Yang
a94744b984 fix(table-viz): value "undefined" for column.name (#10325)
Bump table viz plugin to fix a bug: apache-superset/superset-ui#686
2020-07-15 13:24:56 -07:00
Erik Ritter
66b0239eca chore: type welcome (#10317) 2020-07-15 08:38:43 -07:00
Erik Ritter
80902bca50 chore: add typing to profile (#10282) 2020-07-14 16:39:37 -07:00
Jesse Yang
e5761d3cf7 fix(table-viz): JS error when sort time column (#10250) 2020-07-07 21:28:09 -07:00
Jesse Yang
a6751bf49a fix(table-viz): format non-numeric metrics (#10234) 2020-07-02 14:44:15 -07:00
Jesse Yang
dbd4588e4f fix(table-vis): bump to v0.14.6 to fix missing anchor links (#10225) 2020-07-01 19:18:23 -07:00
Jesse Yang
f7a024d7de fix: better backward compatibility for table viz (#10219) 2020-07-01 11:23:08 -07:00
Erik Ritter
1606d80490 fix: tooltips on nvd3 charts rendering in the wrong location (#10211) 2020-06-30 18:02:29 -07:00
Jesse Yang
9bdfa055ac feat(viz): add query mode switch to table chart (#10113)
1, Replace table chart rendering from jquery.DataTables to react-table: apache-superset/superset-ui#623
2. Rearrange the control panel, replace GROUP BY and NOT GROUP BY with a "Query Mode" switch: apache-superset/superset-ui#609
2020-06-28 21:37:04 -07:00
Jesse Yang
ecb44a4243 refactor: import emotion-theming methods from @superset-ui/style (#10157)
This makes the code cleaner and fixes missing theme variables when `npm link @superset-ui/style`.
2020-06-24 19:23:51 -07:00
Jesse Yang
ed4f6e93ac chore: bump superset-ui to v0.14.1 (#10112) 2020-06-22 11:14:23 -07:00
Erik Ritter
2e76fbb7e5 chore: type FilterableTable (#10073) 2020-06-18 21:57:11 -07:00
Phillip Kelley-Dotson
02fee35314 chore(metricoption): remove metricoption and columntypelable dependency (#10077)
* remove columntypeLabel and metricoptions from superset

* fix lint

* remove old test

* update pakage

* add suggestions

* fix merge conflict
2020-06-17 19:55:17 -07:00
ʈᵃᵢ
c914af0bc4 fix: adds pagination/infinite scroll to owners select in DashboardList and ChartList (#10035) 2020-06-17 16:27:21 -07:00
ʈᵃᵢ
8c012f7941 feat: add more columns and icons to dataset listview (#10043) 2020-06-16 17:30:10 -07:00
Evan Rusackas
00e6d7d706 chore: bumping superset-ui theme version (#10059) 2020-06-16 16:33:14 -07:00
Lily Kuang
98ab95e4c0 feat: owners profile icon on dataset list view (#10041) 2020-06-15 09:52:09 -07:00
Ville Brofeldt
a8db78b069 chore: bump superset-ui to 0.13.27 (#10018)
* chore: bump superset-ui

* Remove redundant control panels
2020-06-10 10:13:00 +03:00
Ville Brofeldt
fc92692f49 feat: implement new version of word cloud (#9962) 2020-06-02 19:28:58 +03:00
Ville Brofeldt
1b72907b18 Revert "feat: bump superset-ui and implement queryFields in formData (#9908)" (#9931)
This reverts commit 2c97e72959.
2020-05-27 22:50:14 +03:00
Ville Brofeldt
5ff61048c6 feat: bump sinon to latest (#9926) 2020-05-27 19:34:40 +03:00
Erik Ritter
848ac91bb6 fix: bump nvd3 plugin for annotation styles (#9919) 2020-05-26 16:59:30 -07:00
Phillip Kelley-Dotson
e0c3da5df1 feat: paired t testchart control migration (#9916)
* cherry pick

* update package
2020-05-26 14:11:03 -07:00
Phillip Kelley-Dotson
1fffa37e85 feat: remove para controls (#9851)
* remove para controls

* update package version
2020-05-26 12:37:33 -07:00
Ville Brofeldt
2c97e72959 feat: bump superset-ui and implement queryFields in formData (#9908)
* feat: Bump superset-ui packages for queryFields

* feat: Implement queryField in formData
2020-05-26 10:19:33 -07:00
Erik Ritter
9edfc8f68d chore(ts): convert base js files to typescript (#9826) 2020-05-24 19:50:08 -07:00
Jesse Yang
6d4e23663e fix: reenable table chart page length (#9884)
Bump @superset-ui/legacy-preset-chart-table to fix disabled
page length support.

See https://github.com/apache-superset/superset-ui/pull/522
2020-05-22 10:35:45 -07:00
Phillip Kelley-Dotson
333dc8529e feat: tablechart plugin controls migration (#9847)
* delete controls

* move columnoption to controls

* update package and remove columnoption

* fix: remove console and fix import

* fix: lint

* update version

* fix last rebase

* fix: lint:
2020-05-21 12:15:02 -07:00
Evan Rusackas
428ad70aac feat: Adding Emotion ThemeProviders for all React apps (#9853)
* bumping style package (now with typography styles!)

* ThemeProvider ALL the things!

* package lock

* linting

* no need to parseInt here anymore, the values are numeric now.
2020-05-20 12:43:02 -07:00
David Aaron Suddjian
f076485fd7 upgrade plugins, remove unnecessary code (#9848) 2020-05-20 12:41:12 -07:00
Phillip Kelley-Dotson
1a775e2612 feat: markupchart plugin controls migration (#9806)
* remove shims and controls

* update chart version

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
2020-05-19 23:04:20 -07:00
Jesse Yang
81ab8dd8b4 feat: upgrade react-select and make multi-select sortable (#9628)
* feat: upgrade react-select v1.3.0 to v3.1.0

Upgrade `react-select`, replace `react-virtualized-select` with a custom
solution implemented with `react-window`.

Future plans include deprecate `react-virtualized` used in other places, too.

Migrate all react-select related components to `src/Components/Select`.

* Fix new list view

* Fix tests

* Address PR comments

* Fix a flacky Cypress test

* Adjust styles for Select in CRUD ListView

* Fix loadOptions for owners select in chart PropertiesModal

TODO: add typing support for AsyncSelect props.

* Address PR comments; allow isMulti in SelectControl, too

* Clean up NaN in table filter values

* Fix flacky test
2020-05-19 16:59:49 -07:00
Phillip Kelley-Dotson
38c57f45ac feat: partitionchart controls migration (#9768)
* fix lint error

* fix: import lint error

* pull in latests code

* delete control from plugin registry

* fixing again...

* another fix with rebase...

* commit change

* update packages and fix test

* fix: add ignore to lint error

* fix mr

* fix lint

* fix imports

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
2020-05-18 12:48:51 -07:00
Jesse Yang
c4016e3b71 feat: bump superset-ui/time-format and big-number (#9808)
* feat: bump superset-ui/time-format and big-number

This is for adding full dates to big number datetime formatted
by weekly interval.

* Bump time-format to v0.13.15

to bring in https://github.com/apache-superset/superset-ui/pull/493
2020-05-18 12:42:27 -07:00
Christian Murphy
b8eaa114ed feat(frontend): add ability to download dashboard and chart as image (#9819)
* feat(frontend): add ability to export dashboard and chart as image (#6973)

* refactor: migrate download image as to typescript

* feature(frontend): download as image updates

add toast message if error occurs.
make generate file stem an internal method.

* refactor(frontend): move default background color to a const

* feat(frontend): wrap download image toast in translate function
2020-05-17 14:50:27 -07:00
David Aaron Suddjian
34df11a61c upgrade migrated plugins, remove controlPanel configs (#9774)
* remove migrated plugins

* remove chord stuff

* upgrade plugin packages

* update package lock
2020-05-14 17:06:49 -07:00
Ville Brofeldt
ed1d030667 fix: invalid JSON in FR and DE translations (#9803)
* fix: invalid JSON in FR translation

* fix: broken or misformatted translations and add unit test for JSON validty

* Move translation lint test to CI task
2020-05-14 15:26:12 -07:00
Jesse Yang
0e7888c659 build: disable webpack progress for CI (#9791) 2020-05-12 16:09:18 -07:00
Ville Brofeldt
f369ab35d6 chore: move bullet string manipulation to frontend (#9773) 2020-05-11 11:49:27 -07:00
David Aaron Suddjian
3a213916c4 use the builtin calendar control panel (#9771) 2020-05-07 21:15:03 -07:00