mirror your GitHub repos to tangled.org automatically
1

Configure Feed

Select the types of activity you want to include in your feed.

fix: `server: false` for dashboard

+14 -14
+12 -12
app/pages/connect.vue
··· 37 37 38 38 <main class="connect"> 39 39 <div v-if="!installationId" class="panel"> 40 - <h1 class="connect__title">No installation to connect</h1> 40 + <h1 class="connect__title">no installation to connect</h1> 41 41 <p class="connect__body"> 42 - Start by installing the GitHub App on the repositories you'd like to 42 + start by installing the GitHub App on the repositories you'd like to 43 43 mirror. 44 44 </p> 45 - <a class="btn btn--primary" href="https://github.com/apps/synchub-to/installations/new">Install the GitHub App</a> 45 + <a class="btn btn--primary" href="https://github.com/apps/synchub-to/installations/new">install the GitHub App</a> 46 46 </div> 47 47 48 48 <div v-else-if="!verified" class="panel"> 49 49 <p class="connect__eyebrow">step 1 of 2 &middot; verify</p> 50 - <h1 class="connect__title">Installed on <span class="connect__login">{{ accountLabel }}</span></h1> 50 + <h1 class="connect__title">installed on <span class="connect__login">{{ accountLabel }}</span></h1> 51 51 <p class="connect__body"> 52 - Confirm you administer <strong>{{ accountLabel }}</strong> on GitHub, 53 - then you'll pick the tangled handle that mirrors it. We check this so 52 + confirm you administer <strong>{{ accountLabel }}</strong> on GitHub, 53 + then you'll pick the tangled handle that mirrors it. we check this so 54 54 nobody else can bind your repositories to their identity. 55 55 </p> 56 56 <a class="btn btn--primary" :href="`/api/github/oauth/start?installationId=${installationId}`"> 57 - Verify with GitHub 57 + verify with GitHub 58 58 </a> 59 59 </div> 60 60 61 61 <div v-else class="panel"> 62 62 <p class="connect__eyebrow">step 2 of 2 &middot; connect</p> 63 - <h1 class="connect__title">Connect a handle to <span class="connect__login">{{ accountLabel }}</span></h1> 63 + <h1 class="connect__title">connect a handle to <span class="connect__login">{{ accountLabel }}</span></h1> 64 64 <p class="connect__body"> 65 - Enter the tangled handle that should mirror 66 - <strong>{{ accountLabel }}</strong>. One GitHub account maps to one 67 - tangled identity; connecting a new handle replaces any previous one. 65 + enter the tangled handle that should mirror 66 + <strong>{{ accountLabel }}</strong>. one GitHub account maps to one 67 + tangled identity, so connecting a new handle replaces any previous one. 68 68 </p> 69 69 <form class="signin" action="/api/atproto/login" method="get"> 70 70 <input type="hidden" name="installationId" :value="installationId"> ··· 84 84 > 85 85 </span> 86 86 </label> 87 - <button class="btn btn--primary" type="submit">Connect</button> 87 + <button class="btn btn--primary" type="submit">connect</button> 88 88 </form> 89 89 </div> 90 90 </main>
+2 -2
app/pages/dashboard.vue
··· 14 14 description: 'Your synchub.to mirror status.', 15 15 }) 16 16 17 - const { data, refresh, error } = await useFetch<DashboardPayload>('/api/me/dashboard') 18 - const { data: accountsData, refresh: refreshAccounts } = await useFetch<AccountsPayload>('/api/me/accounts') 17 + const { data, refresh, error } = await useFetch<DashboardPayload>('/api/me/dashboard', { server: false }) 18 + const { data: accountsData, refresh: refreshAccounts } = await useFetch<AccountsPayload>('/api/me/accounts', { server: false }) 19 19 20 20 const switcher = useTemplateRef<HTMLDetailsElement>('switcher') 21 21 const switcherOpen = ref(false)