MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / buildSharedIndicator

Function buildSharedIndicator

chat/components/MessageTemplates.js:1808–1822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1806 data-council-tab-label="${escapeHtmlAttribute(entry.label)}"
1807 aria-selected="${isActive ? 'true' : 'false'}"
1808 >
1809 <span class="council-tab-label">${escapeHtml(entry.label)}</span>
1810 <span class="council-tab-model">${escapeHtml(shortName || entry.model || '')}</span>
1811 <span class="council-tab-state">${escapeHtml(stateLabel)}${canonicalLabel === entry.label ? ' · Context' : ''}</span>
1812 </button>
1813 `;
1814 }).join('')}
1815 </div>
1816 `
1817 : '';
1818
1819 const stage1Panels = stage1Entries.map((entry) => {
1820 const isActive = useSideBySide || entry.label === activeLabel;
1821 return `
1822 <div
1823 class="council-response-panel${isActive ? '' : ' hidden'}"
1824 data-council-panel-label="${escapeHtmlAttribute(entry.label)}"
1825 data-council-lane-id="${escapeHtmlAttribute(entry.laneId || '')}"

Callers 1

renderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected