feat(enhanced-kanban): integrate native drag-and-drop functionality

- Replaced the existing EnhancedKanbanBoard component with EnhancedKanbanBoardNativeDnD to support native drag-and-drop interactions.
- Commented out the previous EnhancedKanbanBoard usage for potential future reference.
This commit is contained in:
shancds
2025-07-02 14:33:51 +05:30
parent c9d9134049
commit d70fb133b7
2 changed files with 211 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import React from 'react';
import { useAppSelector } from '@/hooks/useAppSelector';
import EnhancedKanbanBoard from '@/components/enhanced-kanban/EnhancedKanbanBoard';
import EnhancedKanbanBoardNativeDnD from '@/components/enhanced-kanban/EnhancedKanbanBoardNativeDnD';
const ProjectViewEnhancedBoard: React.FC = () => {
const { project } = useAppSelector(state => state.projectReducer);
@@ -15,7 +16,8 @@ const ProjectViewEnhancedBoard: React.FC = () => {
return (
<div className="project-view-enhanced-board">
<EnhancedKanbanBoard projectId={project.id} />
{/* <EnhancedKanbanBoard projectId={project.id} /> */}
<EnhancedKanbanBoardNativeDnD projectId={project.id} />
</div>
);
};