redash/client/app
Rafael Wendel 12f71925c2
Multiselect dropdown slowness (fix) (#5221)
* created util to estimate reasonable width for dropdown

* removed unused import

* improved calculation of item percentile

* added getItemOfPercentileLength to relevant spots

* added getItemOfPercentileLength to relevant spots

* Added missing import

* created custom select element

* added check for property path

* removed uses of percentile util

* gave up on getting element reference

* finished testing Select component

* removed unused imports

* removed older uses of Option component

* added canvas calculation

* removed minWidth from Select

* improved calculation

* added fallbacks

* added estimated offset

* removed leftovers 😅

* replaced to percentiles to max value

* switched to memo and renamed component

* proper useMemo syntax

* Update client/app/components/Select.tsx

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>

* created custom restrictive types

* added quick const

* fixed style

* fixed generics

* added pos absolute to fix percy

* removed custom select from ParameterMappingInput

* applied prettier

* Revert "added pos absolute to fix percy"

This reverts commit 4daf1d4bef9edf93cd9bb1f404bd022472ff17a2.

* Pin Percy version to 0.24.3

* Update client/app/components/ParameterMappingInput.jsx

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>

* renamed Select.jsx to SelectWithVirtualScroll

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>
2020-11-03 21:50:39 +02:00
..
__tests__ Prettier all the Javascript code & GitHub Action (#4433) 2019-12-11 17:05:38 +02:00
assets Upgrade Ant Design to v4 (#5068) 2020-08-25 14:24:15 -03:00
components Multiselect dropdown slowness (fix) (#5221) 2020-11-03 21:50:39 +02:00
config Remove pace-progress (#4990) 2020-06-28 15:27:48 -03:00
extensions Add missing default "extensions" directory (webpack fails to build without it) (#2952) 2018-10-15 13:51:13 +02:00
lib Multiselect dropdown slowness (fix) (#5221) 2020-11-03 21:50:39 +02:00
pages Static SAML configuration and assertion encryption (#5175) 2020-10-25 12:06:45 -03:00
redash-font Autocomplete toggle improvements (#3091) 2018-11-20 18:45:33 +02:00
services Frontend updates from internal fork (#5209) 2020-10-15 14:25:22 -03:00
styles Update Organization Settings (#5114) 2020-08-19 13:09:28 +03:00
.eslintrc.js Prettier all the Javascript code & GitHub Action (#4433) 2019-12-11 17:05:38 +02:00
index.html Frontend updates from internal fork (#5209) 2020-10-15 14:25:22 -03:00
index.js Dynamically register frontend routes (#4998) 2020-06-25 13:38:23 +03:00
multi_org.html Frontend updates from internal fork (#5209) 2020-10-15 14:25:22 -03:00
unsupported.html Browser support config (#3609) 2019-03-27 17:47:12 +02:00
unsupportedRedirect.js Prettier all the Javascript code & GitHub Action (#4433) 2019-12-11 17:05:38 +02:00
version.json Display frontend version (#3105) 2018-11-29 14:24:23 +02:00