- Select an organisation to deploy or configure Fullsend
-
- {#if !$githubUser}
- Sign in to load this list.
- {:else}
- {#if loading && serverOrgs.length === 0 && !inlineListRefresh}
-
-
-
Loading organisations…
-
- {:else}
-
-
-
-
-
- {#if listCheckAt != null && !error && !loading}
-
- {#if serverOrgs.length === 0}
- Last checked at {formatListCheckTime(listCheckAt)}. If you just installed the app,
- GitHub can take a minute or longer before it shows up here. After you use Refresh, this
- page also rechecks a few times in the background while you stay on it.
- {:else}
- Organisations last refreshed at {formatListCheckTime(listCheckAt)}. Use Refresh after
- you add or remove installs on GitHub; changes can take a short while to appear.
- {/if}
-
- {/if}
-
- {#if showCapHint}
- Showing up to 15 organisations
- {/if}
-
- {#if installationListTruncated && !error}
-
- Organisation list may be incomplete — loading stopped after
- {MAX_INSTALLATION_LIST_PAGES} pages of GitHub app installations ({INSTALLATIONS_PER_PAGE} per
- page). Use Refresh after you change installs; if you need more rows, ask your
- operator to raise the page cap in code.
-
- {/if}
-
- {#if error}
-
- {error}
-
-
- {:else if filteredAll.length === 0}
- {#if serverOrgs.length === 0}
- {#if emptyHint}
- {emptyHint}
- {:else}
- No organisations found for this account.
- {/if}
- {:else}
- No matching organisations.
- {/if}
- {:else}
-
- {#each displayedOrgs as o (o.login)}
- {@const ui = rowUi[o.login]}
- -
-
-
})
-
{o.login}
-
-
- {#if ui === undefined || ui === "pending"}
-
-
-
- {:else if ui.kind === "configure"}
-
- Configure
-
- {:else if ui.kind === "deploy"}
-
- Deploy Fullsend
-
- {:else if ui.kind === "cannot_deploy"}
- {@const cdId = cannotDeployPopoverId(o.login)}
-
-
⚠
-
Cannot deploy
-
-
-
{ui.reason}
- {#if ui.missingInstallRequirements?.length}
-
- Access an organisation owner may need to approve:
-
-
- {#each ui.missingInstallRequirements as line, i (i)}
- - {line}
- {/each}
-
- {/if}
- {#if ui.helpBullets?.length}
-
Next steps
-
- {#each ui.helpBullets as line, i (i)}
- - {line}
- {/each}
-
- {/if}
-
-
- {:else if ui.kind === "error"}
- {@const errId = rowErrPopoverId(o.login)}
-
-
▲
-
Error
-
-
-
-
- {/if}
-
-
- {/each}
-
- {#if loading && displayedOrgs.length > 0}
-
-
-
Refreshing organisation list
-
- {/if}
- {/if}
- {/if}
-
-
-
Fullsend Admin app
- {#if serverOrgs.length === 0}
-
- After you install or change access on GitHub, click Refresh at the top of this
- page. GitHub does not return you here automatically. It can take a minute or longer before a
- new install appears in GitHub’s data — after you refresh, we also recheck a few times in the
- background when the list is still empty.
-
-
- {#if installAppHref}
-
- Install the Fullsend Admin app on GitHub
-
- (opens in a new tab)
- {:else}
-
- Install link is unavailable (app slug not known). Your operator can set
- GITHUB_APP_SLUG on the site Worker or ensure installations return a slug.
-
- {/if}
-
- {:else}
-
- To deploy or configure Fullsend for another organisation, install the Fullsend Admin app
- there. When you return from GitHub, click Refresh at the top of this page.
-
- {#if installAppHref}
-
-
- Install the Fullsend Admin app on GitHub
-
- (opens in a new tab)
-
- {:else}
-
- Install link is unavailable (app slug not known). Your operator can set
- GITHUB_APP_SLUG on the site Worker or ensure installations return a slug.
-
- {/if}
- {/if}
-
- {/if}
-
-
-
diff --git a/web/admin/src/vite-env.d.ts b/web/admin/src/vite-env.d.ts
deleted file mode 100644
index 4a8be4a591..0000000000
--- a/web/admin/src/vite-env.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-///