codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

Can't delete a Template sandbox in Recent page

Open PraneshBalasubramaniam opened this issue 6 months ago • 1 comments

🐛 bug report

Preflight Checklist

  • [x] I have read the Contributing Guidelines for this project.
  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Description of the problem

Cannot delete template sandbox that is listed in the recent page

How has this issue affected you? What are you trying to accomplish?

Can't delete sandboxes marked as template that I want to remove in recent page

To Reproduce

  1. Create a sanbox and mark as template.
  2. Navigate to recent page of codesandbox.
  3. Try to delete the template sandbox using delete option in right click menu.
  4. It won't be deleted and gives error in devtools.

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox
Browser Version 127.0.6533.73
Operating System Windows 11 Home 23H2

image It seems the template id required to delete the sandbox is not present. I think its because, the sandboxes variable sandboxes.RECENT_SANDBOXES does not contain template data.

image

PraneshBalasubramaniam avatar Jul 27 '24 12:07 PraneshBalasubramaniam