diff --git a/docs/livestream.html b/docs/livestream.html index 5ba02d7..ddd26f0 100644 --- a/docs/livestream.html +++ b/docs/livestream.html @@ -193,7 +193,7 @@ /* Columns layout */ .columns-layout { display: none; - grid-template-columns: repeat(5, 1fr); + grid-template-columns: repeat(6, 1fr); gap: 16px; } @@ -240,6 +240,7 @@ .column.concept .column-header { color: var(--accent-purple); border-bottom-color: var(--accent-purple); } .column.memory .column-header { color: var(--accent-blue); border-bottom-color: var(--accent-blue); } .column.thought .column-header { color: var(--accent-tan); border-bottom-color: var(--accent-tan); } + .column.social-col .column-header { color: var(--accent-green); border-bottom-color: var(--accent-green); } .column-feed { display: flex; @@ -303,6 +304,15 @@ .record.concept { border-left: 4px solid var(--accent-purple); } .record.memory { border-left: 4px solid var(--accent-blue); } .record.thought { border-left: 4px solid var(--accent-tan); } + .record.post { border-left: 4px solid var(--accent-green); } + .record.like { border-left: 4px solid var(--accent-red); } + .record.repost { border-left: 4px solid var(--accent-green); opacity: 0.8; } + .record.follow { border-left: 4px solid var(--accent-purple); } + .record.annotation { border-left: 4px solid var(--accent-teal); } + .record.devlog { border-left: 4px solid var(--accent-gold); } + .record.observation { border-left: 4px solid var(--accent-tan); } + .record.hypothesis { border-left: 4px solid var(--accent-purple); } + .record.signal { border-left: 4px solid var(--accent-red); } .record .record-header { display: flex; @@ -329,6 +339,15 @@ .record.concept .type { color: var(--accent-purple); background: rgba(180, 142, 173, 0.12); } .record.memory .type { color: var(--accent-blue); background: rgba(82, 148, 226, 0.12); } .record.thought .type { color: var(--accent-tan); background: rgba(212, 165, 116, 0.12); } + .record.post .type { color: var(--accent-green); background: rgba(109, 202, 136, 0.12); } + .record.like .type { color: var(--accent-red); background: rgba(224, 96, 96, 0.12); } + .record.repost .type { color: var(--accent-green); background: rgba(109, 202, 136, 0.08); } + .record.follow .type { color: var(--accent-purple); background: rgba(180, 142, 173, 0.12); } + .record.annotation .type { color: var(--accent-teal); background: rgba(78, 201, 176, 0.12); } + .record.devlog .type { color: var(--accent-gold); background: rgba(240, 160, 64, 0.12); } + .record.observation .type { color: var(--accent-tan); background: rgba(212, 165, 116, 0.12); } + .record.hypothesis .type { color: var(--accent-purple); background: rgba(180, 142, 173, 0.12); } + .record.signal .type { color: var(--accent-red); background: rgba(224, 96, 96, 0.12); } .record .time { font-size: 0.75rem; @@ -540,6 +559,10 @@
${escapeHtml(short)}`;
+ } else if (type === 'repost') {
+ const subjectUri = record.subject?.uri || '';
+ const short = subjectUri.split('/').slice(-1)[0] || subjectUri;
+ content = `reposted ${escapeHtml(short)}`;
+ } else if (type === 'follow') {
+ const subject = record.subject || '';
+ content = `followed ${escapeHtml(subject)}`;
+ } else if (type === 'annotation') {
+ const body = record.body?.value || record.body || '';
+ const target = record.target?.source || '';
+ const quote = record.target?.selector?.find?.(s => s.exact)?.exact || '';
+ let ann = '';
+ if (target) ann += `${escapeHtml(quote)}`; + ann += marked.parse(typeof body === 'string' ? body : ''); + content = ann; + } else if (type === 'devlog') { + content = marked.parse(record.content || record.entry || ''); + } else if (type === 'observation') { + content = marked.parse(record.content || record.observation || ''); + } else if (type === 'hypothesis') { + const hyp = record.hypothesis || record.content || ''; + const conf = record.confidence ? ` (${record.confidence}%)` : ''; + content = `Hypothesis${conf}