penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.
https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop
MIT License
242 stars 34 forks source link

Fix pull sync so it does NOT reset note's meta data #380

Closed penge closed 2 years ago

penge commented 2 years ago

Every note has following meta data:

These meta data are stored locally and not in Google Drive.

Issue: Note updated in Google Drive and then pulled back to My Notes, caused reset of note's meta data (by setting defaults: not locked, not pinned, not raw).

This small issue is now fixed and I am planning it to be released in version 3.22.

skinnedpanda commented 2 years ago

Is this related: every time I want to rename or delete a note it does not show anything until I refresh with F5.

notes.js:formatted:4351 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'locked')
    at Ge.xc [as constructor] (notes.js:formatted:4351:43)
    at Ge.Ar [as render] (notes.js:formatted:362:21)
    at yt (notes.js:formatted:254:23)
    at notes.js:formatted:82:17
    at Array.some (<anonymous>)
    at Xe (notes.js:formatted:77:15)
penge commented 2 years ago

Will look into it in the morning. Not related.