Fix log file sorting to handle both timestamp and sha formats #23

Merged
probablycorey merged 1 commits from probablycorey/fix-log-display into main 2026-03-10 18:54:03 +00:00

Replace naive sort with explicit timestamp extraction that works for both the new timestamp_sha format and legacy sha_timestamp format. Extract log filename parsing into a reusable function for consistency.

Fixes sorting logic in listLogFiles() and consolidates duplicate parsing logic in logs.tsx sidebar.

Replace naive sort with explicit timestamp extraction that works for both the new timestamp_sha format and legacy sha_timestamp format. Extract log filename parsing into a reusable function for consistency. Fixes sorting logic in listLogFiles() and consolidates duplicate parsing logic in logs.tsx sidebar.
probablycorey added 1 commit 2026-03-10 18:53:52 +00:00
Fix log file sorting to handle both timestamp and sha formats
Some checks failed
CI / test (pull_request) Has been cancelled
30a6b0c987
Replace naive sort with explicit timestamp extraction that works for both the new timestamp_sha format and legacy sha_timestamp format. Extract log filename parsing into a reusable function for consistency.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
probablycorey merged commit f31b07caa7 into main 2026-03-10 18:54:03 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: probablycorey/workshop#23
No description provided.