Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian
| Files | Last commit | Last update |
|---|---|---|
chore: releasing next patch version (#1552) * fix: Fixed a few small bugs that have accumulated (#1514) * feat: Improved version release workflow (#1509) * FIX: Excluded gh-pages from tests rather than just including the main branch, as all other branches should also have to abide by the tests * FEAT: Improved the contributing page in the docs * FIX: Fixed wrong deck progress counter * FIX: Fixed that clozes didn't save when editing them * FIX: Fixed that the edit modal would remove question marks * FIX: Fixed that a multiline card would become a single line card * FIX: Fixed the design of tables in callouts * chore: bump version to v1.14.2 * fix: Fix obsidian comunity issues (#1521) * FIX: Fixed that the fetch of the newest version number happens automatically without user consent * FIX: Fixed that the locale helper used dangerous use of new Function * FIX: Fixed a lot of scorecard issues * fix: Fixed more community issues (#1532) * chore(deps): bump brace-expansion from 5.0.5 to 5.0.6 (#1525) Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.5 to 5.0.6. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.6) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump pymdown-extensions from 10.21.2 to 10.21.3 (#1531) Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.21.2 to 10.21.3. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.21.2...10.21.3) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: 10.21.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * FIX: Fixed that the plugin wasnt using window.setTimeout * FEAT: Added Artifact attestation * FEAT: Added file verification --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CHORE: Prepped next release * fix: Fix bugs of last refactor & implementing a language setting (#1551) * FIX: Removed built in package from dependencies * FIX: Hooked up commandManager in ui settings * FIX: Fixed that the statistics page was looping on infinit * FIX: Fixed that settings search breaks sr plugin by rudely calling the display function ;D * FIX: Fixed that the review queue sometimes didnt show anything & fixed that there wasnt an option for language selection * FIX: Removed postcss as it isnt needed anymore * FIX: Added pnpm settings * FIX: Fixed a type error * FIX: Fixed that obsidian build verification wasnt working * chore: prepped v1.15.1 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 5 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
fix: fix "Jump to cart" feature (#1462) * Supprot building with .devcontainer inside vault plugins directory * fix: prevent duplicate file openings in markdown views * FIX: Fixed formatting error --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> | 6 months ago | |
chore: collecting next patch version (#1555) * fix: Fixed a few small bugs that have accumulated (#1514) * feat: Improved version release workflow (#1509) * FIX: Excluded gh-pages from tests rather than just including the main branch, as all other branches should also have to abide by the tests * FEAT: Improved the contributing page in the docs * FIX: Fixed wrong deck progress counter * FIX: Fixed that clozes didn't save when editing them * FIX: Fixed that the edit modal would remove question marks * FIX: Fixed that a multiline card would become a single line card * FIX: Fixed the design of tables in callouts * chore: bump version to v1.14.2 * fix: Fix obsidian comunity issues (#1521) * FIX: Fixed that the fetch of the newest version number happens automatically without user consent * FIX: Fixed that the locale helper used dangerous use of new Function * FIX: Fixed a lot of scorecard issues * fix: Fixed more community issues (#1532) * chore(deps): bump brace-expansion from 5.0.5 to 5.0.6 (#1525) Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.5 to 5.0.6. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.6) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump pymdown-extensions from 10.21.2 to 10.21.3 (#1531) Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.21.2 to 10.21.3. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.21.2...10.21.3) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: 10.21.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * FIX: Fixed that the plugin wasnt using window.setTimeout * FEAT: Added Artifact attestation * FEAT: Added file verification --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CHORE: Prepped next release * feat: store scheduling data in plugin data instead of inline in notes (#1471) * feat: store scheduling data in plugin data instead of inline in notes (#162) Adds an optional 'Store in plugin data' mode (beta) that keeps all scheduling metadata in plugin data rather than writing <!--SR:...--> comments into note markdown. - Schedule state (note + card schedules) persisted in plugin data under `scheduleState`, with a one-time migration path for legacy `notePath::hash` card keys to content-hash-only keys that survive renames and external moves - `ScheduleDataRepository` handles CRUD for persisted schedules; `StoreInPluginData` implements `IDataStore` with inline-comment fallback for graceful migration when the mode is first enabled - `DataStoreInPluginDataAlgorithmOsr` returns an empty schedule comment so no SR annotations are written back to notes in this mode - `OsrCore` routes note schedule reads/writes through the repository when the mode is active, with frontmatter fallback on first switch - `vault.on('rename')` listener keeps note schedule keys consistent after Obsidian-internal renames (card keys are content-hash-based and need no rename handling) - Settings UI dropdown to switch between NOTES and PLUGIN_DATA modes - Full unit test coverage for repository and store classes * feat: migrate scheduling data when switching storage modes When the user switches between 'Store in notes' and 'Store in plugin data' in settings, a confirmation modal now prompts before migrating all existing scheduling data to the new location. - NOTES → PLUGIN_DATA: reads sr-* frontmatter fields and <!--SR:...--> inline comments from all vault files, writes them to the plugin data repository, then strips the SR metadata from the files - PLUGIN_DATA → NOTES: reads all schedules from the repository and writes them back as inline comments and sr-* frontmatter, then clears the repository state - Settings dropdown reverts immediately on change and only applies after the user confirms; migration runs before the mode switch so each direction reads from the correct source - DataStoreMigrator is excluded from coverage (Obsidian-API-coupled, same as file.ts and delete-scheduling-data.ts) - ScheduleDataRepository.clearState() added for post-migration cleanup * feat: UUID-based note identification, data settings page, and test coverage - Add sr-id UUID to note frontmatter so note schedules survive any rename or move, inside or outside Obsidian (crypto.randomUUID written once on first schedule write; existing path-keyed entries lazily migrated on read) - Update ISRFile with getNoteId / getOrCreateNoteId; implement in SrTFile and UnitTestSRFile - Update core.ts and DataStoreMigrator to use UUID as the note schedule key - Add "Data" settings page (data-page.tsx) with data storage dropdown and delete-scheduling-data buttons; move them out of scheduling-page.tsx - Add PLUGIN_DATA_STORE_INFO locale key explaining UUID and hash semantics - Add tests: DataStoreInPluginDataAlgorithmOsr (was 0% coverage), UUID-keyed note schedule behaviour in ScheduleDataRepository * PR fixes: store the scheduling data in a 2 different md files with json format inside * Add missing tests for coverage * Fix small bug * Add the final test for 100% test coverage!!!! * FEAT: Refactored data related stuff from main into a data manager * FEAT: Refactored data related stuff from main into a data manager (2nd try ;D ) * REFAC: Moved data store related files into data folder * REFAC: Moved more data related files into data folder * REFAC: Refactored osrAppCore into the dataManager & commented a bunch of code * REFAC: Established a data-structures folder in data * REFAC: Moved deck folder to the new data-structures folder * REFAC: Refactored & commented back end code * REFAC: Cleaned up data stores * REFAC: Removed tests * REFAC: Refactored file & fixed some typing issues * REFAC: Refactored deck to one day be able to support notes & fixed a lot of type issues Co-authored-by: Copilot <copilot@github.com> * REFAC: Moved scheduling related files to scheduling folder * FIX: Fixed wrong imports due to last refactoring * FIX: Fixed formatting issues * REFAC: Refactored tests so that they match the actual folder structure in src & fixed some config errors * REFAC: Renamed data stores folder to data store instances * REFAC: Moved data store related code to data store folder * REFAC: Refactored data store folders & Implemented a data store specific schedule deleter * WIP: Implemented folder data store * CHANGE: Fully removed not working implementation & packaged files for later use * FIX: Fixed some errors --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> Co-authored-by: Copilot <copilot@github.com> * feat: Implemented a callou to hide away the sr comment (#1539) * FIX: Removed unnecessary awaits * FEAT: Implemented schedule comments in callouts * FEAT: Implemented that the sr callout hides away * FIX: Formatted * WIP: Implemented a migration tool * FEAT: Fully implemented metadata callouts * FIX: Formatted & fixed errors * FIX: FIxed some errors * FIX: Added some more tests * fix: bug hunt (#1542) * FIX: Fixed a whole boatload of type errors * FIX: Fixed another boat load of bugs * FIX: Fixed that data was loaded in the load function * feat: jump hotkey (#1543) FEAT: Implemented a jump to card hotkey * chore: prepped v1.15.0 * fix: Fix bugs of last refactor & implementing a language setting (#1551) * FIX: Removed built in package from dependencies * FIX: Hooked up commandManager in ui settings * FIX: Fixed that the statistics page was looping on infinit * FIX: Fixed that settings search breaks sr plugin by rudely calling the display function ;D * FIX: Fixed that the review queue sometimes didnt show anything & fixed that there wasnt an option for language selection * FIX: Removed postcss as it isnt needed anymore * FIX: Added pnpm settings * FIX: Fixed a type error * FIX: Fixed that obsidian build verification wasnt working * chore: prepped v1.15.1 * fix: Maybe fix the build error on the community page * feat: auto-open review sessions for ready flashcards (#1513) feat: add flashcard review reminders * FIX: Fixed that an open tab caused the plugin to crash * FIX: Fixed formatting --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alejandro Lorite Mora <a.lorite.mora@gmail.com> Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Beacon <beacon.sage@outlook.com> | 5 months ago | |
Add localization check - Check that localization entries are consistent across all files - Update localization for `cz`, `de`, `ja`, `ko`, `ru`, & `zh-cn`. - Fix failing tests | 4 years ago | |
fix: fixed layout issues that came in with the new obsidian mobile version (#1361) * CHANGE: Set sr tab view as a static view (See docs -> non navigation view) * CHANGE: Version bump obsidian package for enhanced functionality * FIX: Fixed that the mobile navbar would overlap the buttons in the tab view * FIX: Fixed that the mobile close button would overlap the buttons in the modal view * CHANGE: Improved error hiding workaround * CHANGE: Added missing translation text * FIX: Fixed overlapping layout & adjusted buttons to use the provided ButtonComponent * FIX: Fixed missing translations & disabled debug mode * CHANGE: Updated changelog & linted * CHANGE: Improved the custom platform detector * CHANGE: Implemented some test for the platform detector util * FIX: Fixed that the pill shape in the deck list was a slight bit off on an actual mobile device * FIX: Back button in the tab view was still just a html button * FIX: Fixed that a modal opening wouldnt trigger the sr in focus listener and thus the hotkeys were still active * FEAT: Added hotkey hints for desktop version * FIX: The back button style in mobile tab view wasn't applied correctly * FIX: forgot to turn off debug mode * FIX: Fixed that the focus handler was giving wrong results * FIX: Fixed that back button was too small in a niche case * FIX: fixed that Ukrainian language support was missing in PR * FIX: fixed that back button was visible in a niche case when it shouldn't be * WIP: Fully refactoring ui backend * WIP: Added flashcard size back into tab view * WIP: Refactoring styles * FIX: Fixed that mobile ui * FIX: Fixed that deck stats were mixed up | 8 months ago | |
chore: update dependencies (#1246) | 1 year ago | |
fix: fixed layout issues that came in with the new obsidian mobile version (#1361) * CHANGE: Set sr tab view as a static view (See docs -> non navigation view) * CHANGE: Version bump obsidian package for enhanced functionality * FIX: Fixed that the mobile navbar would overlap the buttons in the tab view * FIX: Fixed that the mobile close button would overlap the buttons in the modal view * CHANGE: Improved error hiding workaround * CHANGE: Added missing translation text * FIX: Fixed overlapping layout & adjusted buttons to use the provided ButtonComponent * FIX: Fixed missing translations & disabled debug mode * CHANGE: Updated changelog & linted * CHANGE: Improved the custom platform detector * CHANGE: Implemented some test for the platform detector util * FIX: Fixed that the pill shape in the deck list was a slight bit off on an actual mobile device * FIX: Back button in the tab view was still just a html button * FIX: Fixed that a modal opening wouldnt trigger the sr in focus listener and thus the hotkeys were still active * FEAT: Added hotkey hints for desktop version * FIX: The back button style in mobile tab view wasn't applied correctly * FIX: forgot to turn off debug mode * FIX: Fixed that the focus handler was giving wrong results * FIX: Fixed that back button was too small in a niche case * FIX: fixed that Ukrainian language support was missing in PR * FIX: fixed that back button was visible in a niche case when it shouldn't be * WIP: Fully refactoring ui backend * WIP: Added flashcard size back into tab view * WIP: Refactoring styles * FIX: Fixed that mobile ui * FIX: Fixed that deck stats were mixed up | 8 months ago | |
Bump version to v1.11.1 (#854) | 2 years ago | |
fix: Fixed that the fsrs algorithm wasnt mentioned in the read me (#1545) FIX: Fixed that the fsrs algorithm wasnt mentioned in the read me | 5 months ago | |
feat: add note stats (#1140) | 2 years ago | |
chore: collecting next patch version (#1555) * fix: Fixed a few small bugs that have accumulated (#1514) * feat: Improved version release workflow (#1509) * FIX: Excluded gh-pages from tests rather than just including the main branch, as all other branches should also have to abide by the tests * FEAT: Improved the contributing page in the docs * FIX: Fixed wrong deck progress counter * FIX: Fixed that clozes didn't save when editing them * FIX: Fixed that the edit modal would remove question marks * FIX: Fixed that a multiline card would become a single line card * FIX: Fixed the design of tables in callouts * chore: bump version to v1.14.2 * fix: Fix obsidian comunity issues (#1521) * FIX: Fixed that the fetch of the newest version number happens automatically without user consent * FIX: Fixed that the locale helper used dangerous use of new Function * FIX: Fixed a lot of scorecard issues * fix: Fixed more community issues (#1532) * chore(deps): bump brace-expansion from 5.0.5 to 5.0.6 (#1525) Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.5 to 5.0.6. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.6) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump pymdown-extensions from 10.21.2 to 10.21.3 (#1531) Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.21.2 to 10.21.3. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.21.2...10.21.3) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: 10.21.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * FIX: Fixed that the plugin wasnt using window.setTimeout * FEAT: Added Artifact attestation * FEAT: Added file verification --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CHORE: Prepped next release * feat: store scheduling data in plugin data instead of inline in notes (#1471) * feat: store scheduling data in plugin data instead of inline in notes (#162) Adds an optional 'Store in plugin data' mode (beta) that keeps all scheduling metadata in plugin data rather than writing <!--SR:...--> comments into note markdown. - Schedule state (note + card schedules) persisted in plugin data under `scheduleState`, with a one-time migration path for legacy `notePath::hash` card keys to content-hash-only keys that survive renames and external moves - `ScheduleDataRepository` handles CRUD for persisted schedules; `StoreInPluginData` implements `IDataStore` with inline-comment fallback for graceful migration when the mode is first enabled - `DataStoreInPluginDataAlgorithmOsr` returns an empty schedule comment so no SR annotations are written back to notes in this mode - `OsrCore` routes note schedule reads/writes through the repository when the mode is active, with frontmatter fallback on first switch - `vault.on('rename')` listener keeps note schedule keys consistent after Obsidian-internal renames (card keys are content-hash-based and need no rename handling) - Settings UI dropdown to switch between NOTES and PLUGIN_DATA modes - Full unit test coverage for repository and store classes * feat: migrate scheduling data when switching storage modes When the user switches between 'Store in notes' and 'Store in plugin data' in settings, a confirmation modal now prompts before migrating all existing scheduling data to the new location. - NOTES → PLUGIN_DATA: reads sr-* frontmatter fields and <!--SR:...--> inline comments from all vault files, writes them to the plugin data repository, then strips the SR metadata from the files - PLUGIN_DATA → NOTES: reads all schedules from the repository and writes them back as inline comments and sr-* frontmatter, then clears the repository state - Settings dropdown reverts immediately on change and only applies after the user confirms; migration runs before the mode switch so each direction reads from the correct source - DataStoreMigrator is excluded from coverage (Obsidian-API-coupled, same as file.ts and delete-scheduling-data.ts) - ScheduleDataRepository.clearState() added for post-migration cleanup * feat: UUID-based note identification, data settings page, and test coverage - Add sr-id UUID to note frontmatter so note schedules survive any rename or move, inside or outside Obsidian (crypto.randomUUID written once on first schedule write; existing path-keyed entries lazily migrated on read) - Update ISRFile with getNoteId / getOrCreateNoteId; implement in SrTFile and UnitTestSRFile - Update core.ts and DataStoreMigrator to use UUID as the note schedule key - Add "Data" settings page (data-page.tsx) with data storage dropdown and delete-scheduling-data buttons; move them out of scheduling-page.tsx - Add PLUGIN_DATA_STORE_INFO locale key explaining UUID and hash semantics - Add tests: DataStoreInPluginDataAlgorithmOsr (was 0% coverage), UUID-keyed note schedule behaviour in ScheduleDataRepository * PR fixes: store the scheduling data in a 2 different md files with json format inside * Add missing tests for coverage * Fix small bug * Add the final test for 100% test coverage!!!! * FEAT: Refactored data related stuff from main into a data manager * FEAT: Refactored data related stuff from main into a data manager (2nd try ;D ) * REFAC: Moved data store related files into data folder * REFAC: Moved more data related files into data folder * REFAC: Refactored osrAppCore into the dataManager & commented a bunch of code * REFAC: Established a data-structures folder in data * REFAC: Moved deck folder to the new data-structures folder * REFAC: Refactored & commented back end code * REFAC: Cleaned up data stores * REFAC: Removed tests * REFAC: Refactored file & fixed some typing issues * REFAC: Refactored deck to one day be able to support notes & fixed a lot of type issues Co-authored-by: Copilot <copilot@github.com> * REFAC: Moved scheduling related files to scheduling folder * FIX: Fixed wrong imports due to last refactoring * FIX: Fixed formatting issues * REFAC: Refactored tests so that they match the actual folder structure in src & fixed some config errors * REFAC: Renamed data stores folder to data store instances * REFAC: Moved data store related code to data store folder * REFAC: Refactored data store folders & Implemented a data store specific schedule deleter * WIP: Implemented folder data store * CHANGE: Fully removed not working implementation & packaged files for later use * FIX: Fixed some errors --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> Co-authored-by: Copilot <copilot@github.com> * feat: Implemented a callou to hide away the sr comment (#1539) * FIX: Removed unnecessary awaits * FEAT: Implemented schedule comments in callouts * FEAT: Implemented that the sr callout hides away * FIX: Formatted * WIP: Implemented a migration tool * FEAT: Fully implemented metadata callouts * FIX: Formatted & fixed errors * FIX: FIxed some errors * FIX: Added some more tests * fix: bug hunt (#1542) * FIX: Fixed a whole boatload of type errors * FIX: Fixed another boat load of bugs * FIX: Fixed that data was loaded in the load function * feat: jump hotkey (#1543) FEAT: Implemented a jump to card hotkey * chore: prepped v1.15.0 * fix: Fix bugs of last refactor & implementing a language setting (#1551) * FIX: Removed built in package from dependencies * FIX: Hooked up commandManager in ui settings * FIX: Fixed that the statistics page was looping on infinit * FIX: Fixed that settings search breaks sr plugin by rudely calling the display function ;D * FIX: Fixed that the review queue sometimes didnt show anything & fixed that there wasnt an option for language selection * FIX: Removed postcss as it isnt needed anymore * FIX: Added pnpm settings * FIX: Fixed a type error * FIX: Fixed that obsidian build verification wasnt working * chore: prepped v1.15.1 * fix: Maybe fix the build error on the community page * feat: auto-open review sessions for ready flashcards (#1513) feat: add flashcard review reminders * FIX: Fixed that an open tab caused the plugin to crash * FIX: Fixed formatting --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alejandro Lorite Mora <a.lorite.mora@gmail.com> Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Beacon <beacon.sage@outlook.com> | 5 months ago | |
chore: prepping next patch version (#1565) * fix: Fixed that the settings page was showing & fixed again a lot of type issues (#1562) FIX: Fixed that the settings page was showing & fixed again a lot of type issues * feat: improved deck list info when decks are empty (#1564) * REFAC: Refactored reminders into a manager * REFAC: Moved some functions to the review queue loader * FEAT: Added a no decks info msg | 5 months ago | |
chore: prepping next patch version (#1565) * fix: Fixed that the settings page was showing & fixed again a lot of type issues (#1562) FIX: Fixed that the settings page was showing & fixed again a lot of type issues * feat: improved deck list info when decks are empty (#1564) * REFAC: Refactored reminders into a manager * REFAC: Moved some functions to the review queue loader * FEAT: Added a no decks info msg | 5 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
feat: Improved version release workflow (#1509) * FIX: Excluded gh-pages from tests rather than just including the main branch, as all other branches should also have to abide by the tests * FEAT: Improved the contributing page in the docs | 5 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
chore: merging next patch version (#1578) * fix: Preserve FSRS sibling schedule placeholders (#1575) * Fix FSRS sibling schedule placeholders * Fix pending requeue for buried reversed cards * FIX: Fixed that the deck list crashes on opening new buried cards --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> * fix: fixes that the card isnt redrawn after edits, fixed odd ribbon icon behavior, fixed reversal of cards, (#1577) * FIX: Update to latest pnpm version * FIX: Fixed that card text would reverse it self after being edited * FIX: Fixed that saving a empty card was possible * FIX: Fixed that the card wasn't redrawn once edited * FIX: Fixed that the ribbon icon settings werent saved * FIX: Fixed issue, where card amount changes on editing a card * FIX: Formatted * FIX: Improved test coverage * chore: Prepped next version --------- Co-authored-by: kiankyars <kiankyars@gmail.com> | 4 months ago | |
chore(deps): bump pymdown-extensions from 10.21.2 to 10.21.3 (#1531) Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.21.2 to 10.21.3. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.21.2...10.21.3) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: 10.21.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 5 months ago | |
chore: prepping next patch version (#1565) * fix: Fixed that the settings page was showing & fixed again a lot of type issues (#1562) FIX: Fixed that the settings page was showing & fixed again a lot of type issues * feat: improved deck list info when decks are empty (#1564) * REFAC: Refactored reminders into a manager * REFAC: Moved some functions to the review queue loader * FEAT: Added a no decks info msg | 5 months ago | |
chore: prepared v1.15.0 (#1544) * feat: store scheduling data in plugin data instead of inline in notes (#1471) * feat: store scheduling data in plugin data instead of inline in notes (#162) Adds an optional 'Store in plugin data' mode (beta) that keeps all scheduling metadata in plugin data rather than writing <!--SR:...--> comments into note markdown. - Schedule state (note + card schedules) persisted in plugin data under `scheduleState`, with a one-time migration path for legacy `notePath::hash` card keys to content-hash-only keys that survive renames and external moves - `ScheduleDataRepository` handles CRUD for persisted schedules; `StoreInPluginData` implements `IDataStore` with inline-comment fallback for graceful migration when the mode is first enabled - `DataStoreInPluginDataAlgorithmOsr` returns an empty schedule comment so no SR annotations are written back to notes in this mode - `OsrCore` routes note schedule reads/writes through the repository when the mode is active, with frontmatter fallback on first switch - `vault.on('rename')` listener keeps note schedule keys consistent after Obsidian-internal renames (card keys are content-hash-based and need no rename handling) - Settings UI dropdown to switch between NOTES and PLUGIN_DATA modes - Full unit test coverage for repository and store classes * feat: migrate scheduling data when switching storage modes When the user switches between 'Store in notes' and 'Store in plugin data' in settings, a confirmation modal now prompts before migrating all existing scheduling data to the new location. - NOTES → PLUGIN_DATA: reads sr-* frontmatter fields and <!--SR:...--> inline comments from all vault files, writes them to the plugin data repository, then strips the SR metadata from the files - PLUGIN_DATA → NOTES: reads all schedules from the repository and writes them back as inline comments and sr-* frontmatter, then clears the repository state - Settings dropdown reverts immediately on change and only applies after the user confirms; migration runs before the mode switch so each direction reads from the correct source - DataStoreMigrator is excluded from coverage (Obsidian-API-coupled, same as file.ts and delete-scheduling-data.ts) - ScheduleDataRepository.clearState() added for post-migration cleanup * feat: UUID-based note identification, data settings page, and test coverage - Add sr-id UUID to note frontmatter so note schedules survive any rename or move, inside or outside Obsidian (crypto.randomUUID written once on first schedule write; existing path-keyed entries lazily migrated on read) - Update ISRFile with getNoteId / getOrCreateNoteId; implement in SrTFile and UnitTestSRFile - Update core.ts and DataStoreMigrator to use UUID as the note schedule key - Add "Data" settings page (data-page.tsx) with data storage dropdown and delete-scheduling-data buttons; move them out of scheduling-page.tsx - Add PLUGIN_DATA_STORE_INFO locale key explaining UUID and hash semantics - Add tests: DataStoreInPluginDataAlgorithmOsr (was 0% coverage), UUID-keyed note schedule behaviour in ScheduleDataRepository * PR fixes: store the scheduling data in a 2 different md files with json format inside * Add missing tests for coverage * Fix small bug * Add the final test for 100% test coverage!!!! * FEAT: Refactored data related stuff from main into a data manager * FEAT: Refactored data related stuff from main into a data manager (2nd try ;D ) * REFAC: Moved data store related files into data folder * REFAC: Moved more data related files into data folder * REFAC: Refactored osrAppCore into the dataManager & commented a bunch of code * REFAC: Established a data-structures folder in data * REFAC: Moved deck folder to the new data-structures folder * REFAC: Refactored & commented back end code * REFAC: Cleaned up data stores * REFAC: Removed tests * REFAC: Refactored file & fixed some typing issues * REFAC: Refactored deck to one day be able to support notes & fixed a lot of type issues Co-authored-by: Copilot <copilot@github.com> * REFAC: Moved scheduling related files to scheduling folder * FIX: Fixed wrong imports due to last refactoring * FIX: Fixed formatting issues * REFAC: Refactored tests so that they match the actual folder structure in src & fixed some config errors * REFAC: Renamed data stores folder to data store instances * REFAC: Moved data store related code to data store folder * REFAC: Refactored data store folders & Implemented a data store specific schedule deleter * WIP: Implemented folder data store * CHANGE: Fully removed not working implementation & packaged files for later use * FIX: Fixed some errors --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> Co-authored-by: Copilot <copilot@github.com> * feat: Implemented a callou to hide away the sr comment (#1539) * FIX: Removed unnecessary awaits * FEAT: Implemented schedule comments in callouts * FEAT: Implemented that the sr callout hides away * FIX: Formatted * WIP: Implemented a migration tool * FEAT: Fully implemented metadata callouts * FIX: Formatted & fixed errors * FIX: FIxed some errors * FIX: Added some more tests * fix: bug hunt (#1542) * FIX: Fixed a whole boatload of type errors * FIX: Fixed another boat load of bugs * FIX: Fixed that data was loaded in the load function * feat: jump hotkey (#1543) FEAT: Implemented a jump to card hotkey * chore: prepped v1.15.0 --------- Co-authored-by: Alejandro Lorite Mora <a.lorite.mora@gmail.com> Co-authored-by: Copilot <copilot@github.com> | 5 months ago | |
chore: prepared v1.15.0 (#1544) * feat: store scheduling data in plugin data instead of inline in notes (#1471) * feat: store scheduling data in plugin data instead of inline in notes (#162) Adds an optional 'Store in plugin data' mode (beta) that keeps all scheduling metadata in plugin data rather than writing <!--SR:...--> comments into note markdown. - Schedule state (note + card schedules) persisted in plugin data under `scheduleState`, with a one-time migration path for legacy `notePath::hash` card keys to content-hash-only keys that survive renames and external moves - `ScheduleDataRepository` handles CRUD for persisted schedules; `StoreInPluginData` implements `IDataStore` with inline-comment fallback for graceful migration when the mode is first enabled - `DataStoreInPluginDataAlgorithmOsr` returns an empty schedule comment so no SR annotations are written back to notes in this mode - `OsrCore` routes note schedule reads/writes through the repository when the mode is active, with frontmatter fallback on first switch - `vault.on('rename')` listener keeps note schedule keys consistent after Obsidian-internal renames (card keys are content-hash-based and need no rename handling) - Settings UI dropdown to switch between NOTES and PLUGIN_DATA modes - Full unit test coverage for repository and store classes * feat: migrate scheduling data when switching storage modes When the user switches between 'Store in notes' and 'Store in plugin data' in settings, a confirmation modal now prompts before migrating all existing scheduling data to the new location. - NOTES → PLUGIN_DATA: reads sr-* frontmatter fields and <!--SR:...--> inline comments from all vault files, writes them to the plugin data repository, then strips the SR metadata from the files - PLUGIN_DATA → NOTES: reads all schedules from the repository and writes them back as inline comments and sr-* frontmatter, then clears the repository state - Settings dropdown reverts immediately on change and only applies after the user confirms; migration runs before the mode switch so each direction reads from the correct source - DataStoreMigrator is excluded from coverage (Obsidian-API-coupled, same as file.ts and delete-scheduling-data.ts) - ScheduleDataRepository.clearState() added for post-migration cleanup * feat: UUID-based note identification, data settings page, and test coverage - Add sr-id UUID to note frontmatter so note schedules survive any rename or move, inside or outside Obsidian (crypto.randomUUID written once on first schedule write; existing path-keyed entries lazily migrated on read) - Update ISRFile with getNoteId / getOrCreateNoteId; implement in SrTFile and UnitTestSRFile - Update core.ts and DataStoreMigrator to use UUID as the note schedule key - Add "Data" settings page (data-page.tsx) with data storage dropdown and delete-scheduling-data buttons; move them out of scheduling-page.tsx - Add PLUGIN_DATA_STORE_INFO locale key explaining UUID and hash semantics - Add tests: DataStoreInPluginDataAlgorithmOsr (was 0% coverage), UUID-keyed note schedule behaviour in ScheduleDataRepository * PR fixes: store the scheduling data in a 2 different md files with json format inside * Add missing tests for coverage * Fix small bug * Add the final test for 100% test coverage!!!! * FEAT: Refactored data related stuff from main into a data manager * FEAT: Refactored data related stuff from main into a data manager (2nd try ;D ) * REFAC: Moved data store related files into data folder * REFAC: Moved more data related files into data folder * REFAC: Refactored osrAppCore into the dataManager & commented a bunch of code * REFAC: Established a data-structures folder in data * REFAC: Moved deck folder to the new data-structures folder * REFAC: Refactored & commented back end code * REFAC: Cleaned up data stores * REFAC: Removed tests * REFAC: Refactored file & fixed some typing issues * REFAC: Refactored deck to one day be able to support notes & fixed a lot of type issues Co-authored-by: Copilot <copilot@github.com> * REFAC: Moved scheduling related files to scheduling folder * FIX: Fixed wrong imports due to last refactoring * FIX: Fixed formatting issues * REFAC: Refactored tests so that they match the actual folder structure in src & fixed some config errors * REFAC: Renamed data stores folder to data store instances * REFAC: Moved data store related code to data store folder * REFAC: Refactored data store folders & Implemented a data store specific schedule deleter * WIP: Implemented folder data store * CHANGE: Fully removed not working implementation & packaged files for later use * FIX: Fixed some errors --------- Co-authored-by: Kyle Klus <kyle.klus.2@gmail.com> Co-authored-by: Copilot <copilot@github.com> * feat: Implemented a callou to hide away the sr comment (#1539) * FIX: Removed unnecessary awaits * FEAT: Implemented schedule comments in callouts * FEAT: Implemented that the sr callout hides away * FIX: Formatted * WIP: Implemented a migration tool * FEAT: Fully implemented metadata callouts * FIX: Formatted & fixed errors * FIX: FIxed some errors * FIX: Added some more tests * fix: bug hunt (#1542) * FIX: Fixed a whole boatload of type errors * FIX: Fixed another boat load of bugs * FIX: Fixed that data was loaded in the load function * feat: jump hotkey (#1543) FEAT: Implemented a jump to card hotkey * chore: prepped v1.15.0 --------- Co-authored-by: Alejandro Lorite Mora <a.lorite.mora@gmail.com> Co-authored-by: Copilot <copilot@github.com> | 5 months ago |
Obsidian Spaced Repetition Plugin

Fight the forgetting curve by reviewing flashcards & notes using the FSRS or the SM-2 spaced repetition algorithms.
- For more information on how to use the plugin, check either the TL;DR on this page or the documentation.
- Raise an issue if you have a feature request or a bug report.
- Visit the discussions section for Q&A help, feedback, and general discussion.
- The plugin has been translated into Arabic, Chinese, Czech, Dutch, French, German, Italian, Korean, Japanese, Polish, Portuguese, Spanish, Russian, Turkish, and Ukrainian by the Obsidian community 😄.
- To help translate this plugin to your language, check the translation guide here.
Features⚡
Reviewing Flashcards🗃️
- Getting started (Using Obsidian's hierarchical tags or folder structure)
- Creating Flashcards
- Single-line style (
Question::Answer) - Single-line reversed style (
Question:::Answer) - Multi-line style (Separated by
?) - Multi-line reversed style (Separated by
??) - Cloze cards (
==highlight==your cloze deletions!,**bolded text**,{{text in curly braces}}, or use custom cloze patterns) - Rich text support in flashcards (inherited from Obsidian)
- Images, Audio, & Video
- LaTeX
- Code syntax highlighting
- Footnotes
- Single-line style (
- Organize Decks (Using Obsidian's hierarchical tags or folder structure)
- Card context - automatic titles based on headings (i.e.
Note title > Heading 1 > Subheading)
Reviewing Notes📄
Statistics📈
Usage TL;DR🚀
Creating Decks
- Add the tag
#flashcardsin a note, where you want to write your cards - If you want to have your cards in a specific sub deck, then add your sub deck name to the tag like so:
#flashcards/YOUR_SUB_DECK_NAME - Write your card in the note which where you've added your tag
Creating Cards
1. Decide what card type you need:
- Single line -> Card format:
Question::Answer - Single line reversable -> Card format:
Question:::Answer - Multi line -> Card format:
Question ? Answer - Multi line reversable -> Card format:
Question ?? Answer
2. Write your card (In one of those formats) in a note that you have tagged as a deck
Reviewing Cards
1.1. Open the list of all decks with either of two commands(ctrl+p):
- Review Flashcards from all notes -> Here the algorithm decides based on your past reviews, which cards are due to review
- Select a deck to cram -> All decks and all cards are reviewable and the algorithm is fully ignored
1.2. Or open the list of all decks within your currently opened note(ctrl+p):
- Review flashcards in this note -> Here the algorithm decides based on your past reviews, which cards from this note are due to review
- Cram flashcards in this note -> All decks and all cards from this note are reviewable and the algorithm is fully ignored

2. Select a deck via the list and click on the deck name
3. Rate your ability to remember the answer to the current question
- This tells the algorithm what you know well and what you don't

Creating & reviewing whole notes
Sometimes it makes more sense to recall a whole note, when it isn't just pure facts which you have to learn. This is where marking a note for review comes in handy.
- Just like with decks add the tag
#reviewto your note to mark them as reviewable - To see which notes are due for review open the note review queue via the command(ctrl+p): Open Notes Review Queue in sidebar
- There you can open up the notes for review, just as if you would open them up in your file explorer, only that they are sorted her by when they are due for review
- Once you have recalled/reviewed your note you can rate your recall ability by executing the command(ctrl+p, or just via the 3 dots next to the note): Review note as YOUR_RATING - The algorithm will take your rating into account to calculate a new due date, when you have to review it again
Links & Resources🔗
Support Development💻
| Stephen Mwangi (Owner) | Kyle Klus (Maintainer) |
|---|---|
|
|
|
Introduction
Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian
MIT TypeScript862Commitsflashcardsobsidianobsidian-mdobsidian-pluginspaced-repetitionspaced-repetition-systemsrs
Customize your domain