npm setup with parcel as bundler and jest as testing framework: allows to include future packages, unit-testing and splitting the code into modules
added build and test commands to npm config
refactoring
split main code sections into modules
split up / extracted / renamed tons of functions for easier reusability / readbility / testability
made the most logic heavy functions mostly pure / removed direct roamsr-object access to allow trivial and mock-free testability / one-way dataflow
clarified dataflow in some functions to improve understandability
added status-tracking / minimal "state-machine" to allow a more "reactive" style in the future and make keybindings based on status possible
changed keybindings to a map-based approach to make future additions trivial
isolated all roamsr.state-mutations into functions for a better overview of what could change the state / prepare for reactive-refactor
bug fixes
a card is now only detected as new if it has no review-blocks, not if it has no refs on past daily pages
edge cases of limit-filtering when we mix multi-deck cards with single-deck cards generally work now (in some cases the limit of the higher deck still wins), added extensive unit-test for the filter-method
Pull Request by @LuccaHellriegel
setup
refactoring
bug fixes
features