Skip to content

Git-aware 'last edited by' metadata #19

@tacheraSasi

Description

@tacheraSasi

Feature: Git-aware Last Edited By

Show git log author/date metadata in the page header badge.

Details

  • Detect if the served directory is inside a git repository
  • For each file, run git log -1 --format="%an|%ae|%aI" to get last author and date
  • Display in the page header: "Last edited by on "
  • Cache git metadata and refresh on file changes
  • Optionally show a "History" link or recent commit messages
  • Gracefully degrade if not in a git repo (just show file mod time as today)

Why

Adds accountability and context — users can see who last touched a document and when, without leaving the browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions