fix: Tangled links use resolved handle instead of DID

Author: Aaron Steven White
Commit b3b0fcb2c17552bbe820c2346cc44a976f94af69
Parent: 9967d221c1
Structural diff unavailable

These commits were pushed via plain git push, so no pre-parsed schemas are available. Install git-remote-cospan and re-push via panproto:// to see scope-level changes, breaking change detection, and semantic diffs.

brew install panproto/tap/git-remote-cospan
2 files changed +3 -4
@@ -170,7 +170,7 @@
170170 				<p class="text-sm text-text-secondary">
171171 					Code is hosted on
172172 					<a
173-						href="https://tangled.sh/{data.repo.did}/{data.repo.name}"
173+						href="https://tangled.sh/{ownerLabel}/{data.repo.name}"
174174 						class="font-medium text-accent transition-colors hover:text-accent-hover"
175175 						target="_blank"
176176 						rel="noopener noreferrer"
@@ -49,9 +49,8 @@
4949 	});
5050 
5151 	function tangledUrl(repo: Repo): string {
52-		const host = repo.nodeUrl || '';
53-		if (host) return `${host}/${repo.did}/${repo.name}`;
54-		return `https://tangled.sh/${repo.did}/${repo.name}`;
52+		const handle = getHandle(repo.did);
53+		return `https://tangled.sh/${handle}/${repo.name}`;
5554 	}
5655 </script>
5756 
cospan · schematic version control on atproto built on AT Protocol