changed logic in useTransformedData to memoize a boolean dataHasVariance, instead of keeping track of a collection of zeroVarianceColumns. As observed by @geoerika, if one column lacks variance, then the rest will as well. (ref)
to match this, changed prop interface for PluralLinkedSelect to accept bool disableSubs instead of array disableSubFor
some miscellaneous PropTypes adjustments to reduce console warnings. The only remaining warnings are from @eqworks/react-labs/Table, which will soon be replaced by a new implementation of lumen-table.
toast when copying widget ID to clipboard:
hide download button unless
NODE_ENV === 'development'
, in which case this button now triggers a.json
download of the widget config object:refactored
ValueControls
rendering logic to be more readable (and slightly more concise)fixed filter controls styling (I know this part of the UI is not staying, but I had already implemented this change so might as well merge it)
changed logic in
useTransformedData
to memoize a booleandataHasVariance
, instead of keeping track of a collection ofzeroVarianceColumns
. As observed by @geoerika, if one column lacks variance, then the rest will as well. (ref)PluralLinkedSelect
to accept booldisableSubs
instead of arraydisableSubFor
some miscellaneous
PropTypes
adjustments to reduce console warnings. The only remaining warnings are from@eqworks/react-labs/Table
, which will soon be replaced by a new implementation of lumen-table.