From f0206ecea7785a80bfc9c2b7ca58db5e42ed4f12 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Wed, 11 Aug 2021 18:34:33 +0200 Subject: [PATCH] improve progress bar --- public/script/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/script/app.js b/public/script/app.js index cf2def9..406b301 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -582,13 +582,13 @@ angular if ($scope.repo.status == "ready") { $scope.progress = 100; } else if ($scope.repo.status == "queue") { - $scope.progress = 0; + $scope.progress = 10; } else if ($scope.repo.status == "downloaded") { $scope.progress = 50; } else if ($scope.repo.status == "downloading") { $scope.progress = 25; } else if ($scope.repo.status == "preparing") { - $scope.progress = 10; + $scope.progress = 25; } else if ($scope.repo.status == "anonymizing") { $scope.progress = 75; } @@ -1008,6 +1008,7 @@ angular txt: "text", py: "python", js: "javascript", + ts: "typescript", }; const textFiles = ["license", "txt"]; const imageFiles = ["png", "jpg", "jpeg", "gif"];