diff --git a/TestMasterUI/src/components/MainContentArea.jsx b/TestMasterUI/src/components/MainContentArea.jsx
index ff280ec..8493c1d 100644
--- a/TestMasterUI/src/components/MainContentArea.jsx
+++ b/TestMasterUI/src/components/MainContentArea.jsx
@@ -172,7 +172,7 @@ const ScenarioMode = ({
-
+
(
-
-
-
-
-
-
-
-
- Open
-
-
-
- Rename
-
-
- Delete
-
-
-
-);
-
-const DraggableApiItem = ({ api, collectionId, onApiAction }) => {
+const DraggableApiItem = ({api, collectionId, onApiAction}) => {
const [isDragging, setIsDragging] = useState(false);
const handleDragStart = (event) => {
@@ -69,63 +47,20 @@ const DraggableApiItem = ({ api, collectionId, onApiAction }) => {
draggable
onDragStart={handleDragStart}
onDragEnd={handleDragEnd}
- className={`cursor-move transition-colors duration-200 ${isDragging ? 'opacity-50 bg-accent' : ''}`}
- >
- {/* {*/}
- {/* // Prevent click when dragging ends*/}
- {/* if (!isDragging) {*/}
- {/* onApiAction.open(collectionId, api.id);*/}
- {/* }*/}
- {/* }}*/}
- {/* className="w-full justify-start gap-2"*/}
- {/* asChild*/}
- {/*>*/}
- {/* */}
- {/*
*/}
- {/*
*/}
- {/* */}
- {/* */}
- {/* {api.method && {api.method} }*/}
- {/* {api.name}*/}
- {/* */}
- {/* */}
- {/* */}
- {/* */}
- {/*
{api.name}
*/}
- {/* {api.path &&
{api.path}
}*/}
- {/*
*/}
- {/* */}
- {/* */}
- {/*
e.stopPropagation()}*/}
- {/* >*/}
- {/* onApiAction.open(collectionId, api.id)}*/}
- {/* onRename={() => onApiAction.rename(collectionId, api.id)}*/}
- {/* onDelete={() => onApiAction.delete(collectionId, api.id)}*/}
- {/* />*/}
- {/* */}
- {/*
*/}
- {/**/}
-
-
!isDragging && onApiAction.open(collectionId, api.id)}
- className="flex items-center gap-2 flex-1 min-w-0 cursor-pointer"
- >
+ className={`cursor-move transition-colors duration-200 px-4 ${isDragging ? 'opacity-50 bg-accent' : ''}`}>
+
+
!isDragging && onApiAction.open(collectionId, api.id)} className="flex items-center gap-2 flex-1 min-w-0 cursor-pointer">
-
-
- {api.method && {api.method} }
- {api.name}
-
+
+ s
+ {api.name}
+
{api.name}
- {api.path &&
{api.path}
}
+ {api.path &&
{api.method} {api.path}
}