Commit graph

46 commits

Author SHA1 Message Date
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
85fff21068 search results functionality 2023-08-03 16:57:08 +12:00
Robin Scholtes
8ebce91834 remove oplistcreate references, reorder arguments for COpList 2023-07-25 14:51:34 +12:00
Robin Scholtes
4dcf6d1efc reduce selector complexity a little 2023-07-25 13:25:55 +12:00
Robin Scholtes
7340ebd85e remove unused / moved code 2023-07-24 15:01:38 +12:00
Robin Scholtes
0830ece0fb fix selector, remove some unused code 2023-07-24 12:14:59 +12:00
Robin Scholtes
840b6155f1 Handle selected, favourite classes and rerendering of the favcat accordingly 2023-07-21 11:48:43 +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
bff22d4b7f [#181] refactor favourites updating: rather than building all of the ops-lists in Operations every time a new operation is added or removed, only rerender favCat and handle the updating of the individual operations 'favourite' classes and icons 2023-05-23 20:15:15 +12:00
Robin Scholtes
df781bec00 add function to check for window width and use that throughout the app for more convenient future use 2023-05-12 17:50:46 +12:00
Robin Scholtes
6a1514db30 rename functions to better adhere to conventions 2023-05-12 17:34:39 +12:00
Robin Scholtes
5b39d0fe65 change updateVisibility func name to setElementVisbility 2023-05-12 17:20:11 +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
f1257ea356 bit of refactoring 2023-05-09 18:42:14 +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
89c1ab12ab [#181] update opListCreate to desktopOpListCreate ( to always include drag events and popovers ) and the inverse for mobile. Now it is ready for window resizing 2023-04-27 21:35:50 +12:00
Robin Scholtes
c6cc998100 [#181] fix search result data-name issues ( purging html only for data-name attribute, update op-list checkmarks accordingly ) 2023-04-27 21:13:14 +12:00
Robin Scholtes
bc93969d4b [#181] correctly handle checkmarks after favourites updates and resetting, update addSelectedClass to put selected on all operations with target data name ( as sometimes there will be 2 of the same rather than 1, in the case of a favourited operation ). Make updates to pass the op-title around based by the data-name attr instead of innerText 2023-04-27 14:40:08 +12:00
Robin Scholtes
5e9aa5cd09 [#181] fix selected / checkmark classes on operation list, based on the current recipe list. Update TODO 2023-04-26 23:08:44 +12:00
Robin Scholtes
ccc5095763 [#181] remove obsolete func, some debugging > updating todos with observations 2023-04-24 23:48:32 +12:00
Robin Scholtes
ec45d95244 [#181] add 'selected' class on double click, which is not visible on desktop ( but we can easily opt to leave it there if we would want to ) 2023-04-24 22:55:55 +12:00
Robin Scholtes
2a9080fb3d [#181] update opListCreate with new draggable param for mobile, update opDblClick to use data-name instead of innerText 2023-04-24 22:41:22 +12:00
Robin Scholtes
6a1501e7ae [#181] fix glitchy modal popover ( popovers get reinitialised after drag events. This still happens on mobile ops-list ) 2023-04-24 16:13:02 +12:00
Robin Scholtes
4a761673c0 [#181] disable popovers on mobile UI on init and resizing events 2023-04-24 11:32:34 +12:00
Robin Scholtes
a252c34968 [#181] add disabling of popovers on small screens, update todos and operation CSS 2023-04-23 11:20:01 +12:00
Robin Scholtes
a547935f0a [#181] resolve favourites cat closing on initial opening mobile UI, update TODO 2023-04-20 20:54:14 +12:00
Robin Scholtes
3d03a31f38 [#181] refactor some of the event handler in OperationsWaiter 2023-04-20 19:45:37 +12:00
Robin Scholtes
caa57aeb74 [#181] rename hideOperations / resetOperations to more semantic name 2023-04-20 19:21:15 +12:00
Robin Scholtes
7ae22ff16b [#181] resolve operations-dropdown behaviour: search-result are at the top if applicable, categories below. clearing search value will display categories 2023-04-20 14:59:22 +12:00
Robin Scholtes
12116e53b1 [#181] move setVisibility to App.mjs since it's pretty generic and could be reused. Update TODO 2023-04-19 23:31:06 +12:00
Robin Scholtes
0ab31ac897 minor 'typo' fix in OperationsWaiter setVisibility doc 2023-04-19 18:27:15 +12:00
Robin Scholtes
e74d7998fd [#181] resetOperations on escape key 2023-04-18 22:28:19 +12:00
Robin Scholtes
2093dac4f9 [#181] remove scattered todos and aggregate in temporary todo.txt file, add new css files to split up huge IO stylesheet for better future DevX 2023-04-18 20:22:41 +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
a895d1d82a Added 'Parse TCP' operation 2022-05-30 18:06:15 +01:00
n1474335
8ad18bc7db Added 'Fuzzy Match' operation 2021-02-12 13:51:51 +00:00
n1474335
1abc46058c Added a CodeQL workflow to check for bugs through code analysis. Fixed numerous bugs and implemented safeguards as already reported. 2021-02-10 13:13:19 +00:00
n1474335
83e49da7f6 Fixed description hiighlighting issue 2021-02-09 11:37:25 +00:00
n1474335
ba66fd6546 Fixed recursive matching arguments 2021-02-05 19:04:27 +00:00
n1474335
21236f1938 Added fuzzy search for operations 2021-02-05 17:54:57 +00:00
n1474335
9d73127cae Fixed some typos 2019-10-16 15:38:20 +01:00
n1474335
566517d20f Imports now specify the file extension to support Node v12 2019-07-09 12:23:59 +01:00
j433866
b77239fc15 Move waiters and workers into separate folders. 2019-06-06 09:09:48 +01:00
Renamed from src/web/OperationsWaiter.mjs (Browse further)