MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / eventLaneContent

Function eventLaneContent

packages/server-e2e/src/report.ts:507–513  ·  view source on GitHub ↗
(event: StoredReportEvent, lane: 'left' | 'right')

Source from the content-addressed store, hash-verified

505}
506
507function eventLaneContent(event: StoredReportEvent, lane: 'left' | 'right'): string {
508 const content = lane === 'left' ? leftLaneSummary(event) : rightLaneSummary(event);
509 if (!content) return '';
510 return `<button class="event-card ${escapeHtml(event.kind)}" type="button">
511 <span class="event-title">${escapeHtml(content.title)}</span>
512</button>`;
513}
514
515function lifecycleLaneContent(event: StoredReportEvent): string {
516 if (event.kind !== 'ws' || event.direction !== 'lifecycle') return '';

Callers 1

renderEventFunction · 0.85

Calls 3

leftLaneSummaryFunction · 0.85
rightLaneSummaryFunction · 0.85
escapeHtmlFunction · 0.70

Tested by

no test coverage detected