FlowTick
pendingby mmaoteacher
Auto-updating progress bar based on checkbox ratio using flowtick code blocks.
FlowTick for Obsidian
FlowTick is an Obsidian plugin that automatically generates and updates a progress bar based on the completion of checklist items in your notes.
It's perfect for tracking progress on long task lists, project milestones, or any document with checklists. The progress bar gives you a quick visual indicator of how much you've completed.
Features
- Auto-updating Progress Bar: The progress bar automatically refreshes at a configurable interval, so it always stays up-to-date with your checklist.
- Nested Checklist Support: FlowTick correctly calculates progress for nested checklists. A parent task's completion is the average of its direct sub-tasks' completion.
- Multiple Progress Bars: You can have multiple
flowtickblocks in a single note, each tracking the progress of the checklist items that follow it. - Dynamic Coloring: The progress bar changes color to reflect the current completion status:
- Red: Below 21%
- Green: Between 21% and 99%
- Blue: 100% complete!
- Lightweight and Simple: Just add a small code block and it works. No complex setup required.
How to Use
- Create a
flowtickcode block by typing```flowtick ```in your note. - Add checklist items (
- [ ]or- [x]) below the code block. - The progress bar will appear and track the completion of all checklist items between the
flowtickblock and the nextflowtickblock (or the end of the file).
Example
Here is a simple example:
```flowtick
```
- [x] Task 1
- [ ] Task 2
- [x] Sub-task 2.1
- [x] Sub-task 2.2
- [ ] Sub-task 2.3
- [ ] Task 3
In this example:
Task 1is 100% complete.Task 2is the average of its sub-tasks, so it is (100 + 100 + 0) / 3 = 66.7% complete.Task 3is 0% complete.- The overall progress is the average of the top-level tasks: (100 + 66.7 + 0) / 3 = 55.6%.
Settings
You can configure the behavior of FlowTick in the plugin settings tab.
- Tick Update Interval (ms): How often FlowTick progress bars re-render. The default is
1000(1 second). - Color Mode: Choose the color scheme for the progress bar. Currently supports a default mode (Red < 21%, Green < 100%, Blue 100%).
- Debug Mode: Enable or disable debug logging to the console. Useful for troubleshooting.
How to Install
From Community Plugins (Recommended)
- Open Settings in Obsidian.
- Go to Community plugins.
- Make sure "Safe mode" is off.
- Click Browse to open the community plugins list.
- Search for "FlowTick".
- Click Install, and then Enable.
Manual Installation
- Download the
main.js,manifest.json, andstyles.cssfiles from the latest release. - Go to your Obsidian vault's plugin folder:
VaultFolder/.obsidian/plugins/. - Create a new folder named
flow-tick. - Copy the downloaded files into the new
flow-tickfolder. - Reload Obsidian.
- Go to Settings -> Community plugins, find "FlowTick", and enable it.
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Support
If you find this plugin useful, please consider supporting its development:
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.