st3v3nmw / obsidian-spaced-repetition

Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian
https://www.stephenmwangi.com/obsidian-spaced-repetition/
MIT License
1.56k stars 186 forks source link

[FEAT] Schedule to the hour / minute / second level #503

Open pppaapp opened 2 years ago

pppaapp commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Additional context Add any other context or screenshots about the feature request here.

CleanShot 2022-09-27 at 21 26 26

I need 1m 6m 10m....

st3v3nmw commented 2 years ago

I would like the repeat interval for the "hard" option to be set to less than one day.

Why wait a whole day to repeat a card you forgot?

Going down from a day to hours, minutes, or seconds is critical when you want to quickly and intensively memorize content for an upcoming test.

Comment from closed issue

st3v3nmw commented 2 years ago

Currently, I'm forced to select if the card was hard / normal / easy. However, very often, I'd like to replay all my cards in the deck. > But, even if I choose hard, I should wait some days. What if I don't want to wait at all?

Current workaround: remove the lines from the source. But it's a pain.

Request: next to hard / normal / easy, there should be a "Next" button that doesn't register anything in the .md source code. This way the deck could be replayed immediately, without waiting.


For the love of god, this needs to be implemented. One solution would be to allow changing the interval from hard to hours, minutes, or even seconds.

Waiting a whole day is so painful and unproductive.

Comments from closed issue

st3v3nmw commented 2 years ago

Waiting one full day before re - reviewing flashcards is too much. It would be much better if again = 1 min and hard = 10 min. It's the one thing, that prevents me from using this otherwise awesome plugin.

Comment from #502 discussion

shisuuu commented 1 year ago

this is very much needed and the only reason why I sometimes switch back to Anki to get more out of my cards without having to delete a line to review it every single time. I really hope this will be a feature in the coming updates. Thanks for this wonderful plugin by the way!

protoporos commented 1 year ago

Okay one better workaround: Go to the place where this plugin is installed, normally it's at your projectFolder/plugins/obsidian-spaced-repetition there you find the JS-scripts that are responsible for this behavior. Now open main.js, than go to line 1882 or search for: due = window.moment(Date.now()+ interval * 24 * 3600 * 1e3);

This variable sets the time when this card should be revisited. Now remove the second summand like or comment it out: due = window.moment(Date.now()) /*+ interval * 24 * 3600 * 1e3)*/;

Save the file, and if you had Obsidian open, restart it.

You will notice that the html comment that is inserted after every question will have the date of today. However, the plugin kinda has a second way of saving when the questions are due, so this will work only one time in a Questioning Session. However this memory will be deleted when the Question tab is closed. So when you now want to revisit every of your question, you just have to reopen the question tab! Note that question with existing html comments wont be shown till the date is due!

Still, this works a bit better than going through the files and removing every comment. Downside the features of revisiting in one day, three or in a week are lost! Waiting for a official solution, please!

For example, when you open the review flashcards tab and all the decks are shown, why cant I right click on a deck and force a revision or am I overlooking something? Please, exams get closer and closer 😵‍💫

psaunderualberta commented 1 year ago

I'm happy to announce that this feature is now available as a Beta. The feature is still in early stages, and I'm looking for beta users to help validate functionality / try and break it. Specifically, there are several types of flashcards (i.e. Clozes, Card contexts, images, etc.) that I don't use. Therefore, it would be much appreciated if someone who uses those types regularly can vet the feature's functionality. Of course, being in the beta stage, there will likely be bugs. Please be sure to back up your vault before using this feature, or just make a separate vault to experiment with.

Special thanks to AB1908 for all their help in getting the feature ready for release as a beta.

The plugin must be installed manually or from BRAT with this link: https://github.com/psaunderualberta/obsidian-spaced-repetition/. Installing should work, but please message me if it doesn't.

NishantTharani commented 1 year ago

Great to see that this feature is in Beta! May I ask if this is approaching readiness for wider release?

nordicpioneer commented 11 months ago

You can subscribe to the thread regarding this pull request https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/569

Kangaroo9103 commented 2 months ago

Any updates on this feature request? This is the only functionality needed for me to swap entirely from Anki to this plugin for my use cases.