MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / hideStatus

Function hideStatus

src/components/lspStatusBar/index.js:271–284  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

269 * @param {string} id - The progress ID to hide
270 */
271export function hideStatus(id) {
272 if (activeProgress.has(id)) {
273 activeProgress.delete(id);
274
275 if (activeProgress.size === 0) {
276 // All progress complete - hide after a brief delay
277 hideTimeout = window.setTimeout(() => {
278 hideStatusBar();
279 }, 500);
280 } else {
281 updateStatusBarDisplay();
282 }
283 }
284}
285
286/**
287 * Hide the LSP status bar (legacy support - hides all)

Callers

nothing calls this directly

Calls 3

hideStatusBarFunction · 0.85
updateStatusBarDisplayFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected