@comfanion/workflow 4.36.7 → 4.36.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/build-info.json
CHANGED
|
@@ -422,10 +422,13 @@ export const FileIndexerPlugin: Plugin = async ({ directory, client }) => {
|
|
|
422
422
|
const result = await ensureIndexOnSessionStart(
|
|
423
423
|
directory,
|
|
424
424
|
config,
|
|
425
|
-
// onStart callback - show
|
|
425
|
+
// onStart callback - show toasts
|
|
426
426
|
async (totalFiles, estimatedMins) => {
|
|
427
427
|
await toast(messages.indexing(totalFiles), 'info')
|
|
428
|
-
|
|
428
|
+
// Only show fun message if there's actual work to do
|
|
429
|
+
if (totalFiles > 0) {
|
|
430
|
+
setTimeout(() => toast(messages.fun(totalFiles, estimatedMins), 'info'), 1500)
|
|
431
|
+
}
|
|
429
432
|
}
|
|
430
433
|
)
|
|
431
434
|
|