Add IRI to local resources (#1046)

* initial commit

* add remote trail/list

* fix errors

* update to use new IRIs

* use origin in migration instead

* use UnsafeWithoutHooks

* fix trail/list order of operations

* fix remote trail/list fetch

* fixes list document update

* fix errors

---------

Co-authored-by: Christian Beutel <>
This commit is contained in:
Flomp
2026-06-07 12:20:13 +02:00
committed by GitHub
parent f912a186a6
commit fc735130cc
19 changed files with 273 additions and 131 deletions

View File

@@ -43,7 +43,7 @@
<div class="self-start min-w-0 basis-full transition-transform">
<div class="flex items-center gap-3">
<h5 class="text-xl font-semibold overflow-hidden overflow-ellipsis shrink-0 max-w-3/4 whitespace-nowrap">
<h5 class="text-xl font-semibold overflow-hidden text-ellipsis shrink-0 max-w-3/4 whitespace-nowrap">
{list.name}
</h5>
<div class="basis-full"></div>

View File

@@ -38,7 +38,7 @@ export function handleFromRecordWithIRI(record: any) {
throw new Error("object has no author info")
}
if (!record.iri) {
if (!record.iri || record.iri.length == 0) {
return `@${record.expand.author.preferred_username}`
}
const url = new URL(record.iri ?? "")