Merge remote-tracking branch 'origin/develop' into feature/ui-test

This commit is contained in:
2025-12-09 14:21:14 +01:00
34 changed files with 14290 additions and 112 deletions
+6 -4
View File
@@ -12,7 +12,7 @@ function checkBoxes() {
}
});
if(isChecked){
if (isChecked) {
//Code to submit the video
var selectedCheckboxes = {};
checkboxes.forEach(function(checkbox){
@@ -55,10 +55,12 @@ function checkBoxes() {
"styles": selectedStyles
}
};
ipcRenderer.send("file_submit", sendingPackage)
window.submit.submit(sendingPackage)
}else{
alert('The given file is not compatible. These are the available types: [".mp4", ".mov", ".avi", ".mkv"].');
}
} else {
//language only english at the moment
alert('Please select at least one document type.');
@@ -113,11 +115,11 @@ function handleFiles(files) {
console.log("Error in script.js handleFiles function");
console.log(error);
}
}
//function to regulate the progress on the progressbar
function updateProgressBar(bar, value){
function updateProgressBar(bar, value) {
try {
value = Math.round(value);
bar.querySelector(".progress_fill").style.width = `${value}%`;