From b0d960245e4bdb2c3d71823fc4506535aa12fc2e Mon Sep 17 00:00:00 2001 From: eti Date: Thu, 6 Aug 2026 10:41:26 +0300 Subject: [PATCH] web/components: attribute commits to the right profile The commit rows were linking the git author name straight at /, which is just a display name and lands on a 404. Commits made through tangled sign with the did, so those now link to the profile (the route redirects the did to the canonical handle); anything with a plain email address gets a mailto, same as the commit log already does. Signed-off-by: eti --- web/src/lib/components/repo/CommitList.svelte | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/web/src/lib/components/repo/CommitList.svelte b/web/src/lib/components/repo/CommitList.svelte index 9a7acb3f..8b56864e 100644 --- a/web/src/lib/components/repo/CommitList.svelte +++ b/web/src/lib/components/repo/CommitList.svelte @@ -63,7 +63,30 @@ {commit.shortHash} {#if commit.authorName} - + + {@const authorDid = commit.authorEmail.startsWith("did:") + ? commit.authorEmail + : undefined} + {#if authorDid} + + + + {:else if commit.authorEmail} + + + + {:else} + + {/if} {/if} {#if commit.when} -- 2.51.2