diff --git a/src/lib/components/AlertWarning.svelte b/src/lib/components/AlertWarning.svelte
new file mode 100644
index 0000000..7071332
--- /dev/null
+++ b/src/lib/components/AlertWarning.svelte
@@ -0,0 +1,17 @@
+
- {#if name == identifier}
- {#if loading}
-
-
-
- {:else if !name || name.length == 0}
-
name / identifier
-
none
- {:else}
-
name / identifier
-
{name}
- {/if}
+ {#if event_not_found}
+
identifier
+
{identifier}
{:else}
- {#if loading}
-
-
-
- {:else if !name || name.length == 0}
-
name
-
none
+ {#if name == identifier}
+ {#if loading}
+
+
+
+ {:else if !name || name.length == 0}
+
name / identifier
+
none
+ {:else}
+
name / identifier
+
{name}
+ {/if}
{:else}
-
name
-
{name}
+ {#if loading}
+
+
+
+ {:else if !name || name.length == 0}
+
name
+
none
+ {:else}
+
name
+
{name}
+ {/if}
+ {#if loading}
+
+
+
+ {:else if !identifier || identifier.length == 0}
+
identifier
+
none
+ {:else}
+
identifier
+
{identifier}
+ {/if}
{/if}
{#if loading}
- {:else if !identifier || identifier.length == 0}
-
identifier
+ {:else if !short_descrption || description.length == 0}
+
description
none
{:else}
-
identifier
-
{identifier}
- {/if}
- {/if}
- {#if loading}
-
-
-
- {:else if !short_descrption || description.length == 0}
-
description
-
none
- {:else}
-
description
-
{short_descrption}
- {/if}
-
- {#if loading}
-
-
- {:else}
- {#each tags as tag}
-
{tag}
- {/each}
+
description
+
{short_descrption}
{/if}
-
-
- {#if loading}
-
-
- {:else if clone.length == 0}
-
- {:else}
-
- clone {#if git_url_copied}
- (copied to clipboard){/if}
-
- {#each clone as git_url}
-
-
-
{
- try {
- await navigator.clipboard.writeText(git_url)
- git_url_copied = git_url
- setTimeout(() => {
- git_url_copied = false
- }, 2000)
- } catch {}
- }}
- class="group my-2 mt-3 cursor-pointer break-words text-xs"
- class:text-success={git_url_copied === git_url}
- class:opacity-50={git_url_copied === git_url}
- >
- {git_url}
-
+
+ {#if loading}
+
+
+ {:else if clone.length == 0}
+
+ {:else}
+
+ clone {#if git_url_copied}
+ (copied to clipboard){/if}
+
+ {#each clone as git_url}
+
+
+
{
+ try {
+ await navigator.clipboard.writeText(git_url)
+ git_url_copied = git_url
+ setTimeout(() => {
+ git_url_copied = false
+ }, 2000)
+ } catch {}
+ }}
+ class="group my-2 mt-3 cursor-pointer break-words text-xs"
+ class:text-success={git_url_copied === git_url}
+ class:opacity-50={git_url_copied === git_url}
>
- {#each icons_misc.copy as d}
-
- {/each}
-
-
- {/each}
- {/if}
-
-
- {#if loading}
-
-
-
- {:else if web.length == 0}
-
websites
-
none
- {:else}
-
websites
- {#each web as site}
-
- {site}
-
- {/each}
- {/if}
-
+ {git_url}
+
+
+ {/each}
+ {/if}
+
+
{#if loading}
@@ -166,7 +173,7 @@
{:else}
- maintainers {#if maintainer_copied}
(copied to clipboard)
-
+
+ {#if !event_not_found}
+
+ {#if loading}
+
+
+
+ {:else if relays.length == 0}
+
relays
+
none
+ {:else}
+
relays
+ {#each relays as relay}
+
{relay}
+ {/each}
+ {/if}
+
+
{#if loading}
-
-
- {:else if relays.length == 0}
-
relays
-
none
+
+
+ {:else if !unique_commit || unique_commit.length == 0}
+
earliest unique commit
+
not specified
{:else}
-
relays
- {#each relays as relay}
-
{relay}
- {/each}
+
earliest unique commit
+
{unique_commit}
{/if}
-
-
- {#if loading}
-
-
-
- {:else if !unique_commit || unique_commit.length == 0}
- earliest unique commit
- not specified
- {:else}
-
earliest unique commit
-
{unique_commit}
{/if}
{#if loading}
@@ -247,4 +257,12 @@
{naddr}
{/if}
+ {#if event_not_found}
+
+
+ missing repository details
+ cannot find referenced repository event
+
+
+ {/if}
diff --git a/src/lib/components/repo/RepoHeader.svelte b/src/lib/components/repo/RepoHeader.svelte
index 5f60be7..7c4cb77 100644
--- a/src/lib/components/repo/RepoHeader.svelte
+++ b/src/lib/components/repo/RepoHeader.svelte
@@ -1,5 +1,6 @@
-{#if invalid_naddr || (waited_5_secs && !$selected_repo_collection.loading && $selected_repo_event.name.length === 0)}
+