-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Skip position during review #104
Comments
I just found Variant 2.2 would be nice, the review queue needs some rework anyway so failed cards with a non-zero interval get a chance to be reviewed if the interval is over once the other cards have been reviewed. 3 sounds more complicated and could be part of an extension of the review-context system |
That's exactly what I'd imagined! I hadn't found it in the code when I submitted the feature request. Thanks for adding it in the first place 😄!
Agreed --- I ended up implementing that along with the class refactors I made a while back. I've been running this daily for a few months now but never got around to refactoring and creating a new pull request against this repo. In short, I extended the review code to filter positions against a user-defined set of filter functions. I added the following to address my concern in the original comment: (cl-defmethod cashpw/org-fc--filter-limit-implement ((positions list))
"Return nil to remove the POSITIONS (`org-fc-position's) from the review list."
(let ((implement-position-limit 1)
(implement-position-count 0))
(--filter
(let ((tags (oref (oref it card) tags)))
(if (member "implement" tags)
(if (= implement-position-count implement-position-limit)
nil
(cl-incf implement-position-count)
t)
t))
positions))) Note this function won't plug-and-play with the current version of |
Problem
have several positions which are some variation on "Implement X algorithm in python". I'd prefer to only implement one algorithm per review session.
Potential solutions
org-fc-bury-siblings
to enable limiting the number of positions shown from cards with a user-chosen tag per review. That is, to reference my use-case: only show one position from cards tagged with:algorithm:
The text was updated successfully, but these errors were encountered: