Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resetting the editor does not delete the local storage projects #6002

Open
microbit-carlos opened this issue Oct 31, 2024 · 2 comments · May be fixed by microsoft/pxt#10261
Open

Resetting the editor does not delete the local storage projects #6002

microbit-carlos opened this issue Oct 31, 2024 · 2 comments · May be fixed by microsoft/pxt#10261
Assignees
Labels

Comments

@microbit-carlos
Copy link
Collaborator

When resetting the editor using the settings > reset menu, it does not delete any of the saved projects.

Kapture.2024-10-31.at.18.04.29.mp4

I'm not logged in and there isn't any error printed to the console.

  • makecode.microbit.org version: 7.0.51
  • Microsoft MakeCode version: 11.1.5
  • microbit runtime version: v2.2.0-rc6
  • codal-microbit-v2 runtime version: v0.2.68
@microbit-carlos
Copy link
Collaborator Author

Ah, if I create a new project, and then reset MakeCode, then it does delete the new project, but it keeps everything else I've shown in that video.

I could try to reset a slightly different MakeCode v6 deployment to see if that works, but it might be better to leave it like this in case there is anything else you'd like me to try? or anything you'd like me to check about the current state of the editor?

@abchatra
Copy link
Contributor

abchatra commented Nov 1, 2024

I can reproduce the bug. It is probably because we implemented a feature to move away from pouch db and probably it will import back from pouch db if it finds none imported.

Nice bug @microbit-carlos

@riknoll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants