diff options
| author | Claudomator Agent <agent@claudomator> | 2026-03-15 01:35:13 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator> | 2026-03-15 01:35:13 +0000 |
| commit | 62068d8335af3b12206a4a867f38c6bf6a0f2325 (patch) | |
| tree | 69dbd5023e7413f94522021917daa913e0704cc8 /internal/task/task_test.go | |
| parent | 4029fdd82bdd657ed862c89f20eb03ff2594cde9 (diff) | |
feat: add task count badges to interrupted, ready, and running tabs
- Add computeTabBadgeCounts(tasks) exported pure function
- Add updateTabBadges(tasks) that updates badge spans in tab buttons
- Call updateTabBadges on every poll regardless of active tab
- Add .tab-count-badge spans to interrupted/ready/running tab buttons in HTML
- Add CSS for .tab-count-badge pill styling (hidden when count is zero)
- Add 11 tests in web/test/tab-badges.test.mjs covering all states
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/task/task_test.go')
0 files changed, 0 insertions, 0 deletions
