Commit graph

86 commits

Author SHA1 Message Date
Robin Scholtes
5d876fb09a move disable-icon click functionality to c-recipe-li 2023-08-15 12:31:59 +12:00
Robin Scholtes
b7e0518cc7 move operation removal from recipe list to c-recipe-li and remove all associated old code 2023-08-15 11:28:06 +12:00
Robin Scholtes
36224388fb rename c-ingredient-li to c-recipe-li, update TODOs 2023-08-14 22:00:15 +12:00
Robin Scholtes
f176a1106a search result highlighted strings, do not add op to recipe on escape 2023-08-07 16:42:06 +12:00
Robin Scholtes
ede69a7a1a restore recipe list ordering, properly removing c-ingredient-li and update 'selected' checkmarks in c-op-list 2023-08-02 18:54:00 +12:00
Robin Scholtes
4a07d52230 restore recipe on refresh 2023-08-02 17:38:52 +12:00
Robin Scholtes
f80fe0f4e5 remove listener 2023-07-24 15:02:36 +12:00
Robin Scholtes
a3fa46eb09 remove listeners from Manager 2023-07-24 12:12:12 +12:00
Robin Scholtes
6f6e9cce39 add c-operation-list so any of these elements ( category list, category list item, operation list, operation list item ) can be created individually or simply through their parent. Also fix some annotations across the app that used event instead of Event, causing the IDE to get confused 2023-06-16 17:08:43 +12:00
Robin Scholtes
b1b0be254b introducing and refactoring to using custom components for building category / cat lists / operation lists. This allows us to group relevant functionality more efficiently, easier maintenance in the future. We could, one by one, refactor and encapsulate components across CC in this manner. A very convenient and much needed effect of this implementation is that these components can hold functionality and references exclusively pertaining to themselves. Separating said functionality increases code compartmentalisation while references and event listeners requiring these references are guaranteed to be up to date with the component at all times. 2023-06-16 12:09:04 +12:00
Robin Scholtes
4e67556518 [#181] update function name 2023-05-23 20:05:27 +12:00
Robin Scholtes
4b030c7d61 on user test request: when the recipe pane is maximised but the rec-list is empty, open the operations-dropdown on click of the recipe-list ( which holds no items ) 2023-05-15 20:54:49 +12:00
Robin Scholtes
9fbef2c163 [#181] cleanup to prep draft PR for PR 2023-05-10 23:08:14 +12:00
Robin Scholtes
a7a76ec7ef [#181] update README, run / fix lint 2023-05-10 21:53:29 +12:00
Robin Scholtes
5362f9fda4 [#181] add 2023-05-09 22:14:36 +12:00
Robin Scholtes
ee9ea051d1 [#181] handle the correct resetting of layouts in any maximised pane situation, i.e. window resizing while panels are maximised etc. Prevent mobile keyboard popup window resize events to trigger layout resetting when panes are maximised, use JS to calculate the innerHeight available for mobile devices as they are of variable / unreliable / inconsistent heights 2023-05-09 14:56:44 +12:00
Robin Scholtes
7fff6f51dc [#181] use 'regular' listeners for the maximiser icons, left a note for future reference 2023-05-02 18:29:30 +12:00
Robin Scholtes
4c2c934cd4 [#181] add maximiser icons to recipe, input and output, and handle maximising of targets accordingly. Desktop view remains as normal, where only output can be maximised 2023-05-02 16:58:20 +12:00
Robin Scholtes
caa57aeb74 [#181] rename hideOperations / resetOperations to more semantic name 2023-04-20 19:21:15 +12:00
Robin Scholtes
e74d7998fd [#181] resetOperations on escape key 2023-04-18 22:28:19 +12:00
Robin Scholtes
7648c6dce4 [#181] add some rudimentary code to open and close operations at the appropriate moments 2023-04-17 20:44:47 +12:00
n1474335
0b2cb7e68c Added fine-grain timing for aspects of the bake. Improved efficiency of autobakes and moved output decoding into a worker. 2023-02-03 14:55:15 +00:00
n1474335
d6159cc154 Event bug fixes 2023-01-13 16:46:41 +00:00
n1474335
771a013c9f Removed output-file markup and handlers 2022-12-09 20:12:15 +00:00
n1474335
bdb8c02d5a Input and Output encodings are now saved per tab 2022-10-21 18:29:52 +01:00
n1474335
16b79e32f6 File details are now displayed in a side panel and the input is still editable 2022-09-02 14:34:23 +01:00
n1474335
e93aa42697 Input and output character encodings can now be set 2022-09-02 12:56:04 +01:00
n1474335
0dc2322269 Fixed dropping text in the input 2022-07-11 13:57:28 +01:00
n1474335
5c8aac5572 Improved input change update responsiveness 2022-07-11 13:43:19 +01:00
n1474335
890f645eeb Overhauled Highlighting to work with new editor and support multiple selections 2022-07-10 22:01:22 +01:00
n1474335
68733c74cc Output now uses CodeMirror editor 2022-07-02 19:23:03 +01:00
n1474335
85ffe48743 Input now uses CodeMirror editor 2022-06-29 18:02:49 +01:00
n1474335
813a151524 Added 'Show all' button to output file overlay 2019-12-13 12:59:59 +00:00
j433866
9f2d1453ed Make the wordWrap change event only fire when the
word wrap checkbox is changed
2019-08-22 11:26:43 +01:00
n1474335
566517d20f Imports now specify the file extension to support Node v12 2019-07-09 12:23:59 +01:00
n1474335
e4e32a9c56 Merge branch 'master' into v9 2019-07-05 12:30:28 +01:00
n1474335
5eb3979504 Updated dependencies and linter 2019-07-05 12:22:52 +01:00
j433866
4312d39624 Show or hide thumbnail when the option is changed. 2019-07-03 11:41:22 +01:00
j433866
34d03973f9 Improve queueing for getDish... messages.
Force wheel event to be not passive.
Change maxworkers to be navigator.hardwareConcurrency - 1
2019-06-13 14:48:28 +01:00
j433866
8c2cc5b6d2 Improve removing tabs experience 2019-06-07 13:52:04 +01:00
j433866
c2087f6d5f Move tab logic into a new TabWaiter 2019-06-06 16:33:35 +01:00
j433866
b77239fc15 Move waiters and workers into separate folders. 2019-06-06 09:09:48 +01:00
j433866
99e9df0211 Holding down on tab change buttons will scroll.
Hide loading stats when there's only one input
2019-06-04 11:42:27 +01:00
j433866
2575a762e1 Make input and output tab areas scrollable 2019-06-03 16:10:05 +01:00
j433866
d3e8616e90 Add close all tabs button to input tab dropdown 2019-06-03 15:12:59 +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
9b2f44efb1 Turn extract click listener back on.
Add shadow to tabs when there are more tabs that aren't displayed
2019-05-29 16:29:34 +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
0cff7bdd04 Improve handling of OperationErrors.
Make output filter refresh when changing stale or errored checkboxes
2019-05-15 16:24:49 +01:00
j433866
413e80ed3e Add clicking on output search result 2019-05-15 16:03:18 +01:00