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

agama-project / agama / 24732188696

21 Apr 2026 03:51PM UTC coverage: 72.063% (-0.01%) from 72.073%
24732188696

push

github

dgdavid
refactor(web): derive out-of-scope pattern state from proposal

SoftwarePatternsSelection previously read the extended config to decide
which hidden patterns to preserve across scope switches. That required
casting patterns: PatternsArray | PatternsObject to PatternsObject,
which silently discards user choices when a profile supplies the array
form.

The proposal's SelectedBy already carries the same intent: USER means
the user explicitly added the pattern, REMOVED means they explicitly
removed it. Using it removes the cast, drops the useExtendedConfig
dependency, and simplifies resolvePatternAction by two parameters.

3754 of 6058 branches covered (61.97%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

13802 of 18304 relevant lines covered (75.4%)

81.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.73
/web/web/src/components/software/SoftwarePatternsSelection.tsx


Source Not Available

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