From 0a0d3b088684b9e1abfd256b391047c2ac8773db Mon Sep 17 00:00:00 2001 From: Bruce McLean Date: Tue, 23 Jul 2024 08:08:13 -0400 Subject: [PATCH] Bugfix mcleanb checker improvements (#12) * add delays after notifications to update display * add delays after notifications to update display * fix for windows path * tweak checking for twl or tn resources * navigate to folder if error, but repo was created * fix for original language * fix to make sure we have original languages * add delays after notifications to update display * add delays after notifications to update display * tweak checking for twl or tn resources * navigate to folder if error, but repo was created * fix for original language * fix to make sure we have original languages * revert navigation * added modal pops for errors * reduced modal pops for errors * fix for original bibles * fix for bibles that are missing book * progress tweak * progress tweak --------- Co-authored-by: PhotoNomad0 --- src/CheckingProvider.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CheckingProvider.ts b/src/CheckingProvider.ts index 3165435..640ff61 100644 --- a/src/CheckingProvider.ts +++ b/src/CheckingProvider.ts @@ -261,7 +261,7 @@ export class CheckingProvider implements CustomTextEditorProvider { if (validResources) { repoInitSuccess = true; - await showInformationMessage(`Initialized project at ${repoPath}`); + await showInformationMessage(`Successfully initialized project at ${repoPath}`, true, 'You can now do checking by opening translationWords checks in `checking/twl` or translationNotes checks in `checking/tn`'); } else { await showErrorMessage(`Missing resources resources at ${repoPath}`, true, missingMessage ); } @@ -290,7 +290,8 @@ export class CheckingProvider implements CustomTextEditorProvider { async function updateProgress(message:string) { console.log(`updateProgress - ${message}`) progressTracker.report({ increment: 10 }); - await showInformationMessage(message); + // await showInformationMessage(message); + await delay(200) } progressTracker.report({ increment: 10 });