Skip to content

Commit 62627ef

Browse files
committed
Fix history pane ordering, scrolling, and live updates
- Fix history ordering to show newest edits first (index 0 = newest) - Fix scrollToChange() to calculate correct viewport offset for context-limited rendering - Support flat JSON format in parsePayload() for daemon/hook notifications - Fix navigation keys (j=down to older, k=up to newer) - Limit file rendering to 100 lines of context for performance - Use fixed 1/3 width for left pane to prevent layout shifts - Pad history list to consistent height to prevent UI warping - Remove variable-height commit headers from history list
1 parent c550981 commit 62627ef

File tree

2 files changed

+144
-118
lines changed

2 files changed

+144
-118
lines changed

internal/daemon/daemon.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ func (d *Daemon) processPayload(payload *HookPayload) error {
300300
logger.Log("Compressed file snapshot: %d bytes -> %d bytes", len(decoded), len(edit.FileSnapshot))
301301
}
302302
}
303+
} else {
304+
logger.Log("No file_content_b64 provided for %s (file: %s)", payload.ToolName, payload.FilePath)
303305
}
304306

305307
if err := d.db.RecordEdit(edit); err != nil {

0 commit comments

Comments
 (0)