Commit f0fc9ac
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](juliangruber/brace-expansion@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](facelessuser/pymdown-extensions@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>1 parent 799582d commit f0fc9ac
14 files changed
Lines changed: 1507 additions & 787 deletions
File tree
- src
- data
- lang
- locale
- ui
- obsidian-ui-components
- content-container/settings-page
- item-views
- tests/unit/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | | - | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | | - | |
49 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
107 | 125 | | |
108 | 126 | | |
109 | 127 | | |
| |||
214 | 232 | | |
215 | 233 | | |
216 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
217 | 285 | | |
218 | 286 | | |
219 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
128 | 146 | | |
129 | 147 | | |
130 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
155 | 180 | | |
156 | 181 | | |
157 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
118 | 137 | | |
119 | 138 | | |
120 | 139 | | |
| |||
0 commit comments