Commit Graph

35 Commits

Author SHA1 Message Date
j433866 89c4f54ce8 Only show bake stats when theres more than 1 input
Better handle canceling a bake when inputs are loading
Don't create chefworkers if we don't need them
Fix capitalisation of bake stats
2019-06-03 14:09:03 +01:00
j433866 34b7c47533 Fix highlighting not working 2019-05-31 15:37:20 +01:00
j433866 d6a80b4865 Use toLocaleString for final bake stats 2019-05-31 09:59:23 +01:00
j433866 d94a431537 Improve searching for tabs UI.
Content / filename search is now a regex.
Use .toLocaleString() for loading / baking stats
2019-05-30 13:28:45 +01:00
j433866 12e4fe4120 Fix clear all button breaking everything.
Rearrange baking a bit to hopefully fix firefox
2019-05-29 14:08:37 +01:00
j433866 6c711ec211 Add and remove chefworkers when adding or removing inputs.
This increases the responsiveness of baking as it means we don't have to...
spin up workers when bake is clicked
2019-05-28 14:11:05 +01:00
j433866 7528065d4d Fix stepping again.
Add new getInput function to inputWorker
2019-05-28 11:59:57 +01:00
j433866 4dcd60adc0 Improve handling of displaying large outputs.
Bring getDishStr and getDishBuffer back.
2019-05-23 15:29:58 +01:00
j433866 cb86cb1882 Change baking to not send all inputs at once.
Add input debouncer.
Remove old HTML comments and unnecessary CSS
(Step is currently a bit broken!)
2019-05-20 16:53:56 +01:00
j433866 0e850b2a85 Fix stepping not working.
Use transferable object for sending arraybuffers to workers
2019-05-16 10:42:07 +01:00
j433866 0cff7bdd04 Improve handling of OperationErrors.
Make output filter refresh when changing stale or errored checkboxes
2019-05-15 16:24:49 +01:00
j433866 5d52f4a760 Add searching for output tabs.
Remove all existing chefworkers before starting a bake.
Clear breakpoint when starting a bake
2019-05-15 09:37:07 +01:00
j433866 2c02900edf Improve handling of errors.
Add parameter to some update functions for whether or not to set the output
2019-05-10 13:47:48 +01:00
j433866 aff0416405 Remove some comments 2019-05-09 09:07:28 +01:00
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 35d6c7d79e Bring highlighting back.
Fix backgroundMagic using output result instead of dish value
2019-05-07 14:20:18 +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 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 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 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 76da287cca Bake in the right order 2019-04-04 13:13:38 +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 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 c289e1beef 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)
2019-03-29 13:29:24 +00:00
j433866 61bc5436a2 Fix number of running workers not being correct.
(This needs some work!)
2019-03-27 09:26:01 +00:00
j433866 37428fbe3b Bake all inputs, not just the active tab.
Limits number of workers to number of cpu threads (4 if not supported)
Creates output tabs (switching doesn't work yet)
Disabled some highlighting for now.
2019-03-27 09:05:10 +00:00
n1474335 07715bd167 ESM: Rewritten src/web/ in ESM format. 2018-05-15 17:36:45 +00:00