Commit graph

148 commits

Author SHA1 Message Date
Andre Perunicic
6963e074e2 Prepare release of version 1.7.1 2024-07-21 19:03:20 -04:00
Andre Perunicic
b6f03d2b8b field --> property; fix typo 2024-07-21 19:03:06 -04:00
Andre Perunicic
72b0da4b48 Prepare release of version 1.7.0 2024-07-21 15:52:25 -04:00
Andre Perunicic
28b662b6f2 Fix test to separately handle the skip button 2024-07-21 15:49:52 -04:00
Andre Perunicic
ec81de878c Switch from the deprecated markdown rendering API 2024-07-21 15:31:20 -04:00
Andre Perunicic
8a809fc984
Add a section about customizing styles (#35) 2024-07-21 14:54:55 -04:00
Andre Perunicic
e90345d5d8
Support repeat: never and revamp README (#34)
* Update obsidian and dataview dev deps

* Allow explicitly disabling repetition

* Simplify the readme and add more screenshots
2024-07-21 14:51:59 -04:00
Andre Perunicic
2d3712e57a Prepare release of version 1.6.1 2024-01-27 20:42:44 -05:00
Andre Perunicic
837dd5cd6c Don't reset the period interval when skipping spaced notes 2024-01-27 20:42:16 -05:00
Andre Perunicic
cd489aafeb Prepare release of version 1.6.0 2023-11-12 22:57:21 -05:00
Andre Perunicic
e9eb91bb30
Minor changes for the 1.6.0 release (#27)
* Check that file isn't null when calling modify API

* Update image embed extensions

* Switch to using the 1.1.0 setIcon API
2023-11-12 22:55:51 -05:00
Andre Perunicic
e55ea5918f
Allow setting the morning and evening review times in settings (#26)
* Add setting to store default morning/evening review times

* Use new repeat time settings in the repetition setup modal

* Update obsidian development dependency version

* Add 24-hour string parsing util

* Pass settings along to choices utils for review times

* Rephrase ignore folder setting text

* Fix comment wording

* Remove separately passed in ignoreFolderPath setting

* Add missing param docstring
2023-11-12 22:42:58 -05:00
Andre Perunicic
1dc8411161 Prepare release of version 1.5.4 2023-06-10 14:39:20 -04:00
Andre Perunicic
c0f62ef915 Better reflect Obsidian's embed element structure 2023-06-10 14:38:33 -04:00
Andre Perunicic
be0be45431 Remove line breaks from paragraphs 2023-06-03 23:56:41 -04:00
Andre Perunicic
ac56f54921 Prepare release of version 1.5.3 2023-06-03 23:41:06 -04:00
Andre Perunicic
fbe4855abd Allow using short repetition forms with spaced repetition 2023-06-03 23:40:17 -04:00
Andre Perunicic
a4fdf8acaf Prepare release of version 1.5.2 2023-05-31 21:59:57 -04:00
Andre Perunicic
4cdf8b081d
Streamline the README (#23) 2023-05-31 21:58:51 -04:00
Andre Perunicic
39dd90e980 Prepare release of version 1.5.1 2023-02-26 12:19:17 -05:00
Andre Perunicic
f15800510f Fix bug that prevented adding repeat metadata to note 2023-02-26 12:18:47 -05:00
Andre Perunicic
0ce75d1de6 Mention script for adding repeat field to notes in README 2023-02-25 21:54:36 -05:00
Andre Perunicic
b3ddfedeb3 Update wording in the README 2023-02-20 20:06:06 -05:00
Andre Perunicic
4cbc3b5bef Prepare release of version 1.5.0 2023-02-20 20:01:13 -05:00
Andre Perunicic
cddd512798
Add the hidden frontmatter field (#18)
* Support the hidden Repetition field

* Blur notes with hidden: true in the repeat view

* Allow empty repetition in getRepeatChoices

* Rename replaceOrInsertFields -> updateRepetitionMetadata

About to change the logic to be repetition-specific, so this will better reflect
the semantics.

* Parse the hidden field in every X commands

* Add a toggle for the hidden field to the repetition modal

* Serialize repetition fully and update metadata writing logic

* Parse hidden field as a boolean

* Refactor 'hidden' field parsing into utility function

* Remove unused imports

* Use constant for serialized hidden value
2023-02-20 20:00:53 -05:00
Andre Perunicic
86b8205547 Prepare release of version 1.4.0 2023-02-20 19:46:49 -05:00
Andre Perunicic
e8fe8a5d61
Debounce due note count and live updates (#17)
* Debounce due note count and live updates

It looks like #6 wasn't completely solved, but this seems to do it.
It takes <100ms to iterate through all DataView pages in getDueNotes
for a library with 4k+ notes and ~200 notes due.

* Only add status bar if setting for it is enabled

* Delay counting notes due on start

* Increase the debounce time to 5s
2023-02-20 16:36:15 -05:00
Andre Perunicic
afb46d0e84 Add the embed-title class to repeated note titles
This will make them bold on mobile again, fixes #15.
2023-02-12 00:15:35 -05:00
Andre Perunicic
cffe638fae Prepare release of version 1.3.3 2023-01-02 15:30:51 -05:00
Andre Perunicic
dadb3dedd6 Update the due at summary in the repeat modal 2023-01-02 15:28:08 -05:00
Andre Perunicic
f97db79b85 Rename fullySummarizeDueAt to summarizeDueAtWithPrefix 2023-01-02 15:28:08 -05:00
Andre Perunicic
0668e6b5ce Prepare release of version 1.3.2 2023-01-02 14:15:07 -05:00
Andre Perunicic
6a914c67c2
Explicitly ignore the previously reviewed note (#13)
This allows us to avoid the save-then-show-next promise, which could
result in a race condition.
2023-01-02 14:14:27 -05:00
Andre Perunicic
73b4b6d374 Prepare release of version 1.3.1 2023-01-02 12:51:46 -05:00
Andre Perunicic
f764358d4f
Write frontmatter w/ Obsidian API instead of CodeMirror API (#12) 2023-01-02 12:41:05 -05:00
Andre Perunicic
8d532097b6
Don't use previous repeat to compute first repeat (#11) 2023-01-02 11:36:57 -05:00
dependabot[bot]
4e221ee588
Bump json5 from 2.2.1 to 2.2.3 (#10)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 15:38:51 -05:00
Andre Perunicic
03859de939 Prepare release of version 1.3.0 2022-12-31 15:18:50 -05:00
Andre Perunicic
eb798c9a0b Update version in package.json and use spaces instead of tabs 2022-12-31 15:18:28 -05:00
Andre Perunicic
97926708f8
Only update files on metadata change after the index is loaded (#9)
The initial vault load can generate a metadata update event for each
note, which causes unnecessary updates and a large delay on large vaults.

Fixes #6
2022-12-31 14:34:06 -05:00
Andre Perunicic
e7c8f892eb
Only filter by ignoreFolderPath if it's actually set (#8)
Otherwise all notes are filtered out.
2022-12-31 14:32:05 -05:00
Andre Perunicic
ebf51da8d7
Add fix for duplicate status item and add ignore folder path setting (#7)
* Add settings for ignore folder path

* Separate conditions for filtering out notes

Also ignores notes in subdirs of ignoreFolderPath.

* Use single quotes in default value

* Update wording of new setting

* Only recreate the status bar text if necessary

* Reduce indentation

Co-authored-by: Ng Wei En <weien1292@gmail.com>
2022-12-29 21:49:36 -05:00
Andre Perunicic
246c42fb10 Rename resetContainers -> resetView 2022-11-12 22:21:49 -05:00
Andre Perunicic
de598418f5 Resolve before timeout only if action is relevant 2022-11-12 22:21:08 -05:00
Andre Perunicic
33cb866374 Bump version to 1.2.0 2022-11-12 21:01:00 -05:00
Andre Perunicic
6c41a504f2 Bump luxon to the latest version 2022-11-12 20:57:54 -05:00
Andre Perunicic
c825a40d70 Add a refresh button when reviews are done 2022-11-12 20:52:43 -05:00
Andre Perunicic
20862b09eb Keep repeat note in sync with due file edits 2022-11-12 20:13:13 -05:00
Andre Perunicic
f867e5995a Fix due note sorting 2022-11-12 19:51:43 -05:00
Andre Perunicic
6505fa94bc Mention evening repetition in the README 2022-11-02 23:59:11 -04:00