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

mroderick / codebar-planner
96%
master: 95%

Build:
Build:
LAST BUILD BRANCH: feature/chapters-sidebar-v3
DEFAULT BRANCH: master
Repo Added 11 Jul 2025 08:20PM UTC
Token vPb66DExHmn8kKCIdxCr3cvXvGCjXCICV regen
Build 102 Last
Files 176
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

LAST BUILD ON BRANCH feature/chapters-sidebar-viewcomponent
branch: feature/chapters-sidebar-viewcomponent
CHANGE BRANCH
x
Reset
Sync Branches
  • feature/chapters-sidebar-viewcomponent
  • add-docs
  • add-editor-config
  • add-scout-apm
  • add-sitemap-generator
  • add-tests-for-2515
  • attempt-to-fix-issue-template
  • bundle-ignore-junk
  • docs/improve-workflow-documentation
  • feature/chapters-sidebar-v3
  • feature/events-upcoming-past
  • feature/homepage-events-limit
  • feature/seeds-performance-data
  • fix-broken-chosen
  • fix-duplicate-waiting-list-entries
  • fix-error-656-undefined-method-event-for-nil
  • fix-member-details-validation-order
  • fix-missing-authentication-error-translation
  • fix/cookie-serializer-migration
  • fix/dashboard-eager-loading
  • fix/event-description-xss-vulnerability
  • fix/events-controller-fixes
  • fix/events-sponsors-eager-loading
  • fix/find-by-nil-errors
  • fix/flaky-listable-tests
  • fix/homepage-n-plus-one-eager-loading
  • fix/homepage-performance
  • fix/member-attending-cache
  • fix/render-not-found-json-error
  • freeze-postgres-version
  • imagemagick-check
  • improve-intro-text
  • improve-language
  • improve-og-tags
  • improve-repository-configs
  • increase-delayed-job-max-runtime
  • issue-2367-workshop-feedback
  • issue-2445
  • link-to-chapters-from-pills
  • lock-gem-platforms
  • make-event-rendering-faster
  • no-og-tags-on-admin
  • optimise-images
  • params-expect
  • policy-tests
  • pr/fix-find-by-nil-errors
  • remove-2024-impact-report-banner
  • remove-bootsnap
  • remove-go-squared
  • remove-google-analytics
  • remove-meta-partial
  • remove-puma-cluster-mode-config
  • remove-skylight
  • remove-twitter
  • remove-unused-i18n-features
  • remove-unused-new-relic
  • replace-claude-md-with-agents-md
  • speedup-ci-tests
  • stop-pinning-image-processing
  • stop-using-update-attribute
  • update-year-for-impact-report
  • upgrade-ruby
  • use-playwright
  • use-rails-7-1-defaults
  • workshop-invitation-controller

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

Relevant lines Covered
Build:
Build:
3494 RELEVANT LINES 3343 COVERED LINES
46.33 HITS PER LINE
Source Files on feature/chapters-sidebar-viewcomponent
  • Tree
  • List 176
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23072869847 feature/chapters-sidebar-viewcomponent 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 ChaptersS... push 13 Mar 2026 10:28PM UTC mroderick github
95.68
See All Builds (100)

Badge your Repo: codebar-planner

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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