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
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
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
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
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
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
Grace Guo
43eec67291
[table editor] hide Edit Datasource option when no onDatasourceSave ( #9706 )
...
* [table editor] hide Edit Datasource option when no onDatasourceSave
* add !! operator to get truthiness
2020-04-30 17:32:01 -07:00
Grace Guo
735dcd2002
[explore view] add partition as adhoc filter option ( #9637 )
...
* [explore view] add partition as adhoc option
* use adhocFilter Simple Tab
* simplify conditional check for custom adhoc filter operator
* add simple unit tests
2020-04-28 23:09:44 -07:00
Evan Rusackas
1cdfb829d7
Eslint prefer-object-spread ( #9466 )
...
* The rule.
* The result
2020-04-03 17:05:16 -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
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
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
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