processing / processing/p5.js-web-editor
Allow adding nested files and folders in `Add File` and `Add Folder` modal
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
Nature of issue?
- Found a bug
- Existing feature enhancement
- New feature request
Feature enhancement details:
Current To add files and folders in the directories (i.e. to nest them) one has to manually click on that folder and click on the New File or New Folder button. Adding files as FolderName/FileName won't nest it in the FolderName folder and instead create a new file named FolderName/FileName in the same directory.
Proposed On entering FolderName/FileName, new file named FileName should be created in the FolderName if it is present in the currently selected node. ( Likewise while nesting folders in folders)
Points of Discussion
- What should happen if
FolderNameis not present under the current node? Should one implicitly create it or ask the user?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Add File and Add Folder modals and trace how entered names are handled relative to the currently selected node. Verify the behavior for existing nested folders, and resolve whether a missing intermediate folder should be created or prompt the user.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100