greggailly commented on code in PR #42483:
URL: https://github.com/apache/superset/pull/42483#discussion_r3690202123


##########
superset-frontend/src/explore/components/DatasourcePanel/types.ts:
##########
@@ -27,6 +27,18 @@ export interface DatasourcePanelDndItem {
   type: DndItemType;
 }
 
+/**
+ * Payload for dragging a whole folder out of the DatasourcePanel. `items` are
+ * the folder's columns/metrics (recursively including subfolders) already
+ * shaped as individual DnD items so drop targets can reuse their per-item
+ * `canDrop`/`onDrop` logic.
+ */
+export interface FolderDndItem {
+  type: DndItemType.Folder;
+  name: string;
+  items: DatasourcePanelDndItem[];
+}

Review Comment:
   removed, is indeed dead code after refactoring



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to