summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-08-11 23:04:40 +0300
committerThanos Apollo <[email protected]>2024-08-11 23:04:40 +0300
commit66007456f5fdb2f95a0bb91bd15ed5b6f7a45ea9 (patch)
treea84a2287dfd079ea850a86c10efea4ddc7ff9fe4
parentf90f72b2bdf5713190711bbb921b58f1314e7e6c (diff)
review: Add review for overdue & due without overdue.
* Add review option for only due notes, without overdue notes. * Add review option for only overdue nots, without due notes for current date.
-rw-r--r--gnosis.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 8ebb158..9cca610 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1849,12 +1849,17 @@ NOTE-COUNT: Total notes to be commited for session."
(let ((review-type (gnosis-completing-read "Review: " '("Due notes"
"Due notes of deck"
"Due notes of specified tag(s)"
+ "Overdue notes"
+ "Due notes (Without Overdue)"
+ "All notes of deck"
"All notes of tag(s)"))))
(pcase review-type
("Due notes" (gnosis-review-session (gnosis-collect-note-ids :due t) t))
("Due notes of deck" (gnosis-review-session
(gnosis-collect-note-ids :due t :deck (gnosis--get-deck-id))))
("Due notes of specified tag(s)" (gnosis-review-session (gnosis-collect-note-ids :due t :tags t)))
+ ("Overdue notes" (gnosis-review-session (gnosis-review-get-overdue-notes)))
+ ("Due notes (Without Overdue)" (gnosis-review-session (gnosis-review-get-due-notes--no-overdue)))
("All notes of deck" (gnosis-review-session (gnosis-collect-note-ids :deck (gnosis--get-deck-id))))
("All notes of tag(s)" (gnosis-review-session (gnosis-collect-note-ids :tags t))))))