codesandbox / codesandbox/codesandbox-client

Renaming Folder Bug Led to Deletion of Folder

Open
#6,262 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

I created a Vanilla sandbox, and I am not using any configuration files other than package.json. I was trying to rename a folder in that sandbox, and when I did so an error message popped up saying that there was an error renaming the folder. When I refreshed the page, the folder and all of its contents were gone. Is there any way I can recover what was inside the folder?

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

Reproduce the folder rename in a Vanilla sandbox using only package.json, then observe the error and whether refreshing removes the folder contents. Trace the rename flow from that reproduction; done means a failed rename no longer deletes the folder or its contents, and the recovery behavior is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.