Commit Graph

332 Commits

Author SHA1 Message Date
j433866
f72749304d Improve handling of errors in operations.
Remove unused dependencies.
2019-05-08 11:57:22 +01:00
j433866
689d08416b Don't create more ChefWorkers than we need. 2019-05-08 10:53:04 +01:00
j433866
28182713bf Fix showing slice of output not working.
Fix output status message not being reset.
Hide magic button when baking.
2019-05-08 10:10:14 +01:00
j433866
8190c7aac7 Add maximise output button 2019-05-07 15:36:42 +01:00
j433866
6268f091b8 Bring back moving the output into the input.
Change wording for download as zip button
2019-05-07 15:34:36 +01:00
j433866
cbfde7ddb1 Don't highlight if the input and output tab numbers are different 2019-05-07 14:33:38 +01:00
j433866
35d6c7d79e Bring highlighting back.
Fix backgroundMagic using output result instead of dish value
2019-05-07 14:20:18 +01:00
j433866
f1a2cf7efc Add cancellation of zipping 2019-05-07 12:00:53 +01:00
j433866
ec4eb22a72 Don't include loading inputs in complete percentage 2019-05-07 12:00:37 +01:00
j433866
97c218cb4c Fix where zipworker was using output presented result.
Now uses the raw dish value
2019-05-07 12:00:14 +01:00
j433866
07021b8dd5 Add new worker for zipping outputs.
Use bakeId to track which outputs are stale.
2019-05-07 09:26:55 +01:00
j433866
df20196201 Fix magic not always working 2019-05-03 11:49:14 +01:00
j433866
e9d60f73f4 Fix some more autobake weirdness.
Input passed in the URL is now set on load.
Added a new progress bar.
2019-05-02 15:44:31 +01:00
j433866
8e9717906f Improve autobake further to behave more like it did before.
Improve generation of state URI.
2019-05-02 13:54:15 +01:00
j433866
82183bf204 Improve queueing of inputs to avoid baking the same input twice.
Fix generation of input URL.
Fix worker log levels not being set correctly.
2019-05-02 11:29:54 +01:00
j433866
b2406b0465 Run set() when a bake is cancelled.
This will make sure the output shows the most recently baked data,
and also shows the stale indicator if needed
2019-05-02 09:20:28 +01:00
j433866
ff9c68db56 Update handling of bake errors.
Add preview thumbnail for image input.
2019-05-01 17:08:36 +01:00
j433866
1cedc94652 Fix status messages for baking 2019-05-01 15:19:01 +01:00
j433866
02bda3250b Fix magic button.
Fix download all files not working
2019-05-01 14:46:05 +01:00
j433866
f6f60e8203 Update LoaderWorker to not use messagechannels 2019-05-01 14:13:40 +01:00
j433866
55beb433f3 Go back to sending messages via the main thread.
A MessageChannel is faster on Chrome, but causes issues in Firefox.
Bake button now says "Loading..." when the inputWorker is gathering inputs for baking
2019-05-01 14:12:36 +01:00
j433866
2fff18cb61 Don't create a new loaderWorker until we need one.
This was causing issues on single core systems after I got rid of the active status as we had already reached the max number of workers.
Instead, we just create a loaderWorker when needed as loaderWorkers are small enough!
2019-04-30 15:23:41 +01:00
j433866
6d8bf3a08a Enable filter buttons in manager 2019-04-30 14:45:34 +01:00
j433866
13ee79a06b Add searching for inputs 2019-04-30 14:15:05 +01:00
j433866
b4208ede3b Add clear io button.
Fix some weirdness with removing tabs
2019-04-30 13:34:00 +01:00
j433866
a96cb3f99f Add clear all io button. 2019-04-30 13:18:22 +01:00
j433866
1f39a922d1 Reset bake button background when state changed 2019-04-30 12:58:29 +01:00
j433866
145fba5949 Input pasting now works 2019-04-30 11:48:01 +01:00
j433866
8cb86c364d Increase file limit 2019-04-26 15:19:17 +01:00
j433866
6d98014ad2 New max limit for files 2019-04-26 15:16:15 +01:00
j433866
1cf83c2485 Change baking to send all inputs individually.
Re-enable go to tab button.
Active tab is now autobaked on load completion.
Handle (ish) loaderWorker errors.
Improve load performance.
2019-04-26 15:15:44 +01:00
j433866
7b169fb798 Add css for search box 2019-04-25 16:33:02 +01:00
j433866
406cbb0f41 Move input logic into a new worker (InputWorker)
Change OutputWaiter to use dict of outputs instead of list
LoaderWorker communicates with InputWorker using a messagechannel
2019-04-25 16:32:48 +01:00
j433866
6d8daac5ca Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-04-23 09:02:04 +01:00
j433866
82186c8592 Add search box for input tabs 2019-04-23 09:02:00 +01:00
j433866
f099a352b3 Change get input function calls 2019-04-23 09:01:25 +01:00
n1474335
8f450501cc Downloadble version is now a .zip file instead of a single .htm file 2019-04-12 18:54:31 +01:00
j433866
bd3777f9de Change maximum file size in readme 2019-04-05 10:51:39 +01:00
j433866
9690ccd8a0 Fix being unable to go to tab 1 2019-04-04 14:42:21 +01:00
j433866
0804647441 Load in the right order 2019-04-04 13:14:45 +01:00
j433866
76da287cca Bake in the right order 2019-04-04 13:13:38 +01:00
j433866
8739dd97d6 Change srcElement to target
(srcElement is non-standard)
2019-04-04 13:13:21 +01:00
j433866
de21f14fd8 Move the tab buttons onto the tab bar 2019-04-04 10:57:01 +01:00
j433866
b90cca77a9 Fix more tab weirdness.
Move tab buttons onto tab bar.
Calculate size of maxTabs automatically on page load.
Display total execution time when a bake finishes.
2019-04-04 10:15:13 +01:00
j433866
1eadc08098 Fix some weirdness with tabs.
Adjust worker logic to avoid closing and reopening a worker as often
2019-04-03 16:05:10 +01:00
j433866
9df26b8c84 Output tabs now (mostly) work.
Add downloading files as an archive (needs work)
Add option for keeping the tabs in sync
2019-04-03 12:00:47 +01:00
j433866
e0c9aba25e Improve WorkerWaiter and OutputWaiter.
- Will run and display outputs in the output area as they're baked
- Creates output tabs
- Can change output tabs (only the first 4 at the moment)
2019-04-02 16:58:36 +01:00
j433866
2cb33bfec4 Bring up to date with master 2019-04-02 16:54:34 +01:00
j433866
2aad7647ef Add tab buttons (don't work yet).
Change some of the HTML around the tab bar
2019-04-02 16:53:15 +01:00
j433866
cd094d1475 Change "input-tabs" id to be for the actual ul element.
Automatically disable auto-bake if more than 20 files are input.
2019-04-01 16:15:09 +01:00