Rewrite InputWaiter to be less messy.

Don't create a DOM element for every tab, just reuse the same ones.
Display file information while the files are loading.
(Output tabs no longer work)
This commit is contained in:
j433866 2019-03-29 13:29:24 +00:00
parent a2cc7a84db
commit c289e1beef
6 changed files with 884 additions and 378 deletions

View file

@ -72,7 +72,7 @@ class WorkerWaiter {
inputNum: r.data.inputNum
});
if (this.pendingInputs.length > 0) {
log.debug("Bake complete. Baking next input");
log.debug(`Bake ${r.data.inputNum} complete. Baking next input`);
this.bakeNextInput(r.data.inputNum);
} else if (this.runningWorkers <= 0) {
this.runningWorkers = 0;