diff --git a/src/components/card/commit-history.tsx b/src/components/card/commit-history.tsx index 5a0a6e1..63d16b4 100644 --- a/src/components/card/commit-history.tsx +++ b/src/components/card/commit-history.tsx @@ -49,15 +49,25 @@ export function CommitHistory({ commits }: { commits: CommitRecord[] }) { className="mt-[7px] h-1.5 w-1.5 shrink-0 rounded-full bg-border-strong" />
- {/* Fall back to the raw subject — never render nothing. */} - {commit.summary || commit.subject} -
++ {/* Fall back to the raw subject — never render nothing. */} + {commit.summary || commit.subject} +
+ {commit.source === "manual" && ( + + Logged + + )} +{relativeTime(commit.authored_at)}
- {showRaw && ( + {/* No real diff or hash sits behind a logged entry — showing one + anyway, even honestly labelled, would be the fabrication this + feature deliberately avoids. */} + {showRaw && commit.source !== "manual" && ({commit.url ? ( {commit.summary || commit.subject}
+ {commit.source === "manual" && ( + + Logged + + )} {relativeTime(commit.authored_at)} diff --git a/src/components/linking/unassigned-list.tsx b/src/components/linking/unassigned-list.tsx index 3f53a6e..ec43bc6 100644 --- a/src/components/linking/unassigned-list.tsx +++ b/src/components/linking/unassigned-list.tsx @@ -72,7 +72,13 @@ export function UnassignedList({ {commit.subject || commit.short_sha}
- {commit.short_sha}
+ {commit.source === "manual" ? (
+
+ Logged
+
+ ) : (
+ {commit.short_sha}
+ )}
{relativeTime(commit.authored_at)}
{commit.type && commit.type !== "other" && (