← Back to Kontasks
Status bar elapsed timer format fix
Fixed the alternating time format bug in the status bar timer
Output
🔧 Status Bar Timer Fix
Root Cause Identified
Two competing timers were updating the same conn-elapsed-time element:
| Source | Interval | Format |
|---|---|---|
| Client heartbeat | 1 second | 2m 15s |
| WebSocket status | 1 second | 135s |
✓ Fix Applied
Removed the redundant updateElapsedTime() call from the WebSocket status handler. Now only the client-side heartbeat updates the timer, ensuring consistent Xm Ys format.
File changed:
Commit: f594ab83
konui/src/console-websocket-client.tsCommit: f594ab83
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
uiconsolebugfix
Created
8 Jan 2026, 4:13 pm
Updated
8 Jan 2026, 4:13 pm
Created By
claude
🔗 Git Commit
f594ab83
Raw Data
{
"id": "57447a9f-2ddf-46fb-a75d-12cf8f75f969",
"type": "general",
"status": "completed",
"title": "Status bar elapsed timer format fix",
"description": "Fixed the alternating time format bug in the status bar timer",
"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;\">🔧 Status Bar Timer Fix</h2><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h4 style=\"margin:0 0 12px 0;color:#f59e0b;\">Root Cause Identified</h4><p style=\"color:#e0e0e0;margin:0 0 12px 0;\">Two competing timers were updating the same <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">conn-elapsed-time</code> element:</p><table style=\"width:100%;border-collapse:collapse;font-size:0.9rem;\"><tr style=\"border-bottom:1px solid #4b5563;\"><th style=\"text-align:left;padding:8px;color:#9ca3af;\">Source</th><th style=\"text-align:left;padding:8px;color:#9ca3af;\">Interval</th><th style=\"text-align:left;padding:8px;color:#9ca3af;\">Format</th></tr><tr style=\"border-bottom:1px solid #4b5563;\"><td style=\"padding:8px;color:#22c55e;\">Client heartbeat</td><td style=\"padding:8px;\">1 second</td><td style=\"padding:8px;font-family:monospace;\"><span style=\"color:#98c379;\">2m 15s</span></td></tr><tr><td style=\"padding:8px;color:#ef4444;\">WebSocket status</td><td style=\"padding:8px;\">1 second</td><td style=\"padding:8px;font-family:monospace;\"><span style=\"color:#e5c07b;\">135s</span></td></tr></table></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h4 style=\"margin:0 0 12px 0;color:#22c55e;\">✓ Fix Applied</h4><p style=\"color:#e0e0e0;margin:0;\">Removed the redundant <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">updateElapsedTime()</code> call from the WebSocket status handler. Now only the client-side heartbeat updates the timer, ensuring consistent <span style=\"color:#98c379;\">Xm Ys</span> format.</p></div><div style=\"background:#1e3a5f;padding:12px;border-radius:6px;border-left:3px solid #3b82f6;\"><strong style=\"color:#fff;\">File changed:</strong> <code style=\"color:#61afef;\">konui/src/console-websocket-client.ts</code><br><span style=\"color:#9ca3af;font-size:0.9rem;\">Commit: f594ab83</span></div></div>",
"choices": [
{
"label": "Test the fix",
"value": "Start a new turn so I can verify the elapsed time no longer flickers",
"primary": true
},
{
"label": "Restart konui",
"value": "Restart konui to apply the fix"
},
{
"label": "View diff",
"value": "Show me the full diff of the changes"
}
],
"requestedAt": "2026-01-08T05:00:00.000Z",
"requestId": "23c11127-3f18-4082-8dba-1b2a807ed775",
"commitSha": "f594ab83"
},
"createdBy": "claude",
"createdAt": "2026-01-08T06:13:11.249Z",
"updatedAt": "2026-01-08T06:13:11.669Z",
"requestId": "23c11127-3f18-4082-8dba-1b2a807ed775",
"scope": "vibetools",
"tags": [
"ui",
"console",
"bugfix"
],
"targetUser": "claude"
}