processing / processing/p5.js-web-editor

Allow adding nested files and folders in `Add File` and `Add Folder` modal

Open
#765 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Help Wanted Priority:Medium
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 FolderName is not present under the current node? Should one implicitly create it or ask the user?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.