Commit graph

169 commits

Author SHA1 Message Date
Andre Perunicic
d6093a89c7 Improve test suite quality and coverage
- Fix duplicate testName 'repeated' -> 'insert' in frontmatter tests
- Add tests for removeField() function (previously untested)
- Fix flaky DateTime.now usage in choices tests with proper mocking
- Add error case tests for parser (empty string, invalid inputs, etc.)

Test count: 116 -> 127
2026-01-06 00:39:53 -05:00
Andre Perunicic
cd59050c3a Prepare release of version 2.0.0 2026-01-06 00:25:35 -05:00
Andre Perunicic
a71dc21494
Add mostly tag-based filtering to review interface (#46)
* Add tag-based filtering to review interface

Filter due notes using Dataview FROM expressions. Features:
- Collapsible filter drawer with tag shortcuts showing counts
- Custom query input supporting tags, folders, and complex expressions
- Save/load/delete named filter presets
- Filter state persists between sessions
- Shows filtered vs total count in header

* Limit tag display to 6 with expandable +N more button

- Show only 6 tags by default in filter shortcuts
- Add clickable '+N more' button that loads 6 more tags each click
- Style the button with dashed border and hover effect
- Reset displayed count when view refreshes
- Show filter name in count when using saved filters

* Document tag filtering feature in README

* Make status bar clickable and load faster

- Click status bar item to open Repeat view
- Show 'Repeat' text immediately, update count when Dataview ready
- Check if Dataview index already initialized to avoid waiting

* Update README with new screenshots and documentation

- Replace old screenshots with new webp images
- Simplify and reorganize documentation
- Add filtering feature documentation
2026-01-06 00:22:04 -05:00
Andre Perunicic
6a7687cf08 Prepare release of version 1.10.0 2025-06-22 21:48:56 -04:00
Andre Perunicic
84eb3cdc26 Implement repetition on specific weekdays 2025-06-22 21:48:28 -04:00
Andre Perunicic
b7450a3344 Prepare release of version 1.9.2 2025-06-22 01:15:00 -04:00
Andre Perunicic
d1e5f86b08 Fix: only show never on virtual repeating notes 2025-06-22 01:14:44 -04:00
Andre Perunicic
720b97af92 Prepare release of version 1.9.1 2025-06-22 01:04:28 -04:00
Andre Perunicic
1c4d77bf3e
Add flag to allow enqueueing non-repeating notes (#41)
* Add command to repeat: never

* Add a default repeat value to the settings

* Add comments to repeat types

* Remove unused utility

* Use the default repeat property when inferring values

* Use a one day default default period after all

* Update README to mention the new default interval setting

* Reword new repeat property setting

* Prepare release of version 1.8.0

* Add toggle to enqueue notes without repeat (for setup)

* Show the Never button if non-repeating notes are enqueued

* Fix merge conflict after adding the never repeat setting

* Prepare release of version 1.9.0
2025-06-22 00:54:44 -04:00
Andre Perunicic
a8bc2b0bfd Prepare release of version 1.8.0 2024-09-03 16:27:45 -04:00
Andre Perunicic
5e96381303 Reword new repeat property setting 2024-09-03 16:27:45 -04:00
Andre Perunicic
b1c8312929 Update README to mention the new default interval setting 2024-09-03 16:27:45 -04:00
Andre Perunicic
6147439b26 Use a one day default default period after all 2024-09-03 16:27:45 -04:00
Andre Perunicic
56d9862ff9 Use the default repeat property when inferring values 2024-09-03 16:27:45 -04:00
Andre Perunicic
01f653a730 Remove unused utility 2024-09-03 16:27:45 -04:00
Andre Perunicic
5f138d1bbe Add comments to repeat types 2024-09-03 16:27:45 -04:00
Andre Perunicic
16ccae3de0 Add a default repeat value to the settings 2024-09-03 16:27:45 -04:00
Andre Perunicic
c7650e7acf Add command to repeat: never 2024-09-03 16:27:45 -04:00
Andre Perunicic
3c45ca3c97 Prepare release of version 1.7.2 2024-07-28 22:45:53 -04:00
Andre Perunicic
c263b5b2c1 Mention that properties are carefully modified in the README 2024-07-28 22:45:42 -04:00
Andre Perunicic
a52e7e5bee Use in-body link attributes for the link to the embedded review note
Fixes #36
2024-07-28 22:43:23 -04:00
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