← Back to Kontasks
Fix Timeline Topic Badges
Timeline now uses server-side topic/domain edges instead of client-side re-classification
Output
✅ Fix Complete: Timeline Topic Badges
Changes Made
| router.ts:544-558 | /api/kontasks now augments each kontask with primaryTopic and primaryDomain from edge store |
| flow-timeline-pane.ts:2348-2364 | detectTopicOrDomain() checks server fields first, falls back to keywords for legacy kontasks |
How It Works Now
// API response (new fields) { "id": "20ed0a6f-...", "title": "Ready to Work", "primaryTopic": "topic_planning", // from gvEdges "primaryDomain": null // no domain edge } // Timeline now shows: 📅 Planning // instead of "📝 Default"
Tests
✅ All 372 konui tests pass
Commit
aba9d37d Turn: Fix timeline using server-side topic/domain edges
⚠️ Restart konui to apply the fix
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
greatvibe
Tags
kontasksuitimelinebugfix
Created
11 Jan 2026, 9:49 pm
Updated
11 Jan 2026, 9:49 pm
Timing
⏱️ 127.9s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_f1a97fe1...
Raw Data
{
"id": "03a9f964-a702-4f4f-9136-3af90725857c",
"type": "general",
"status": "completed",
"title": "Fix Timeline Topic Badges",
"description": "Timeline now uses server-side topic/domain edges instead of client-side re-classification",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\"><h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">✅ Fix Complete: Timeline Topic Badges</h2><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#22c55e;margin:0 0 12px 0;\">Changes Made</h3><table style=\"width:100%;border-collapse:collapse;font-size:0.9rem;\"><tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#61afef;\">router.ts:544-558</td><td style=\"padding:8px;\"><code>/api/kontasks</code> now augments each kontask with <code>primaryTopic</code> and <code>primaryDomain</code> from edge store</td></tr><tr><td style=\"padding:8px;color:#61afef;\">flow-timeline-pane.ts:2348-2364</td><td style=\"padding:8px;\"><code>detectTopicOrDomain()</code> checks server fields first, falls back to keywords for legacy kontasks</td></tr></table></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#e5c07b;margin:0 0 12px 0;\">How It Works Now</h3><pre style=\"background:#1e1e1e;padding:12px;border-radius:4px;color:#98c379;margin:0;\"><span style=\"color:#c678dd;\">// API response (new fields)</span>\n{\n \"id\": \"20ed0a6f-...\",\n \"title\": \"Ready to Work\",\n \"primaryTopic\": \"topic_planning\", <span style=\"color:#7f848e;\">// from gvEdges</span>\n \"primaryDomain\": null <span style=\"color:#7f848e;\">// no domain edge</span>\n}\n\n<span style=\"color:#c678dd;\">// Timeline now shows:</span>\n<span style=\"color:#f97316;\">📅 Planning</span> <span style=\"color:#7f848e;\">// instead of \"📝 Default\"</span></pre></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#98c379;margin:0 0 12px 0;\">Tests</h3><p style=\"margin:0;\"><span style=\"color:#22c55e;\">✅</span> All 372 konui tests pass</p></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\"><h3 style=\"color:#56b6c2;margin:0 0 12px 0;\">Commit</h3><pre style=\"background:#1e1e1e;padding:12px;border-radius:4px;color:#7f848e;margin:0;\">aba9d37d Turn: Fix timeline using server-side topic/domain edges</pre></div><p style=\"color:#ef4444;margin:16px 0 0 0;font-size:13px;font-weight:bold;\">⚠️ Restart konui to apply the fix</p></div>",
"requestedAt": "2026-01-11T11:50:00.000Z",
"requestId": "9f33e93f-9071-4488-8234-406dc93206d5",
"choices": [
{
"label": "Restart konui",
"value": "Please restart konui to apply the timeline badge fix",
"primary": true
},
{
"label": "View commit diff",
"value": "Show me the full diff for commit aba9d37d"
},
{
"label": "Test API response",
"value": "Call /api/kontasks and show me the new primaryTopic/primaryDomain fields"
}
],
"turnTiming": {
"totalMs": 127904,
"ttfeMs": 45,
"thinkingMs": 127859,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-11T11:49:23.556Z",
"updatedAt": "2026-01-11T11:49:47.190Z",
"requestId": "9f33e93f-9071-4488-8234-406dc93206d5",
"scope": "greatvibe",
"tags": [
"kontasks",
"ui",
"timeline",
"bugfix"
],
"sessionId": "ses_f1a97fe1-589"
}