codesandbox / codesandbox/codesandbox-client
SandBox linked to Github; renamed files commited as new files
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 bug report
Preflight Checklist
- I have read the
Contributing Guidelines
for this project. - I agree to follow the
Code of Conduct
that this project adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
I created a sandbox , linked it to my github repo. After initial commit, I renamed few files. Later found that on github, both files exist, ones with old name, and renamed ones.
How has this issue affected you? What are you trying to accomplish?
Despite, code working fine on CSB website, it contained duplicate files.
I expected that the original file would be replaced by the renamed files.
To Reproduce
- Create a sandbox on CSB website
- Link it to a github repo and initial commit
- rename one or more files (e.g. change file extension)
- commit again
- go to github repo and observe the files such as original file and renamed file
Link to sandbox: link (provided)
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | f79b557df |
| Browser | Microsoft Edge v86.0 |
| Operating System | Windows 10 Pro |
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 by reproducing the problem with the linked sandbox: create a GitHub-linked sandbox, commit it, rename a file, and commit again. Trace the GitHub synchronization flow responsible for file renames, then verify that the repository contains the renamed file without the obsolete filename.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, javascript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100