• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kahwee / ch-header / 18893096653
86%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 12:23AM UTC
Jobs 1
Files 15
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Oct 2025 12:23AM UTC coverage: 66.667% (+12.4%) from 54.264%
18893096653

push

github

kahwee
Implement Component Pattern for UI elements: MatcherRow, HeaderRow, and List components

Add lightweight Component base class providing:
- Lifecycle management (mount, update, unmount)
- Event delegation with automatic listener cleanup
- Smart content updates preserving element references

Implement Phase 1 quick-win components:
- MatcherRowComponent: Encapsulates matcher row rendering and event handling
- HeaderRowComponent: Encapsulates header row rendering and event handling
- MatcherListComponent: Manages multiple matcher components with smart mounting
- HeaderListComponent: Manages multiple header components with smart mounting
- ProfileCardComponent: Example implementation showing the pattern

Add comprehensive test coverage:
- 183 total tests (100% passing)
- Component base class: 30 tests
- ProfileCard example: 38 tests
- MatcherRowComponent: 30 tests
- HeaderRowComponent: 37 tests
- MatcherListComponent: 25 tests
- HeaderListComponent: 23 tests

Benefits:
- Type-safe with zero `any` types
- Secure with automatic HTML escaping
- Efficient partial updates (no full re-renders)
- Testable isolated components
- Backward compatible with Storybook

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

155 of 274 branches covered (56.57%)

Branch coverage included in aggregate %.

150 of 152 new or added lines in 6 files covered. (98.68%)

323 of 443 relevant lines covered (72.91%)

40.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.98
src/ui/lib/component.ts
Jobs
ID Job ID Ran Files Coverage
1 18893096653.1 29 Oct 2025 12:23AM UTC 15
66.67
GitHub Action Run
Source Files on build 18893096653
  • Tree
  • List 15
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #18893096653
  • c734dde8 on github
  • Prev Build on main (#18869770965)
  • Next Build on main (#18893418185)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc