~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/knotless

git that lives in your Atmosphere account

Forked from chadtmiller.com/knotless

0
0
24 lines · 885 B Raw History
<script lang="ts">
	import { invalidateAll } from '$app/navigation';
	import Delegate from '#lib/molecules/Delegate.svelte';
	/**
	 * Whether this server writes for the account, which it `delegated`
	 * writes to: for all its repositories, collaborators push through it
	 * and runners land their merge queues through it.
	 */
	let { delegated }: { delegated: boolean } = $props();
</script>

<div class="settings-section"><h2>Delegated writes</h2></div>
<div class="settings-form">
	<p>
		Through this server, collaborators push to all your repositories and runners land their merge
		queues. It writes for you once you approve it at your PDS, and only knotless's records.
	</p>
	{#if delegated}
		<p role="status"><b>This server writes for you.</b></p>
		<p class="mute">You take it back in your PDS's account settings.</p>
	{:else}
		<Delegate done={invalidateAll} />
	{/if}
</div>