Favorites Drag and Drop Implementation (#8979)

Adds drag and drop functionality for favorites management, allowing
users to:

- Move favorites between folders
- Move favorites from folders to orphan section
- Move orphan favorites into folders

Known Issues:
Drop detection at folder boundaries requires spacing workaround
This commit is contained in:
nitin
2024-12-17 17:16:58 +05:30
committed by GitHub
parent 4fe3250e81
commit 582530ef1e
19 changed files with 992 additions and 516 deletions

View File

@ -0,0 +1,9 @@
import { createContext } from 'react';
type FavoritesDragContextType = {
isDragging: boolean;
};
export const FavoritesDragContext = createContext<FavoritesDragContextType>({
isDragging: false,
});