Jesse Yang
23014e9233
chore: upgrade @emotion ( #14454 )
2021-05-04 15:26:16 -07:00
Michael S. Molina
6fd62e3f7e
test: Adds tests to the OptionControls component ( #13729 )
2021-03-31 18:07:22 -07:00
Kamil Gabryjelski
fcaa0acad5
chore: Upgrade react-dnd to 11.1.3 ( #12815 )
2021-01-28 18:34:56 -08:00
Michael S. Molina
3fb183349f
Fix tests errors and warnings - iteration 2 ( #12212 ) ( #12214 )
2021-01-25 12:03:16 -08:00
Yongjie Zhao
9771b82c94
refactor(explore): move MetricControl and FilterControl to sub-component ( #12446 )
...
* wip
* wip
* wip
* wip
* move spec
* wip
* wip
* remove unused file
* wip
* wip
* Update superset-frontend/spec/javascripts/explore/components/AdhocFilterEditPopoverSqlTabContent_spec.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/explore/components/AdhocFilterOption_spec.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/explore/components/AdhocMetricEditPopoverTitle_spec.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-01-19 22:46:28 +08:00
Kamil Gabryjelski
f3ab1f41ee
feat: Implement drag & drop for metrics and filters labels ( #12184 )
2020-12-24 20:46:37 -08:00
Kamil Gabryjelski
2a23744223
feat: Add Saved Metrics tab to metrics popover ( #12123 )
...
* Implement saved metrics
* Fix bug in sql editor
* Fix unit tests
* Fix outlines in popovers
* Add types for saved metrics
* Add translations
* Move savedMetricType to a separate file
2020-12-18 11:11:49 -08:00
Kamil Gabryjelski
b61e243f39
feat(explore): metrics and filters controls redesign ( #12095 )
...
* Redesign metrics control
* Redesign filters control
* Bugfixes
* Fix unit tests
* Fix tests
* Code review fixes
2020-12-18 00:13:37 +02:00
Kamil Gabryjelski
128ddfabb6
fix: Pasting text issues in MetricsControl and AdhocFilterControl inputs ( #11445 )
...
* Fix paste not working in Metrics and Filter inputs
* Use noOp instead of empty function
* Use default Select component instead of OnPasteSelect
* Revert onPaste override
2020-11-04 13:48:48 -08: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
Erik Ritter
09de805017
chore: enable no-unused-vars and prefer-template eslint rules ( #10350 )
2020-07-16 19:13:59 -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
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
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
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