chadtmiller.com/knotless
git that lives in your Atmosphere account
1
10
Space the Private tag off a repository's name in lists
.changeset/owner-watches-private.mdnew+7−0
| @@ -0,0 +1,7 @@ | ||
--- | ||
default: minor | ||
--- | ||
| ||
# An agent watching an owner finds their private repositories shared with it | ||
| ||
`knotless repo share` leaves the account shared with an invite at the appview, and `knotless-agent --owner <handle>` watches, besides that account's public repositories, every private one it shared with the agent's account, so a reviewer need not be told each private repository by name. | ||
web/src/lib/organisms/ProfileRepos.svelte+1−2
| @@ -134,8 +134,7 @@ | ||
<div class="grow"> | ||
<a class="title" href={repoHref(r.owner.handle, r.name)} | ||
>{#if kind === 'shared'}<span class="mute">{r.owner.handle}/</span>{/if}{r.name}</a | ||
>{#if r.private} | ||
<PrivateTag />{/if} | ||
>{#if r.private}{' '}<PrivateTag />{/if} | ||
<div class="meta">{r.description ?? 'No description'}</div> | ||
{#if r.forkOf}<div class="meta"> | ||
<Icon name="fork" />Forked from | ||
web/src/lib/organisms/RepoCards.svelte+1−2
| @@ -23,8 +23,7 @@ | ||
<div> | ||
<a class="title" href={repoHref(r.owner.handle, r.name)} | ||
>{#if !owned}<span class="mute">{r.owner.handle}/</span>{/if}{r.name}</a | ||
>{#if r.private} | ||
<PrivateTag />{/if} | ||
>{#if r.private}{' '}<PrivateTag />{/if} | ||
</div> | ||
<p>{r.description ?? 'No description'}</p> | ||
{#if r.language}<div class="meta"><Language language={r.language} /></div>{/if} | ||
web/src/lib/organisms/RepoList.svelte+1−2
| @@ -34,8 +34,7 @@ | ||
<div class="grow"> | ||
<a class="clip" href={repoHref(r.owner.handle, r.name)} | ||
><span class="mute">{r.owner.handle}/</span><b>{r.name}</b></a | ||
>{#if r.private} | ||
<PrivateTag />{/if} | ||
>{#if r.private}{' '}<PrivateTag />{/if} | ||
<div class="meta clip">{r.description ?? 'No description'}</div> | ||
{#if r.language || r.starCount || r.forkCount}<div class="meta"> | ||
{#if r.language}<Language language={r.language} />{/if}{#if r.starCount}<span | ||