Skip to content

Commit b85ed96

Browse files
committed
feat(search): Improve background indexing status messages
1 parent 9344a0f commit b85ed96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/search/GlobalSearch.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ const GlobalSearch = ({ isOpen, onClose }) => {
816816
startProgressPolling();
817817

818818
try {
819-
console.log('Starting background indexing for volumes...');
819+
console.log('Background indexing finished for external volumes...');
820820

821821
// Index all volumes in background
822822
for (const volume of volumesToIndex) {
@@ -1514,7 +1514,7 @@ const GlobalSearch = ({ isOpen, onClose }) => {
15141514
<div className="indexing-progress">
15151515
{isLoadingStatus && !isIndexing && (
15161516
<div className="progress-header">
1517-
<h3>Checking Indexing Status...</h3>
1517+
<h3>Indexing</h3>
15181518
<span className="progress-percentage">Please wait...</span>
15191519
</div>
15201520
)}
@@ -1610,7 +1610,7 @@ const GlobalSearch = ({ isOpen, onClose }) => {
16101610
display: 'inline-block'
16111611
}}></span>
16121612
</div>
1613-
Checking if background indexing is in progress...
1613+
Background indexing has started, please wait...
16141614
</div>
16151615
)}
16161616
</div>

src/layouts/MainLayout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const MainLayout = () => {
289289
});
290290

291291
console.log('MainLayout: Auto-indexing initiated:', result);
292-
showSuccess('Background indexing started for your home directory');
292+
showSuccess('Background indexing finished');
293293
} else {
294294
console.log('MainLayout: Search engine already has indexed files, skipping auto-indexing');
295295
}

0 commit comments

Comments
 (0)