Jesse Yang
96e0da9fea
fix(table-viz): table chart time column should use default ( #10293 )
2020-07-13 23:44:57 -07:00
Jesse Yang
4d179622fa
fix(explore): edit datasource does not update control states ( #10284 )
2020-07-10 12:46:25 -07:00
Maxime Beauchemin
7d4d2e7469
fix(explore): 'Edit Datasource' is missing from btn-dropdown ( #10283 )
...
Not sure how it got broken but he's a fix. I'm thinking this is related
to the controls refactor.
closes https://github.com/apache/incubator-superset/issues/10247
2020-07-10 00:11:53 -07:00
Jesse Yang
af864e9fff
fix: deckgl dimension select missing options ( #10277 )
...
Fixes #10246
2020-07-09 18:27:05 -07:00
Ville Brofeldt
c0d663db9a
feat: show formatted dates instead of epoch on results ( #10268 )
2020-07-09 20:48:53 +03:00
Jesse Yang
e94c9804a2
fix: optimize mapStateToProps for chart controls ( #10264 )
2020-07-09 00:33:48 -07:00
Evan Rusackas
3dfa4aa15d
chore: nixing requiresTime ( #10259 )
2020-07-08 17:10:03 -07:00
Grace Guo
f6ccd61547
[fix] disable search all options by default ( #10260 )
2020-07-08 16:43:38 -07:00
Jesse Yang
e5761d3cf7
fix(table-viz): JS error when sort time column ( #10250 )
2020-07-07 21:28:09 -07:00
Grace Guo
f849103374
feat: Typeahead searchable filter_box for dashboard ( #10210 )
...
* [WIP] Typeahead dashboard filter_box
* Make it work
* add config option for async filter_box
* enable for > 1000 options only
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com >
2020-07-07 09:31:18 -07:00
Jesse Yang
700429f431
fix: chart validation error not cleared on control value update ( #10224 )
2020-07-01 18:32:27 -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
Evan Rusackas
36ea42f092
fix: Loading overlay bugfix and cleanup ( #10105 )
...
* fix: reordering DOM output, simplifying styles, Emotionalizing
* simplification
* converting RefreshChartOverlay to TS
* Loading -> TS, stripping unused size prop
* simplification...
* just letting "position" prop act as a class name. Simpler!
* consolidating styles, changing a className prop to a position prop.
* nixing (unused) classname prop
* replacing inline loading img with the proper Loading component
* BY THERE.
* position prop is optional!
2020-06-24 14:21:45 -07:00
Ville Brofeldt
38667b72b1
fix: refine shouldUseLegacyApi and add tests ( #10148 )
...
* fix: refine shouldUseLegacyApi and add tests
* address review comments
2020-06-24 19:38:36 +03:00
Jesse Yang
ed4f6e93ac
chore: bump superset-ui to v0.14.1 ( #10112 )
2020-06-22 11:14:23 -07:00
Maxime Beauchemin
cf0f1d568d
style: replace broken glyphs with font-awesome ( #10123 )
...
Glyphicons stopped working recently, not sure why, but let's get rid of
them and double down on font-awesome that we use a lot more in the
codebase. There's only a few instances of glyphicons and they all are
broken ATM.
Also a few other minor style tweaks
2020-06-21 21:38:08 -07:00
Will Barrett
961b55cfba
fix: Visualization settings were lost when editing a datasource from Explore ( #10092 )
2020-06-19 12:55:49 -07:00
Maxime Beauchemin
a6390afb89
style: push bootstrap theme towards SIP-34 styles ( #10056 )
...
* feat: cartel theme
* piling
* more tweaks
* Make things look better
* lint
* fix tests
* paint it black
* tweaks
2020-06-18 15:01:58 -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
Ville Brofeldt
d3a9ce5afc
fix: chart export fails when buildQuery not present ( #10062 )
2020-06-16 09:25:10 -07:00
Ville Brofeldt
ee77707532
feat: add deafult buildQuery for V1 chart data requests ( #10048 )
2020-06-12 07:49:13 -07:00
Natalie Ruhe
d1588c7658
Fix chart annotation source type showing perpetual loading when re-selecting the same value. ( #10036 )
...
Remove accidental console.log used during testing.
Co-authored-by: Natalie Ruhe <natalie@preset.io >
2020-06-10 16:17:56 -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
5c4d4f16b3
feat: finalize Word Cloud move to new chart data endpoint ( #9975 )
...
* remove word cloud from viz.py
* Fix Run in SQL Lab
* remove deprecated python tests
* break out legacy endpoint type into function
* Break out exploreChart from exportChart and implement results type
* Fix jest tests and refactor accordingly
* lint
* Rename v1 payload function
* Add dashboard id to v1 chart data request url params
* Add support for domain sharding to v1 chart data request
2020-06-05 14:08:46 +03:00
ʈᵃᵢ
619fbc9557
fix: remove -1,-1 from owners request in charts, dashboards list and propertiesModal ( #9989 )
2020-06-04 15:31:42 -07:00
ʈᵃᵢ
d187d2887e
fix: fetch all owners for dashboard, chart listview filters and properties modal ( #9784 )
2020-06-03 19:57:03 -07:00
Michael Joseph Rosenthal
3fd6e0630e
fix #8302 , disabling save button when can_add: false, can_overwrite: false ( #9456 )
2020-06-02 23:20:52 -07:00
Ville Brofeldt
fc92692f49
feat: implement new version of word cloud ( #9962 )
2020-06-02 19:28:58 +03:00
Ville Brofeldt
38a6bd79da
feat: expand new chart data endpoint coverage ( #9903 )
...
* feat: implement new chart API for additional components
* Fix python tests
* Fix tests
* Fix lint
* fix camel case error in requestParams
* lint
* fix samples row limit
* Add samples row limit to config
* remove unnecessary code
* lint
* Address review comments
2020-06-02 10:47:28 +03:00
Grace Guo
5324e25328
[filter_box] disable instant_filtering by defult ( #9952 )
2020-05-31 22:12:04 -07:00
Jesse Yang
359ea8825d
fix(react-select): FilterBox focus event and adhoc filter popup height ( #9933 )
...
* fix(react-select): FilterBox focus event and adhoc filter popup height
* Fix flacky cypress test
* Use focus instead of click
2020-05-27 15:15:32 -07: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
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
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
Ville Brofeldt
a43a1d6303
feat: Add new result formats and types to chart data API ( #9841 )
...
* feat: Add new result formats and types to chart data API
* lint
* Linting
* Add language to query payload
* Fix tests
* simplify tests
2020-05-20 21:36:14 +03: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
Grace Guo
5ca6ed716f
[explore view] inline edit slice name should not overwrite ( #9817 )
2020-05-18 22:53:29 -07:00
Grace Guo
d96bb874f2
fix: [filter_box] fix 2 issues in single value filter_box ( #9829 )
...
* fix: [filter_box] fix 2 issues in single value filter_box
* add unit test
* add fix per comments
2020-05-18 21:25:10 -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
Ville Brofeldt
7a95c52d61
refactor: simplify getExploreUrl functions ( #9831 )
...
* remove payload from return signature
* Rename function and fix tests
* Lint
* fix tests
* Move useLegacyApi inquiry to exploreUtils
2020-05-18 19:19:05 +03: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
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