firecamp icon indicating copy to clipboard operation
firecamp copied to clipboard

[bug]: user should not be allowed to create folders with same name inside a single collection

Open Nick-h4ck3r opened this issue 1 year ago • 2 comments

Describe the bug Currently, users can create folders with the same name inside a single collection. This should not be the ideal scenario.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Collection Explorer'
  2. Create a collection with the name 'anyname'.
  3. Create a folder inside it as 'test'.
  4. Create another folder inside 'anyname' collection as 'test'.

Expected behavior

Creating a file/folder with the same name, inside the same parent directory should be disabled. The user should get a prompt with a similar error as follows.

image Image screenshot from vscode

Screenshots firecamp Current scenario in firecamp

Desktop (please complete the following information):

  • OS: All
  • Browser: All
  • Version: All

Nick-h4ck3r avatar Nov 03 '23 06:11 Nick-h4ck3r

I would like to work on this issue, @Nishchit14 assign me this one.

Nick-h4ck3r avatar Nov 03 '23 06:11 Nick-h4ck3r

Thank you for bringing the PR quickly @Nick-h4ck3r

Nishchit14 avatar Nov 03 '23 09:11 Nishchit14