Skip to content

Date each File history version and name the selected author - #97

Open
baol wants to merge 1 commit into
repo-and-branch-uxfrom
file-history-dates
Open

baol wants to merge 1 commit into
repo-and-branch-uxfrom
file-history-dates

Conversation

@baol

@baol baol commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Stacked on #96 (domain language). The base is that branch, so this diff shows only this change. Once #96 merges, I'll retarget this to main.

Reported on baol/recipes: File history rows ended with 11-08, no year, and nothing named the selected version's author or date.

Change (user's choice: both)

  • Rows: each row shows its date as the History tree's Date column does. That's 2026-11-08 in the author's time zone, or relative when Preferences › Appearance › Relative dates is on.
  • Header: the reader header's After endpoint names the selected version's author and time, e.g. After 935e2216 · Mirko Maischberger · 2026-11-08 19:14. The header stays one row, as the design requires.
  • Data: versions and predecessor candidates now carry the author's time-zone offset (offset, serde default 0).

Validated on the reported case

On a clone at origin/main, Review of 935e221 → H:

  • Rows read 2026-11-08 … 2026-04-16, 2026-09-12.
  • The header reads After 935e2216 · Mirko Maischberger · 2026-11-08 19:14.
  • One version older, it reads After 02e33ecd · … · 2026-11-08 18:37.

Both match git log --date=format:'%Y-%m-%d %H:%M'.

Acceptance REV-80

file_history_shows_each_version_date_and_the_selected_author covers two authors in different time zones (+02:00, +01:00). It checks the row dates, the header, and that the header follows Alt+Left. It failed before the change and passes now.

Checks

fmt, clippy -D warnings, all workspace tests, the acceptance-citation check, and the README screenshot --check pass.


Generated by Claude Code

Reported on baol/recipes: File history rows ended with "11-08", no
year, and nothing named the selected version's author or date.

Versions carry the author's time-zone offset. Rows show the date as the
History tree's Date column does (2026-11-08 in the author's time zone,
or relative with Relative dates on); the reader header's After endpoint
adds the selected version's author and time. Validated on the recipes
clone against git log. Acceptance REV-80; its test failed before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX3sFiNbkTC6gZUVCPGT3o

This branch has not been deployed

No deployments
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.

2 participants