mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
feat(explore): make dnd controls clickable (#16119)
* Make ghost buttons clickable * Popover for column control * Make column dnd ghost button clickable * Prefill operator only if column is defined * Remove data-tests * lint fix * Hide new features behind a feature flag * Change ghost button texts * Remove caret for non clickable columns
This commit is contained in:
committed by
GitHub
parent
5e75baf0cc
commit
203c311ca3
@@ -55,7 +55,10 @@ export default function DndSelectLabel<T, O>({
|
||||
|
||||
function renderGhostButton() {
|
||||
return (
|
||||
<AddControlLabel cancelHover>
|
||||
<AddControlLabel
|
||||
cancelHover={!props.onClickGhostButton}
|
||||
onClick={props.onClickGhostButton}
|
||||
>
|
||||
<Icons.PlusSmall iconColor={theme.colors.grayscale.light1} />
|
||||
{t(props.ghostButtonText || 'Drop columns here')}
|
||||
</AddControlLabel>
|
||||
|
||||
Reference in New Issue
Block a user