obsidian-spaced-repetition icon indicating copy to clipboard operation
obsidian-spaced-repetition copied to clipboard

[FEAT] Stop using YAML; Move plugin info and data to separate file

Open fredriksy opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. Currently running the plugin and studying is great but it runs havoc on my version control system because of the file changes on everything I studied (due to YAML). This caused due to the storage of spaced repetition data on each individual file via YAML.

Describe the solution you'd like A modular approach would be ideal so that the notes are independent of my studying. My notes on "Newton's Laws" shouldn't change every time I just read them right? If possible the data on my studying should be stored in a separate container file and that should change. It would make it much easier to track from a version control standpoint how much studying I'm doing.

Additional context To be clear I'm talking about the YAML info below image

Edit for grammar and clarity

fredriksy avatar Jun 16 '21 00:06 fredriksy

Which VCS are you using? I think conflicts are less problematic with the current system compared to in one central file. For instance, we wouldn't store the file name, but rather some unique id to protect against file renames & stuff. Now trying to make corrections to the central file becomes much more difficult.

st3v3nmw avatar Jun 17 '21 05:06 st3v3nmw

Thanks for the response!

I use git, I realized my language made things confusing. When I mentioned it caused havoc on my version control system, I meant that it caused change in files that upon review of my git history , hinted that something changed (when in reality, nothing in the content meaningfully changed).

In my head, I'd prefer that all information related to my review would be consolidated in one file. I can easily deal with some messiness with that file. It also seems attractive to be able to look review status in one file.

Your point makes sense, it does seem to be quite difficult to have your plugin somehow track all renames too. Perhaps my recommendation is completely impractical then.

Feel free to mark this as closed if the task is too hard.

fredriksy avatar Jun 17 '21 06:06 fredriksy

I personally would also find this a valuable feature! For an example on implementation see the Recall plugin.

My reason is that I share a common wiki/notes with friends from med school, that we sync over GitHub, and would like to use Spaced Repetition to review notes. With it in the frontmatter everyone would have the same status of review, so it doesn't work out. This would be solved if the review status was saved in a separate file that would be different for each person.

Signynt avatar Jul 14 '22 15:07 Signynt

+1 want this a valuable feat too.

Newdea avatar Feb 22 '23 09:02 Newdea

I would also find this useful please add this

TolgaKerem07 avatar Apr 25 '24 10:04 TolgaKerem07