Skip to content

fix(timestamps): show every line with millis default#103

Merged
hyldmo merged 3 commits into
mainfrom
hyldmo/fix-timestamp-width
Apr 16, 2026
Merged

fix(timestamps): show every line with millis default#103
hyldmo merged 3 commits into
mainfrom
hyldmo/fix-timestamp-width

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented Apr 16, 2026

Summary

  • Timestamp gutter now shows a timestamp on every logical line instead of deduplicating adjacent lines with the same formatted time — fixes inconsistent gutter width and missing timestamps
  • Default format changed from HH:mm:ss to HH:mm:ss.SSS for fixed-width output and millisecond precision
  • Added 5 new tests covering per-line signs, identical-timestamp handling, default format validation, and clear behavior

Test plan

  • bun test src/ui/pane.test.ts — 16/16 pass
  • bun test src/utils/timestamp.test.ts — 5/5 pass
  • Typecheck clean (pre-existing generated file errors only)
  • Manual: run numux --timestamps and verify every line has a HH:mm:ss.SSS gutter with no gaps

🤖 Generated with Claude Code

hyldmo and others added 3 commits April 16, 2026 15:31
Timestamp gutter was deduplicating lines with the same formatted time,
causing gaps and inconsistent widths. Now every logical line gets a
timestamp. Default format changed from HH:mm:ss to HH:mm:ss.SSS for
fixed-width output and better precision.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hyldmo hyldmo merged commit 986970a into main Apr 16, 2026
2 checks passed
@hyldmo hyldmo deleted the hyldmo/fix-timestamp-width branch April 16, 2026 13:54
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant