Describe the bug
When I open massCode there is only the empty default folder. I've looked on GoogleDrive and the db.json file is there and appears to contain my snippets.
I've seen this issue a while back running locally, but it had to do with some backup.db folder/file or something-or-other in the storage directory being saved, deleted and pasted back with rename. Can't remember exactly.
I can confirm that the db.json file contains the snippets, here's the first part of the file:
{
"folders": [
{
"id": "Aohk4j-d",
"name": "Default",
"defaultLanguage": "typescript",
"parentId": null,
"isOpen": false,
"isSystem": false,
"createdAt": 1657686236199,
"updatedAt": 1657686236199
},
{
"name": "Default Starters",
"parentId": null,
"isOpen": false,
"isSystem": false,
"defaultLanguage": "plain_text",
"id": "mzkIGdBN",
"createdAt": 1658721647755,
"updatedAt": 1658721674180
},
{
"name": "React",
"parentId": null,
"isOpen": false,
"isSystem": false,
"defaultLanguage": "plain_text",
"id": "wYkgo1v0",
"createdAt": 1659100654501,
"updatedAt": 1659100670449
},
{
"name": "TypeScript",
"parentId": null,
"isOpen": false,
"isSystem": false,
"defaultLanguage": "typescript",
"id": "5WmisoU6",
"createdAt": 1661476268571,
"updatedAt": 1661476285911
},
{
"name": "Storybook-TS",
"parentId": null,
"isOpen": false,
"isSystem": false,
"defaultLanguage": "typescript",
"id": "zVAFCEK9",
"createdAt": 1661490808162,
"updatedAt": 1661490834640
}
],
"snippets": [
{
"isDeleted": false,
"isFavorites": false,
"folderId": "mzkIGdBN",
"tagsIds": [],
"description": null,
"name": "Basic Arrow Function",
"content": [
{
...
To reproduce
- Open massCode ...
- look for snippets ...
- See no snippets ...
SYSTEM INFO:
massCode: 3.4.1
Electron: 16.2.3
Chrome: 96.0.4664.174
Node.js: 16.9.1
V8: 9.6.180.23-electron.0
OS: Darwin arm64 21.6.0
Version
3.4.1
OS
12.5.1
Validations
pending triage