Skip to content

feat(folders): drag and drop entire folders in explore view - #42483

Open
greggailly wants to merge 13 commits into
apache:masterfrom
greggailly:gailly/dnd_folders
Open

feat(folders): drag and drop entire folders in explore view#42483
greggailly wants to merge 13 commits into
apache:masterfrom
greggailly:gailly/dnd_folders

Conversation

@greggailly

Copy link
Copy Markdown
Contributor

feat(folders): drag and drop entire folders in explore view

SUMMARY

Allow to drag and drop all columns of a single folder (including subfolders) onto dnd fields (group by, metrics etc...) in explore view.
Folder can be grabbed by the header.
A small overlay showing the number of columns dragged shows up when dragging.
Already added columns are not added.
If dropped on metrics the "SUM" aggregation is applied by default for numeric values and count distinct for text values .

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Columns with a subfolder:
Screen Recording 2026-07-27 at 16 51 14

Metrics just a single subfolder:
Screen Recording 2026-07-27 at 16 52 07

TESTING INSTRUCTIONS

  • Create folders on a dataset
  • Create a new chart in explore mode
  • Drag and drop folders onto dimensions, groupbys or metrics fields

ADDITIONAL INFORMATION

  • Changes UI

@bito-code-review

bito-code-review Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #20b69e

Actionable Suggestions - 0
Review Details
  • Files reviewed - 12 · Commit Range: 1f13c20..1223433
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.test.ts
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.ts
    • superset-frontend/src/explore/components/DatasourcePanel/types.ts
    • superset-frontend/src/explore/components/DndItemType.ts
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.test.tsx
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/createAdhocMetricFromColumn.test.ts
  • Files skipped - 0
  • Tools
    • Eslint (Linter) - ✔︎ Successful
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@dosubot dosubot Bot added change:frontend Requires changing the frontend explore:drag&drop Related to drag&drop in Explore labels Jul 27, 2026
@netlify

netlify Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit d097af9
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a7afe430192910007cb228a
😎 Deploy Preview https://deploy-preview-42483--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx Outdated
@bito-code-review

Copy link
Copy Markdown
Contributor

The flagged issue is correct. The current implementation of canDrop in DndSelectLabel.tsx performs a type check against acceptTypes before evaluating the folder's contents, causing folder drops to be rejected if the drop zone does not explicitly accept the Folder type.

To resolve this, the logic should be updated to evaluate the folder's child items when the active item type is Folder, allowing the drop if at least one child item is valid for the drop zone. The provided diff already includes this fix, which correctly checks activeData.items and validates them against acceptTypes and dropValidator.

superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx

if (activeData.type === DndItemType.Folder) {
      const items = Array.isArray(activeData.items) ? activeData.items : [];
      return items.some(
        item =>
          acceptTypes.includes(item.type as DndItemType) && dropValidator(item),
      );
    }

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.15385% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.58%. Comparing base (5ee2793) to head (60804f6).
⚠️ Report is 54 commits behind head on master.

Files with missing lines Patch % Lines
...components/DatasourcePanel/DatasourcePanelItem.tsx 92.85% 2 Missing ⚠️
...ontrols/DndColumnSelectControl/DndMetricSelect.tsx 93.33% 2 Missing ⚠️
...s/DndColumnSelectControl/DndColumnMetricSelect.tsx 91.66% 1 Missing ⚠️
...ontrols/DndColumnSelectControl/DndColumnSelect.tsx 94.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #42483      +/-   ##
==========================================
+ Coverage   66.55%   66.58%   +0.03%     
==========================================
  Files        2864     2866       +2     
  Lines      161894   162010     +116     
  Branches    37305    37349      +44     
==========================================
+ Hits       107748   107881     +133     
+ Misses      52100    52083      -17     
  Partials     2046     2046              
Flag Coverage Δ
javascript 73.70% <96.15%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bito-code-review

bito-code-review Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #c563d8

Actionable Suggestions - 0
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx - 1
Review Details
  • Files reviewed - 9 · Commit Range: 1f13c20..36a8b3d
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.tsx
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/dndTestUtils.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@rusackas

Copy link
Copy Markdown
Member

@greggailly nice feature, and the regression tests for the single-value folder-drop bug are a good touch. Codeant's thread on DndMetricSelect.tsx is still open though: createAdhocMetricFromColumn leaves aggregate unset for columns outside Numeric/String/Boolean/Temporal, so a folder drop can create an incomplete metric. Mind landing a fix before this merges? Let me know if you need any help with these.

@greggailly
greggailly force-pushed the gailly/dnd_folders branch 2 times, most recently from 65d7635 to 9dd953d Compare July 31, 2026 09:06
@greggailly

greggailly commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

