MCPcopy
hub / github.com/koala73/worldmonitor / getTotalProgress

Function getTotalProgress

src/settings-main.ts:99–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99function getTotalProgress(): { ready: number; total: number } {
100 let ready = 0;
101 for (const f of RUNTIME_FEATURES) {
102 if (isFeatureAvailable(f.id)) ready++;
103 }
104 return { ready, total: RUNTIME_FEATURES.length };
105}
106
107function renderSidebar(): void {
108 const nav = document.getElementById('sidebarNav');

Callers 2

renderSidebarFunction · 0.85
renderOverviewFunction · 0.85

Calls 1

isFeatureAvailableFunction · 0.90

Tested by

no test coverage detected