Skip to content

Commit 7e7a507

Browse files
add 'indexing in progress' dialog to better indicate that indexing is (likely) occuring
1 parent 4cced22 commit 7e7a507

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

src/app/page.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { NavigationMenu } from "./navigationMenu";
88
import { RepositoryCarousel } from "./repositoryCarousel";
99
import { SearchBar } from "./searchBar";
1010
import { Separator } from "@/components/ui/separator";
11+
import { SymbolIcon } from "@radix-ui/react-icons";
1112

1213

1314
export default async function Home() {
@@ -110,15 +111,12 @@ const RepositoryList = async () => {
110111
const repos = _repos.List.Repos.map((repo) => repo.Repository);
111112

112113
if (repos.length === 0) {
113-
return <span>
114-
Get started
115-
<a
116-
href="https://github.com/TaqlaAI/sourcebot/blob/main/README.md"
117-
className="text-blue-500"
118-
>
119-
{` configuring Sourcebot.`}
120-
</a>
121-
</span>;
114+
return (
115+
<div className="flex flex-row items-center gap-3">
116+
<SymbolIcon className="h-4 w-4 animate-spin" />
117+
<span className="text-sm">indexing in progress...</span>
118+
</div>
119+
)
122120
}
123121

124122
return (

0 commit comments

Comments
 (0)