This plugin displays progress information for task lists and automatically updates parent task checkboxes when all of their subtasks change state.
Pages can be excluded from calculations by tagging them with a custom ignore tag configured in the plugin settings.
Other plugins can obtain a note's completion percentage by calling the
getPageProgress method exposed by this plugin. First retrieve the plugin by its
ID (obsidian-progress-tracker) and then pass a vault-relative path or TFile
instance:
const tracker = this.app.plugins.getPlugin('obsidian-progress-tracker');
if (tracker) {
const percent = tracker.getPageProgress('path/to/file.md');
console.log(`Progress: ${percent}%`);
}Before running the test suite for the first time, install all dependencies so that Jest and the TypeScript type definitions are available:
npm installAfter the dependencies are installed, execute the tests with:
npm testThis project is licensed under the MIT License.