MCPcopy Create free account
hub / github.com/pbakaus/impeccable / toggleDesignPanel

Function toggleDesignPanel

skill/scripts/live-browser.js:10423–10431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10421 }
10422
10423 function toggleDesignPanel() {
10424 if (pendingApplyInFlight) { showManualApplyBusyToast(); return; }
10425 designState.open = !designState.open;
10426 renderDesignChrome();
10427 updateGlobalBarState();
10428 if (designState.open && designState.present === null && !designState.loading) {
10429 fetchDesignSystem();
10430 }
10431 }
10432
10433 async function fetchDesignSystem() {
10434 designState.loading = true;

Callers 1

initGlobalBarFunction · 0.70

Calls 4

showManualApplyBusyToastFunction · 0.70
renderDesignChromeFunction · 0.70
updateGlobalBarStateFunction · 0.70
fetchDesignSystemFunction · 0.70

Tested by

no test coverage detected