add 'indexing in progress' dialog to better indicate that indexing is (likely) occuring

This commit is contained in:
bkellam 2024-09-24 20:34:06 -07:00
parent 4cced221f8
commit 7e7a5074e0

View file

@ -8,6 +8,7 @@ import { NavigationMenu } from "./navigationMenu";
import { RepositoryCarousel } from "./repositoryCarousel"; import { RepositoryCarousel } from "./repositoryCarousel";
import { SearchBar } from "./searchBar"; import { SearchBar } from "./searchBar";
import { Separator } from "@/components/ui/separator"; import { Separator } from "@/components/ui/separator";
import { SymbolIcon } from "@radix-ui/react-icons";
export default async function Home() { export default async function Home() {
@ -110,15 +111,12 @@ const RepositoryList = async () => {
const repos = _repos.List.Repos.map((repo) => repo.Repository); const repos = _repos.List.Repos.map((repo) => repo.Repository);
if (repos.length === 0) { if (repos.length === 0) {
return <span> return (
Get started <div className="flex flex-row items-center gap-3">
<a <SymbolIcon className="h-4 w-4 animate-spin" />
href="https://github.com/TaqlaAI/sourcebot/blob/main/README.md" <span className="text-sm">indexing in progress...</span>
className="text-blue-500" </div>
> )
{` configuring Sourcebot.`}
</a>
</span>;
} }
return ( return (