Commit graph

55 commits

Author SHA1 Message Date
Robin Scholtes
421ea9e174 remove bootstrap x on search input as its not needed and just adding complexity at this moment 2023-08-14 18:48:59 +12:00
Robin Scholtes
5e6327a400 [#181] fix some event issues ( dragging and dropping, mobile taps ), fix popover issues ( popovers properly disappear ), eslint cleanup fixes 2023-08-14 17:34:23 +12:00
Robin Scholtes
8afcfa0b45 minor cosmetic consistency fixes with original 'design' 2023-08-14 15:45:11 +12:00
Robin Scholtes
daac91d970 completing all documentation and other such maintenance 2023-08-14 13:33:20 +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
85fff21068 search results functionality 2023-08-03 16:57:08 +12:00
Robin Scholtes
4ba31236e9 fix drag & drop settings mobile vs desktop 2023-08-02 19:01:03 +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
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
6e6d6e0ed5 update some docs, todo.txt 2023-05-15 22:01:23 +12:00
Robin Scholtes
b80525315d return imports to original ( assert {type:json}). This stops local dev from working though 2023-05-10 23:16:32 +12:00
Robin Scholtes
a7a76ec7ef [#181] update README, run / fix lint 2023-05-10 21:53:29 +12:00
Robin Scholtes
d774a50f13 [#181] set mobile ops-dropdown to fill all space except ops and banner. No need for the controls at this point while scrolling the ops 2023-05-10 17:09:26 +12:00
Robin Scholtes
fefb98e466 [#181] add splitter column minimal widths to prevent unwanted overflows under any situation 2023-05-10 15:39:15 +12:00
Robin Scholtes
0868d97cee [#181] adjust #controls panel template and css so it will automatically scale based on #controls height, which makes adjustWidth() redundant. Controls is now 50px height on mobile ( 70 was just a lot of wasted space that can be better spend ) 2023-05-10 15:27:43 +12:00
Robin Scholtes
222bb624ae [#181] decrease size of controls for mobile UI 2023-05-10 13:15:01 +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
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
8bed81c5ee [#181] disable tooltips on mobile UI 2023-05-02 20:42:57 +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
5916251893 [#181] fix output loading gears for mobile, add a _structure css file in /themes that is shared across themes 2023-05-02 17:54:28 +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
5d82ca66f3 [#181] handle checkmarks on window resizing 2023-04-26 23:16:28 +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
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
d0e8863555 [#181] a few cosmetic touch ups, todo update 2023-04-21 00:15:31 +12:00
Robin Scholtes
f1008cff56 [#181] remove double border in Operations - search. Update todo ( started testing on real mobile device ) 2023-04-20 22:00:20 +12:00
Robin Scholtes
d3eac1b208 [#181] update todo ( no need for prefixes, autoprefixer is installed ) 2023-04-20 21:22:01 +12:00
Robin Scholtes
79bbea9052 [#181] remove comments in template, update todos 2023-04-20 21:11:50 +12:00
Robin Scholtes
1fd72363bd [#181] remove calcControlsHeight as the component is always 70px in height now, and it caused issues on mobile UI. It's become obsolete 2023-04-20 21:05:44 +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
a40a5c8a04 [#181] Desktop: operations-dropdown is open and always visible ( on cat by default ) 2023-04-20 18:33:03 +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
4faaae3151 TODO update 2023-04-19 23:44:18 +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
f6b23ecca5 [#181] mobile layout: set heights of all components to make up 100vh 2023-04-19 23:16:43 +12:00
Robin Scholtes
c779d39a2b [#181] resolve lingering layout issues window resizing, update todos 2023-04-19 22:25:23 +12:00
Robin Scholtes
bc12a194a0 [#181] place controls in correct position on mobile and desktop, update todo, add new stylesheet for dividers 2023-04-19 21:47:22 +12:00
Robin Scholtes
58d4eb855c [#181] restore overall desktop UI 2023-04-19 21:21:04 +12:00
Robin Scholtes
44aa223d8c update todo 2023-04-19 18:26:11 +12:00