Skip to content

feat: toggle timestamps + inline full diffs (#20, #14)#21

Merged
dinakars777 merged 4 commits intodinakars777:mainfrom
urunsiyabend:main
Apr 10, 2026
Merged

feat: toggle timestamps + inline full diffs (#20, #14)#21
dinakars777 merged 4 commits intodinakars777:mainfrom
urunsiyabend:main

Conversation

@urunsiyabend
Copy link
Copy Markdown
Contributor

@urunsiyabend urunsiyabend commented Apr 10, 2026

Closes #20, closes #14

Two features:

Timestamp toggle (t): switches between relative ("5m ago") and absolute ("2026-04-10 14:23:45") timestamps. Uses local timezone.

Inline full diff (d): Space opens the diff panel as before (summary/stat view). Press d to switch to full file diff with syntax highlighting — green for additions, red for deletions, cyan for hunk headers. d toggles back to summary.

Added get_full_diff() to git.rs, rest is in main.rs. Updated --help with new keybindings.

@urunsiyabend urunsiyabend changed the title feat: toggle relative/absolute timestamps (#20) feat: toggle timestamps + inline full diffs (#20, #14) Apr 10, 2026
@dinakars777
Copy link
Copy Markdown
Owner

@urunsiyabend Three features in two days — you're on a roll! The syntax highlighting on the full diff view is a really nice touch, and the timestamp toggle is super clean. Both work great. Merging now, thank you!

@dinakars777 dinakars777 merged commit 955d1d6 into dinakars777:main Apr 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Toggle between relative and absolute timestamps Show file diffs inline in the TUI

2 participants