-
Notifications
You must be signed in to change notification settings - Fork 3
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
Create journal files and the actual notes #11
Comments
Half done... |
this must also check on modifications on the journal from outside nobleNote if a note has been opened by nobleNote but not yet edited edit: invalid request, already covered by case 3 |
If it was opend but not edited, then the modification time for both files should be about the same. So we can simply check if the modification time is the same. That should work, shouldn't it? |
what if the journal has been written and nobleNote has been force closed/pc standby/crashed. The sync software would transfer the journal and case 3 would apply: "If there is a journal file with a newer modification date than the note, ask the user which one she/he wants to keep." |
If a note was modified (on runtime), check if the journal file is newer than the note (when the note-editor starts up), if so, let the user decide which version she/he wants to keep.
If there is a journal file but no note, then create the note from it.
If there is a journal file with a newer modification date than the note, ask the user which one she/he wants to keep.
The text was updated successfully, but these errors were encountered: