Make sure the code-init is robust when local storage is empty #333

Merged
Irev-Dev merged 1 commits from kurt/fix-init-code-bug into main 2021-05-30 06:01:52 +02:00
Irev-Dev commented 2021-05-30 06:01:45 +02:00 (Migrated from github.com)

We put draft code into local storage so user's don't lose their code if they click away in draft, but because of this a bug had creeped in that would cause error if it was the user's first time on the site, I need to remember to clear my local storage when doing regression testing.

Even though it was local storage that cause the bug, this code wasn't working either, even since we introduced CadQuery because it needs to deal with two cade package which it wasn't doing so that's fixed too now.

We put draft code into local storage so user's don't lose their code if they click away in draft, but because of this a bug had creeped in that would cause error if it was the user's first time on the site, I need to remember to clear my local storage when doing regression testing. Even though it was local storage that cause the bug, this code wasn't working either, even since we introduced CadQuery because it needs to deal with two cade package which it wasn't doing so that's fixed too now.
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: h3n3/cadhub#333