@rusackas @EnxDev both threads are resolved, thanks for the reviews !

@bito-code-review bito-code-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Agent Run #e7ae6f

Actionable Suggestions - 1
  • superset-frontend/src/explore/components/DatasourcePanel/types.ts - 1
    • Dead code: unused exported interface · Line 36-40
Additional Suggestions - 4
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx - 1
    • Missing component integration test · Line 129-136
      While resolveCanDrop has unit tests for the pure logic (lines 106-216 of test file), the component-level integration that connects canDrop state to UI feedback is not covered. Tests should verify the ghost button state during folder drags.
  • superset-frontend/src/explore/components/DndItemType.ts - 1
    • Missing unit test for new enum · Line 41-42
      Per adaptive rule [11730], new enum values introduced to support feature functionality should have explicit unit test coverage. While `DndItemType.Folder` is referenced in 19+ locations and tested indirectly via `DndSelectLabel.test.tsx`, there is no dedicated test verifying the `Folder` enum member itself.
  • superset-frontend/src/explore/components/DatasourcePanel/types.ts - 1
    • Misleading JSDoc on unused interface · Line 30-35
      The JSDoc comment on `FolderDndItem` is misleading. It claims drop targets can "reuse their per-item `canDrop`/`onDrop` logic" via the `items` array, but `DndSelectLabel.tsx:81` shows the actual API is `onDropFolder?: (items: DatasourcePanelDndItem[]) => void` — items are passed directly, not wrapped in a `FolderDndItem`. The comment describes functionality that does not exist in the codebase.
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx - 1
    • Missing folder drop tests · Line 100-121
      The `onDropFolder` handler (lines 100-121) is consistent with the `resolveDragEnd` pattern in ExploreDndContext (lines 207-228) and mirrors `DndMetricSelect.tsx` (line 421). No bugs found. However, `DndColumnSelect.test.tsx` lacks coverage for folder drops — add tests similar to the existing `ExploreDndContext.test.tsx` folder-drop cases to verify: (1) folder drop adds accepted columns to multi-select, (2) single-select replaces existing value, (3) empty columnNames is a no-op.
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.test.ts - 1
Review Details
  • Files reviewed - 17 · Commit Range: 5b39872..96054b6
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.test.ts
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.ts
    • superset-frontend/src/explore/components/DatasourcePanel/types.ts
    • superset-frontend/src/explore/components/DndItemType.ts
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.test.tsx
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/createAdhocMetricFromColumn.test.ts
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/dndTestUtils.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Comment thread superset-frontend/src/explore/components/DatasourcePanel/types.ts Outdated
@bito-code-review

bito-code-review Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #e802ee

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 96054b6..b65c1c8
    • superset-frontend/src/explore/components/DatasourcePanel/types.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

export function collectFolderDragItems(
folder: Folder,
): DatasourcePanelDndItem[] {
const items = folder.items.map(toDndItem);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When datasource search is active, this Folder was built from the filtered column/metric arrays, so dragging its header adds only the visible matches rather than the entire folder promised by this feature. Should the drag payload be built from the unfiltered folder contents while the rendered rows remain filtered?

@greggailly greggailly Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what would be best here. I guess personally I prefer only dragging "in" the visible fields. If that is ok I can change the PR title/description. If you prefer that all columns be dropped no matter what no problem I'll make it happen !

Comment thread superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx Outdated
@rusackas

Copy link
Copy Markdown
Member

@greggailly this is showing conflicts with master now, needs a rebase. Also, @sadpandajoe's comments above (the folder-drag accessibility gap and the semantic-layer/search-filter gating questions) are still open, worth a look before this is ready to merge. Holler if you ant a hand with any of it.

@greggailly
greggailly force-pushed the gailly/dnd_folders branch 2 times, most recently from 3d50ec7 to 0b0b44e Compare August 10, 2026 15:30
@greggailly

greggailly commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@greggailly this is showing conflicts with master now, needs a rebase. Also, @sadpandajoe's comments above (the folder-drag accessibility gap and the semantic-layer/search-filter gating questions) are still open, worth a look before this is ready to merge. Holler if you ant a hand with any of it.

@rusackas something seems off with master (might be on my side but can't see dataset columns anymore in the explore view) so hard to rebase for the moment. I will try to nuke my setup when possible just in case.
Conflict is simply on an import statement so will be quick once this has been tackled.

Screenshot 2026-08-10 at 18 52 35

@bito-code-review bito-code-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Agent Run #aaaf4c

Actionable Suggestions - 1
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx - 1
Additional Suggestions - 2
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx - 1
    • Missing useCallback dependency · Line 267-267
      The `canDrop` callback reads `disallowAdhocMetrics` (line 247) but omits it from its dependency array, creating a React stale-closure risk where the metricrestriction state may be stale when the datasource prop changes mid-session. This could allow invalid drops to pass validation.
  • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.test.tsx - 1
    • Use DndItemType enum instead of string literals · Line 47-49
      The new test section uses plain string literals (`'column'`, `'metric'`, `'folder'`) for drag types while the rest of the codebase consistently uses the `DndItemType` enum (e.g. `DndItemType.Column`). Using the enum here aligns with established conventions and prevents subtle type mismatches that casting-based tests could mask.
Review Details
  • Files reviewed - 16 · Commit Range: c6e45a0..0b0b44e
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.test.ts
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.ts
    • superset-frontend/src/explore/components/DndItemType.ts
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.test.tsx
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/createAdhocMetricFromColumn.test.ts
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/dndTestUtils.ts
  • Files skipped - 0
  • Tools
    • Eslint (Linter) - ✔︎ Successful
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@greggailly

greggailly commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@rusackas git bisect says this commit is the first bad commit 3872790 (chore(deps): bump react-window and @types/react-window in /superset-frontend (#42528))
Reported it in #43008. It is by the way the commit causing the conflict.

@greggailly

Copy link
Copy Markdown
Contributor Author

@rusackas cherry-picked from #43056 to be able to rebase and test it successfully. Let me know if you wish me to revert this.
I closed/fixed two of @sadpandajoe's threads. The one on the filtered columns/metrics is still open, happy to have your opinion on it. I think I prefer to see only filtered fields being dropped but open to any suggestions 👍

@bito-code-review bito-code-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Agent Run #8caafe

Actionable Suggestions - 1
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx - 1
Additional Suggestions - 5
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx - 1
    • Missing dependency in useCallback · Line 438-438
      The `onDropFolder` callback calls `setValue(newValue)` on line 435 but does not include `setValue` in its dependency array. This could cause a stale closure in edge cases where the component re-renders with an outdated `setValue` reference.
  • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx - 1
    • WCAG Enhancement: aria-roledescription · Line 291-294
      The FolderDragHandle lacks `aria-roledescription` which other sortable/draggable elements in the codebase use (FoldersEditor.test.tsx line 336: 'dnd-kit adds aria-roledescription="sortable" to sortable elements'). This attribute helps screen readers describe the interaction pattern.
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.test.tsx - 1
    • Typo in variable name · Line 607-607
      Typo in variable name: `unknowTypeColumn` should be `unknownTypeColumn`. The test comments at lines 644 and 645 correctly say "Other columns default to COUNT_DISTINCT as well", but the misspelled identifier makes it look like a wrong-type constant rather than an unknown-type one.
  • superset-frontend/src/explore/components/DatasourcePanel/DatasourceItems.tsx - 1
    • Dead code: redundant maxHeight · Line 151-151
      The `maxHeight: height` property is semantically redundant since `height` is already specified with the same value. Setting `maxHeight` equal to `height` provides no additional constraint — it's functionally equivalent to not setting it at all. This adds unnecessary styling code that creates maintenance confusion with no benefit.
  • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx - 1
    • Misleading comment about filter scope · Line 102-102
      The comment at line 102 reads "Items already passed `canDrop` (in options, not already selected)." However, the upstream filter in `ExploreDndContext.tsx` (lines 229–234) gates items by both `accept` type inclusion AND `canDrop` validation. The current phrasing misrepresents the upstream contract and could mislead future maintainers who expect `canDrop` alone to be the gating mechanism.
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx - 1
    • CWE-269: Keyboard Inaccessible Drag Handle · Line 289-297
Review Details
  • Files reviewed - 23 · Commit Range: dc2497a..d097af9
    • superset-frontend/src/dashboard/components/SliceAdder.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourceItems.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelDragOption/DatasourcePanelDragOption.test.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelDragOption/index.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.test.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/DatasourcePanelItem.tsx
    • superset-frontend/src/explore/components/DatasourcePanel/compatibility.test.ts
    • superset-frontend/src/explore/components/DatasourcePanel/compatibility.ts
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.test.ts
    • superset-frontend/src/explore/components/DatasourcePanel/folderDrag.ts
    • superset-frontend/src/explore/components/DndItemType.ts
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.test.tsx
    • superset-frontend/src/explore/components/ExploreContainer/ExploreDndContext.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndColumnSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.test.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndSelectLabel.tsx
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/createAdhocMetricFromColumn.test.ts
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/dndTestUtils.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@bito-code-review

bito-code-review Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #b51e8d

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: d097af9..60804f6
    • superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:frontend Requires changing the frontend explore:drag&drop Related to drag&drop in Explore size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants