penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.

Home Page:https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

penge opened this issue · comments

Every note has following meta data:

  • is locked?
  • is pinned?
  • edit in RAW? (expect in version 3.22)

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.

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)

Will look into it in the morning. Not related.