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
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
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
David Aaron Suddjian
8a49c69f38
use word cloud's built in control panel ( #9770 )
2020-05-07 18:28:48 -07:00
Jesse Yang
13c5b133a9
test(frontend): use absolute path for src imports ( #9761 )
...
* test(frontend): use absolute path for src imports
* Upgrade prettier, fix eslint
2020-05-07 14:18:10 -07:00
Ville Brofeldt
5b430ead42
fix: implement force refresh in chart data request ( #9762 )
...
* fix: implement force refresh in chart data request
* unrelated lint
2020-05-07 09:33:41 -07:00
David Aaron Suddjian
80f8349018
Query the new chart data api for charts that support it ( #9710 )
...
* calling new chart api (mostly working)
* can't .then when the promise has already been await-ed
* Add handling for v1 API response
* comment
* update word cloud plugin & dependencies
* testing
* try just waiting
* Revert "try just waiting"
This reverts commit 10c092effd
.
* tweaking bootstrap types
* Bumping word cloud package version
* new package lock
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-05-07 01:09:28 -07:00
Evan Rusackas
b93bf05bbd
fix: removing controls from incubator-superset that are now in the plugin ( #9758 )
2020-05-06 17:29:49 -07:00
Krist Wongsuphasawat
52de32b9d7
build: bump superset-ui to 0.13 ( #9757 )
...
* chore: bump superset-ui
* build: bump superset-ui to 0.13
* docs: remove comment
2020-05-06 15:44:18 -07:00
David Aaron Suddjian
9d3da79c4b
migrate bignumber to use builtin controls ( #9707 )
...
* migrate bignumber to use builtin controls
* install @babel/compat-data
2020-04-30 19:27:44 -07:00
ʈᵃᵢ
f7f60cc75d
[Chart & Dashboard] improve listview filter ui and add expandable list support ( #9651 )
...
* better styling for select filters and search input
* add emotion babel plugin
* add spec for search input
* fix async select, add beeter error messages
* add error boundary around views
* cleanup and lint
* add expandable list to dashboards
* fix emotion babel config
* fix specs
* remove commented out code
* add selected style
* DRY up styles
* add icons
* fix type
* add apache license
* fix svgs
* fix ExpandableList type
* reduce custom css
* lint
2020-04-29 21:54:07 -07:00
David Aaron Suddjian
f8adfc8fbf
use new @superset-ui/style package for theming ( #9605 )
...
* use new @superset-ui/style package for theming
* fix tests to reference theme
* try adding a wait
2020-04-22 13:13:40 -07:00
Erik Ritter
ba691d3a27
Bump superset-ui-connection to 0.12.22 ( #9602 )
2020-04-21 11:36:01 -07:00
Jesse Yang
d8de540e0c
[Build] Collect frontend code coverage from Cypress tests ( #9555 )
...
* build: collect code coverage from Cypress
Collect frontend code coverage reports from Cypress tests and add
proper tagging for all tests.
* Fix bash script lint error from shellcheck
* Revert Cypress to 4.3.0 to see if it fixes a failing test
2020-04-16 23:35:01 -07:00
Jesse Yang
d9ebd32485
Bump @superset-ui/legacy-plugin-chart-table to 0.12.14 ( #9549 )
2020-04-15 14:41:36 -07:00
Evan Rusackas
6270f7dc24
Importing validators module from superset-ui ( #9465 )
...
* importing... this is going to break CI, but there it is.
* adding validator package.
* pluralization - maybe it should be plural, but whatevs
* updating validators to match new exports
* removing old validators
* lintage ✨
* validateNumeric -> validateNumber
* using legacyValidateInteger, legacyValidateNumber
* linting ✨
* removing extraneous package lock file
2020-04-14 12:00:25 -07:00
Evan Rusackas
f29d0fd9f2
control to turn off table bar-chart backgrounds ( #9500 )
...
* control to turn off table bar-chart backgrounds
* flipping enable to disable, to support existing charts
* lint ✨
* Turn ON to enable (reversing logic)
* bumping big number chart
* ling ✨
2020-04-13 16:53:50 -07:00
ʈᵃᵢ
f90824fa17
[Dashboard] new listview filters & emotion infra ( #9462 )
...
* [Dashboard] listview filters to match new design
* use title_or_slug filter
* use ?. operator
* move components to components folder
2020-04-13 13:39:55 -07:00
Jianchao Yang
fd85696378
Upgrade table chart plugin to 0.12.13 ( #9493 )
2020-04-08 17:30:47 -07:00
David Aaron Suddjian
5e535062da
Filter owners select by text input ( #9337 )
...
* filter owners select by text input
* use rison
* fix backend owners filter logic
* use fullname, not username on owners inputs
* fix some tests
* fixing tests
* deterministic tests
* appease linter
* add back search by username
* more comprehensive filter test
* add clarifying text
* formatting...
2020-04-07 09:09:02 -07:00
Jianchao Yang
f0f4f7e91d
feat(visualization): add timeRangeFixed to Big Number w/ Trendlines ( #9341 )
...
* feat: add timeRangeFixed and increase font size for Big Number chart
* Update package-lock.json
2020-04-01 12:38:56 -07:00
ʈᵃᵢ
893c95521b
fix pagination for list views ( #9425 )
2020-04-01 09:20:17 -07:00
Jianchao Yang
77fcc4b6aa
build: use manifest hooks for dev server proxy and fix hot reload for charts ( #9333 )
...
* Use manifest hooks for dev server proxy
* Rewrite dashboard/App.jsx to supress Redux error in hot reload
* Update ChartRenderer to allow hot realod in Explore
* Fix hot reload in dashboars as well
* Revert changes to ChartRenderer.jsx
Will submit in another PR.
* Clean up
2020-03-26 16:55:22 -07:00
David Aaron Suddjian
cfa786850f
upgrade to react-bootstrap v0.33.1 ( #9372 )
...
* upgrade to react-bootstrap v0.33.1
* fix test
* simplify proptypes
Co-Authored-By: Evan Rusackas <evan@preset.io>
* simplify more proptypes
Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-03-26 11:16:49 -07:00
Krist Wongsuphasawat
ccf21f6f1b
feat: bump deckgl plugin version ( #9325 )
...
* feat: bump deckgl plugin version
* feat: bump again
2020-03-19 17:51:09 -07:00
Jianchao Yang
c4b53a7d42
Build: optimize frontend build configs to improve superset-ui-plugin dev experience ( #9326 )
...
* Upgrade webpack, babel and React
* Upgrade all Babel related packages
Also remove babel-plugin-css-modules-transform that is not in use.
* Remvoe tslib as dependency
* Remove unnecesary packages
2020-03-19 14:57:39 -07:00
Krist Wongsuphasawat
104f3d2502
fix: cannot assign to read only property exports of object ( #9319 )
...
* fix: cannot assign to read only property exports of object
* fix: compile ts from plugins
* fix: add package back
2020-03-18 09:01:02 -07:00
David Aaron Suddjian
f6f40c815a
[Charts] Use the Edit Properties modal throughout React views ( #9267 )
...
* typescriptification
* use the chart edit modal on the react list view
* linting
* typings don't work on old react-bootstrap version
* lint
* remove duplicate field
2020-03-13 15:14:50 -07:00
Jianchao Yang
fe2dd75a59
fix: bump legacy-table-chart to 0.11.20 ( #9286 )
2020-03-11 15:12:53 -07:00
Jianchao Yang
c9c18011f3
fix(table-chart): bump legacy-table-chart to 0.11.18 ( #9275 )
2020-03-10 22:41:20 -07:00
Jianchao Yang
753aeb4829
fix: upgrade legacy table chart to 0.11.17 ( #9269 )
...
This fixes bugs related to chart rerendering.
https://github.com/apache-superset/superset-ui-plugins/pull/392
2020-03-10 10:14:58 -07:00
Erik Ritter
f34e9e393a
Replace No data error with help message ( #9249 )
2020-03-06 16:11:01 -08:00
Jianchao Yang
f784af285f
feat: improve loading speed for legacy table chart ( #9234 )
...
* perf(table-chart): upgrade to 0.11.6
Upgrade table chart `@superset-ui/legacy-plugins-chart-table`
to https://github.com/apache-superset/superset-ui-plugins/pull/385
* refactor: use ternary instead of if
* fix: rename variables
2020-03-06 14:03:33 -08:00
Erik Ritter
786e575dbe
[build] Bump superset-ui packages and update build ( #9241 )
2020-03-05 14:20:45 -08:00
ʈᵃᵢ
cd4605e4c1
[dashboard, chart] fix ordering and filtering in listviews ( #9212 )
...
* [dashboard, chart] fix ordering and filtering
* fix owner name bug, better typing
* remove tslint comment
2020-02-27 09:30:52 -08:00
Grace Guo
ace0ba9456
[annotation] upgrade chart plugin version ( #9203 )
2020-02-25 21:19:00 -08:00
Maxime Beauchemin
57321dc1f6
chore: run 'npm audit fix' to fix 2 vulnerabilities ( #9106 )
2020-02-25 17:05:58 -08:00
Jianchao Yang
1992069af1
Upgrade typescript to 3.8.2 ( #9189 )
2020-02-25 08:44:26 -08:00
Erik Ritter
eeec63c7dd
[SIP-36] Migrate setupApp.js to setupApp.ts ( #9180 )
2020-02-24 14:30:35 -08:00
ʈᵃᵢ
1748728c45
adds FAB style filter types ( #9086 )
2020-02-24 10:16:11 -08:00
ʈᵃᵢ
74423e5d19
deprecate tslint and configure eslint for typescript ( #9172 )
2020-02-20 09:54:33 -08:00
ʈᵃᵢ
3e73c81b25
filter out markdown containing XSS ( #9163 )
2020-02-19 09:44:44 +00:00
David Aaron Suddjian
2913063924
SIP-32: Moving frontend code to the base of the repo ( #9098 )
...
* move assets out, get webpack dev working
* update docs to reference superset-frontend
* draw the rest of the owl
* fix docs
* fix webpack script
* rats
* correct docs
* fix tox dox
2020-02-09 17:53:56 -08:00