summaryrefslogtreecommitdiff
path: root/web/test/tab-badges.test.mjs
AgeCommit message (Collapse)Author
14 daysfeat: add task count badges to interrupted, ready, and running tabsClaudomator Agent
- 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>