mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
link to connection table in repos carousel
This commit is contained in:
parent
e5cbb99278
commit
2d81036b9b
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ export function RepositoryCarousel({
|
||||||
<span className="text-sm text-muted-foreground">
|
<span className="text-sm text-muted-foreground">
|
||||||
<>
|
<>
|
||||||
Create a{" "}
|
Create a{" "}
|
||||||
<Link href={`https://docs.sourcebot.dev/docs/connections/overview`} className="text-blue-500 hover:underline inline-flex items-center gap-1">
|
<Link href={`/${domain}/settings/connections`} className="text-blue-500 hover:underline inline-flex items-center gap-1">
|
||||||
connection
|
connection
|
||||||
</Link>{" "}
|
</Link>{" "}
|
||||||
to start indexing repositories
|
to start indexing repositories
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ export default async function ConnectionDetailPage(props: ConnectionDetailPagePr
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{connection.syncedAt ? <DisplayDate date={connection.syncedAt} className="text-2xl font-semibold" /> : "Never"}
|
<span className="text-2xl font-semibold">{connection.syncedAt ? <DisplayDate date={connection.syncedAt} /> : "Never"}</span>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
|
@ -153,7 +153,7 @@ export default async function ConnectionDetailPage(props: ConnectionDetailPagePr
|
||||||
<Info className="h-3.5 w-3.5 text-muted-foreground cursor-help" />
|
<Info className="h-3.5 w-3.5 text-muted-foreground cursor-help" />
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent>
|
<TooltipContent>
|
||||||
<p>When the next sync job is scheduled to run</p>
|
<p>When the connection will be resynced next. Modifying the config will also trigger a resync.</p>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue