(cat: SettingsCategory)
| 89 | // ── Sidebar ── |
| 90 | |
| 91 | function getFeatureStatusCounts(cat: SettingsCategory): { ready: number; total: number } { |
| 92 | let ready = 0; |
| 93 | for (const fid of cat.features) { |
| 94 | if (isFeatureAvailable(fid)) ready++; |
| 95 | } |
| 96 | return { ready, total: cat.features.length }; |
| 97 | } |
| 98 | |
| 99 | function getTotalProgress(): { ready: number; total: number } { |
| 100 | let ready = 0; |
no test coverage detected