Open birukbelay opened 4 months ago
i think this is the issue, it is not showing prompt, when the handle delete is called, so it think this should be a quick fix
on the path packages/insomnia/src/ui/components/dropdowns/request-group-actions-dropdown.tsx
const handleDeleteFolder = async () => {
models.stats.incrementDeletedRequestsForDescendents(requestGroup);
requestFetcher.submit({ id: requestGroup._id },
{
action: `/organization/${organizationId}/project/${projectId}/workspace/${workspaceId}/debug/request-group/delete`,
method: 'post',
});
};
A confirmation before deleting request/folder or whatever should be nice.
Expected Behavior
Actual Behavior
Reproduction Steps
---------------------- case 1 1.1. go to collections 1.2. create a folders 1.3. click options then delete 1.4. it deletes with out a prompt
---------------- case 2 2.1. go to collections 2.2. create a folders 2.3. click the options of a folder which position is in the middle of the scroll view port 2.4. it clicks other options as well automatically, which is some bug 2.5: this bug combined with the deleting of folders with out a popup or warning is very dangerous as it delete the works you have done
Is there an existing issue for this?
Additional Information
No response
Insomnium Version
0.2.3-a
What operating system are you using?
macOS
Operating System Version
mac os Darwin
Installation method
downloaded form insomnim
Last Known Working Insomnium version
No response