Commit 42e2dc0
fix: update TaskCard memoization to track dependency changes (#20)
The memo comparator previously only checked allTasks.length, which missed updates when blocking tasks were completed or renamed. This caused dependency badges to show stale information until an unrelated change forced a re-render.
Added dependency-aware comparison logic that:
- Identifies all tasks affecting this card's dependency badges
- Detects completion status changes in blocking/blocked tasks
- Detects title changes (for accurate tooltips)
- Maintains performance by only checking relevant tasks
Fixes dependency badges not updating in real-time when related tasks change.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent a9bec11 commit 42e2dc0
1 file changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
212 | 243 | | |
213 | 244 | | |
214 | 245 | | |
| |||
0 commit comments