MCPcopy Create free account
hub / github.com/Coneja-Chibi/CarrotKernel / closeVisualizerModal

Function closeVisualizerModal

index.js:8692–8708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8690 <i class="fa-solid fa-eye"></i> View Chunks
8691 </button>
8692 <button class="carrot-primary-btn carrot-copy-context-btn" data-collection="${collectionId}" style="padding: 6px 12px; font-size: 0.85em; white-space: nowrap;">
8693 <i class="fa-solid fa-right-left"></i> Move to...
8694 </button>
8695 <button class="menu_button carrot-delete-collection-btn" data-collection="${collectionId}" style="padding: 6px 12px; font-size: 0.85em; color: #ff6b6b; flex-shrink: 0;" title="Delete this collection">
8696 <i class="fa-solid fa-trash-can"></i>
8697 </button>
8698 </div>
8699 </div>
8700 <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; font-size: 0.9em; color: #cbd5e1;">
8701 <div><strong>Chunks:</strong> ${totalChunks}</div>
8702 <div class="collection-token-count" data-collection="${collectionId}"><strong>Total Size:</strong> <span class="token-value">${totalSize.toLocaleString()} tokens</span></div>
8703 <div class="collection-avg-token-count" data-collection="${collectionId}"><strong>Avg Size:</strong> <span class="token-value">${avgSize} tokens</span></div>
8704 <div><strong>Sections:</strong> ${sections.length}</div>
8705 </div>
8706 </div>
8707 `;
8708 });
8709
8710 $list.html(html).show();
8711

Callers 1

bindSettingsEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected