diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx
index 5e1820e45..1c8b52cda 100644
--- a/gui/src/components/Layout.tsx
+++ b/gui/src/components/Layout.tsx
@@ -191,7 +191,7 @@ const Layout = () => {
}
}, [location]);
- const [indexingProgress, setIndexingProgress] = useState(1);
+ const [indexingProgress, setIndexingProgress] = useState(-1);
const [indexingTask, setIndexingTask] = useState("Indexing Codebase");
const [indexingFailed, setIndexingFailed] = useState(false);
diff --git a/gui/src/components/loaders/IndexingProgressBar.tsx b/gui/src/components/loaders/IndexingProgressBar.tsx
index 744713dfc..170a7fd03 100644
--- a/gui/src/components/loaders/IndexingProgressBar.tsx
+++ b/gui/src/components/loaders/IndexingProgressBar.tsx
@@ -88,7 +88,18 @@ const IndexingProgressBar = ({
className="cursor-pointer"
>
{
- indexingFailed ? ( //red 'failed' dot
+ completed < 0 ? ( //
+ <>
+
+ {tooltipPortalDiv &&
+ ReactDOM.createPortal(
+
+ Codebase indexing is starting up.
+ ,
+ tooltipPortalDiv,
+ )}
+ >
+ ) : indexingFailed ? ( //red 'failed' dot
<>
{tooltipPortalDiv &&
@@ -99,7 +110,7 @@ const IndexingProgressBar = ({
tooltipPortalDiv,
)}
>
- ) : completed >= total ? ( //indexing complete green dot
+ ) : completed >= total ? ( //indexing complete green dot
<>
{tooltipPortalDiv &&