← Back to Kontasks
Fix Timeline Bugs - Both Issues Resolved
Fixed account switch system events and duplicate kontask timeline entries
Output
✅ Timeline Bugs Fixed
Bug 1: Account Switch System Event
File: konui/src/router.ts
Fix: Added persisted system event creation when account switches
// Now creates persisted event: const event = await gvSystemEventStore.createSystemEvent({ type: "account_switch", service: "konsole", message: `Account switched from X to Y by user` }); // And broadcasts for real-time timeline: adminBroadcast.broadcast({ type: "system_event", ... });
Bug 2: Duplicate Timeline Entries
File: konui/src/views/layout.ts
Fix: Added skipTimelineMarker option to showAdminNotification()
Applied to:
- handleKontaskCreatedEvent
- handleFlowCreatedEvent
- handleFlowUpdatedEvent
- handleFlowLinkedEvent
- handleFlowMergedEvent
Kontasks/flows now only appear once - as their proper cards, not as system markers.
Commit
c68e3b9b Turn: Fix timeline bugs - account switch events + duplicate entries
⚠️ Restart konui to apply changes (or wait for next session)
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
greatvibe
Tags
timelinebugfixui
Created
11 Jan 2026, 11:21 pm
Updated
11 Jan 2026, 11:21 pm
Timing
⏱️ 116.1s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_f1a97fe1...
🔗 Git Commit
c68e3b9b
Raw Data
{
"id": "72e37167-54ab-4295-9d4c-757f12ecab46",
"type": "general",
"status": "completed",
"title": "Fix Timeline Bugs - Both Issues Resolved",
"description": "Fixed account switch system events and duplicate kontask timeline entries",
"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;\">✅ Timeline Bugs Fixed</h2><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;border-left:3px solid #22c55e;\"><h3 style=\"color:#22c55e;margin:0 0 12px 0;font-size:14px;\">Bug 1: Account Switch System Event</h3><p style=\"margin:0 0 8px 0;color:#e0e0e0;\"><strong>File:</strong> <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">konui/src/router.ts</code></p><p style=\"margin:0 0 8px 0;color:#e0e0e0;\"><strong>Fix:</strong> Added persisted system event creation when account switches</p><pre style=\"background:#1a1a1a;padding:12px;border-radius:4px;overflow-x:auto;margin:8px 0;font-size:12px;\"><span style=\"color:#7f848e;\">// Now creates persisted event:</span>\n<span style=\"color:#c678dd;\">const</span> event = <span style=\"color:#c678dd;\">await</span> gvSystemEventStore.<span style=\"color:#61afef;\">createSystemEvent</span>({\n <span style=\"color:#e5c07b;\">type</span>: <span style=\"color:#98c379;\">\"account_switch\"</span>,\n <span style=\"color:#e5c07b;\">service</span>: <span style=\"color:#98c379;\">\"konsole\"</span>,\n <span style=\"color:#e5c07b;\">message</span>: <span style=\"color:#98c379;\">`Account switched from X to Y by user`</span>\n});\n\n<span style=\"color:#7f848e;\">// And broadcasts for real-time timeline:</span>\nadminBroadcast.<span style=\"color:#61afef;\">broadcast</span>({ <span style=\"color:#e5c07b;\">type</span>: <span style=\"color:#98c379;\">\"system_event\"</span>, ... });</pre></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;border-left:3px solid #22c55e;\"><h3 style=\"color:#22c55e;margin:0 0 12px 0;font-size:14px;\">Bug 2: Duplicate Timeline Entries</h3><p style=\"margin:0 0 8px 0;color:#e0e0e0;\"><strong>File:</strong> <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">konui/src/views/layout.ts</code></p><p style=\"margin:0 0 8px 0;color:#e0e0e0;\"><strong>Fix:</strong> Added <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">skipTimelineMarker</code> option to <code>showAdminNotification()</code></p><p style=\"margin:0 0 8px 0;color:#e0e0e0;\"><strong>Applied to:</strong></p><ul style=\"margin:4px 0;padding-left:20px;color:#7f848e;font-size:13px;\"><li>handleKontaskCreatedEvent</li><li>handleFlowCreatedEvent</li><li>handleFlowUpdatedEvent</li><li>handleFlowLinkedEvent</li><li>handleFlowMergedEvent</li></ul><p style=\"margin:8px 0 0 0;color:#e0e0e0;\">Kontasks/flows now only appear once - as their proper cards, not as system markers.</p></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#61afef;margin:0 0 12px 0;font-size:14px;\">Commit</h3><pre style=\"background:#1a1a1a;padding:12px;border-radius:4px;overflow-x:auto;margin:0;font-size:12px;color:#98c379;\">c68e3b9b Turn: Fix timeline bugs - account switch events + duplicate entries</pre></div><p style=\"color:#f59e0b;margin:0;font-size:13px;\">⚠️ Restart konui to apply changes (or wait for next session)</p></div>",
"requestedAt": "2026-01-11T11:03:00.000Z",
"requestId": "c824ae14-b384-4214-830b-f7f6640b9c1c",
"commitSha": "c68e3b9b",
"choices": [
{
"label": "Test changes",
"value": "After I restart konui, test the timeline by switching accounts and creating a kontask to verify the fixes",
"primary": true
},
{
"label": "View diff",
"value": "Show me the full diff of the changes made"
},
{
"label": "Continue",
"value": "The fixes look good, continue with other work"
}
],
"turnTiming": {
"totalMs": 116091,
"ttfeMs": 167,
"thinkingMs": 115924,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-11T13:21:41.732Z",
"updatedAt": "2026-01-11T13:21:46.355Z",
"requestId": "c824ae14-b384-4214-830b-f7f6640b9c1c",
"scope": "greatvibe",
"tags": [
"timeline",
"bugfix",
"ui"
],
"sessionId": "ses_f1a97fe1-589"
}