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

mroderick / codebar-planner / 23072869847
96%
master: 95%

Build:
Build:
LAST BUILD BRANCH: feature/chapters-sidebar-v3
DEFAULT BRANCH: master
Ran 13 Mar 2026 10:28PM UTC
Jobs 1
Files 176
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

13 Mar 2026 10:20PM UTC coverage: 95.678%. First build
23072869847

push

github

mroderick
feat(views): replace chapters sidebar with ViewComponent

Replace the inline HAML chapters sidebar on the homepage with a reusable
ViewComponent that includes Rails fragment caching.

Changes:
- Add view_component gem to Gemfile
- Create ChaptersSidebarComponent with ERB template
- Component accepts chapters collection and optional title
- Add fragment caching with static cache key
- Add cache expiration callbacks to Chapter model (create/update/destroy)
- Add component spec with ViewComponent test helpers
- Add view spec for dashboard integration
- Add cache expiration specs to chapter model spec
- Fix Rails 7.1 deprecation (fixture_path -> fixture_paths)
- Simplify spec_helper configuration

The component uses a static cache key that is expired via model
callbacks when chapters are created, updated, or deleted. This
provides better performance while ensuring cache invalidation.

Testing:
- All 880 tests pass
- Component tested for rendering and cache behavior
- Cache expiration verified for create/update/destroy operations

12 of 12 new or added lines in 2 files covered. (100.0%)

3343 of 3494 relevant lines covered (95.68%)

46.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23072869847.1 13 Mar 2026 10:28PM UTC 1056
70.83
GitHub Action Run
Source Files on build 23072869847
  • Tree
  • List 176
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23072869847
  • 299fd8fe on github
  • 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