Skip to content

Commit

Permalink
fix: ignore **/*.excalidraw.md files by default
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nmw committed Sep 24, 2024
1 parent af42140 commit 2baebaf
Show file tree
Hide file tree
Showing 21 changed files with 96 additions and 52 deletions.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,24 @@ Fight the forgetting curve & note aging by reviewing flashcards & notes using sp
- Possible use case: [Incremental writing](https://www.stephenmwangi.com/obsidian-spaced-repetition/notes/#incremental-writing)
- [Statistics](https://www.stephenmwangi.com/obsidian-spaced-repetition/flashcards/#statistics)

## Coming Soon

1. FSRS

- [ ] Store scheduling info in a dedicated file
- [ ] Migrate from one storage system to another
- [ ] Implement FSRS
- [ ] Update documentation

2. Better Cloze formats

- [ ] Custom cloze markers
- [ ] Cloze hints
- [ ] Anki-like clozes
- [ ] Update documentation

## Usage

Check the [docs](https://www.stephenmwangi.com/obsidian-spaced-repetition/) for more details.
Check the [documentation](https://www.stephenmwangi.com/obsidian-spaced-repetition/) for more details.

<a href='https://ko-fi.com/M4M44DEN6' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
2 changes: 1 addition & 1 deletion docs/docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Fight the forgetting curve by reviewing flashcards & notes using spaced repetiti
!!! tip "Help & Support"

:material-circle-medium: Visit the [discussions](https://github.com/st3v3nmw/obsidian-spaced-repetition/discussions/) section for Q&A help, feedback, and general discussion.<br/>
:material-circle-medium: Raise an issue [here](https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/) if you have a feature request or a bug-report.
:material-circle-medium: Raise an issue [here](https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/) if you have a feature request or a bug report.

!!! tip "Contributing"

Expand Down
12 changes: 6 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ export default tseslint.config(
],
},
},
{
files: ["tests/**"],
rules: {
"@typescript-eslint/no-require-imports": "off",
},
},
{
files: ["src/**"],
rules: {
Expand All @@ -58,4 +52,10 @@ export default tseslint.config(
],
},
},
{
files: ["tests/**"],
rules: {
"@typescript-eslint/no-require-imports": "off",
},
},
);
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"chart.js": "^4.4.4",
"minimatch": "^10.0.1",
"pagerank.js": "^1.0.2",
"peggy": "^4.0.3"
"peggy": "^4.0.3",
"short-uuid": "^5.2.0"
},
"packageManager": "^[email protected]"
}
20 changes: 20 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/lang/locale/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "مجلدات لتجاهلها",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "البطاقات",
FLASHCARD_EASY_LABEL: "نص الزر سهل",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/cz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "Ignorované složky",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Kartičky",
FLASHCARD_EASY_LABEL: "Easy Button Text",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "Ausgeschlossene Ordner",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Lernkarten",
FLASHCARD_EASY_LABEL: "Einfach Knopf Text",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "Folders to ignore",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Flashcards",
FLASHCARD_EASY_LABEL: "Easy Button Text",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "Directorios a ignorar",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Tarjetas de Memorización",
FLASHCARD_EASY_LABEL: "Texto del botón: Fácil",
Expand Down
2 changes: 1 addition & 1 deletion src/lang/locale/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default {
'Créez un ticket <a href="${issues_url}">sur GitHub</a> si vous trouvez un bug ou voulez demander une fonctionnalité',
FOLDERS_TO_IGNORE: "Dossiers à ignorer",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Flashcards",
FLASHCARD_EASY_LABEL: "Bouton Facile",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "Cartelle da ignorare",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Schede",
FLASHCARD_EASY_LABEL: "Testo del bottone facile",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "無視するフォルダ",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "フラッシュカード",
FLASHCARD_EASY_LABEL: "Easy Button Text",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "무시할 폴더들",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "플래시카드",
FLASHCARD_EASY_LABEL: "Easy Button Text",
Expand Down
6 changes: 3 additions & 3 deletions src/lang/locale/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export default {
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussions_url}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report.',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'Project source code available on <a href="${github_project_url}">GitHub</a>',
CODE_CONTRIBUTION_INFO:
'Information on <a href="${code_contribution_url}">code contributions</a>',
TRANSLATION_CONTRIBUTION_INFO:
'Information on <a href="${translation_contribution_url}">translating the plugin</a> to your language',
PROJECT_CONTRIBUTIONS:
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug-report',
'Raise an issue <a href="${issues_url}">here</a> if you have a feature request or a bug report',
FOLDERS_TO_IGNORE: "Foldery do zignorowania",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates Meta/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Fiszki",
FLASHCARD_EASY_LABEL: "Tekst przycisku Łatwe",
Expand Down
Loading

0 comments on commit 2baebaf

Please sign in to comment.