Skip to content
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

PR: Better Filtering (Base 2) #76

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

ImperialSquid
Copy link

This PR build off from #74 - Better Filtering (Base 1)

The PR moves around some of the filtering logic, so now it gets the notebooks to be filtered in one step before getting the notes, then passes in an array of Notebooks, rather than passing in the raw names array and other filtering options.

This way, constructing the notebook filter and using it are no longer mixed together in the same functions. It also now gets all notebooks once at the start (unlike the multiple times which might occur when getting linked notes), which is a minor optimisation.

(This should hopefully be the last PR before I start implementing new features like filtering by notebook ID, tags, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants