firecamp
firecamp copied to clipboard
[bug]: user should not be allowed to create folders with same name inside a single collection
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:
- Go to 'Collection Explorer'
- Create a collection with the name 'anyname'.
- Create a folder inside it as 'test'.
- 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 screenshot from vscode
Screenshots
Current scenario in firecamp
Desktop (please complete the following information):
- OS: All
- Browser: All
- Version: All
I would like to work on this issue, @Nishchit14 assign me this one.
Thank you for bringing the PR quickly @Nick-h4ck3r