Commit graph

3680 commits

Author SHA1 Message Date
Robin Scholtes
3a10e4a4fb [#181] update some function names and documentation 2023-05-23 20:07:24 +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
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
f5f0e91d51 update colours for better UX and implement AA minimum contrast 2023-05-15 14:18:10 +12:00
Robin Scholtes
9ec902a369 add a different background color on op selected, based on user test feedback 2023-05-15 13:34:13 +12:00
Robin Scholtes
82837254ea fix selected class bug messed up after refactoring 2023-05-15 12:52:13 +12:00
Robin Scholtes
9a7ec25493 rename recipeList var to recipeListItems ( since we are selecting list items ), and ingredient to item 2023-05-12 18:01:31 +12:00
Robin Scholtes
8649b90a04 optimise addSelectedClass func 2023-05-12 17:58:56 +12:00
Robin Scholtes
8ece85127a remove unneccesary array length checks 2023-05-12 17:55:41 +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
ec259dd793 replace ternary with for cleaner code 2023-05-12 17:30:10 +12:00
Robin Scholtes
5b39d0fe65 change updateVisibility func name to setElementVisbility 2023-05-12 17:20:11 +12:00
Robin Scholtes
5d46d763e1 set columnSplitter minSize operations to 360 to avoid confusion 2023-05-12 16:59:10 +12:00
Robin Scholtes
02a4dd5bd3 add local storage availability check, prep for code review 2023-05-12 14:47:45 +12:00
Robin Scholtes
5b25b74775 optimise 2023-05-12 10:57:23 +12:00
Robin Scholtes
41d511a396 [#181] check if localStorage has favourites at all to prevent errors when not available 2023-05-12 10:50:00 +12:00
Robin Scholtes
984ce61924 revert nightwatch paths to original test 2023-05-12 09:55:14 +12:00
Robin Scholtes
6b61567b5a setting up mobile tests 2023-05-11 20:24:09 +12:00
Robin Scholtes
6259e4b2ee [#181] bump nightwatch version 2023-05-11 11:35:22 +12:00
Robin Scholtes
0bb3a4325e [#181] update Chrome driver to 113 ( latest stable ) in order for Nighwatch to be able to run 2023-05-11 11:06:08 +12:00
Robin Scholtes
2c08ccf070 revert imports for development 2023-05-11 08:36:53 +12:00
Robin Scholtes
6242738230 typo fix 2023-05-10 23:22:56 +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
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
997f26e4f8 [#181] add breakpoint check in HTMLOperation so desktop doesn't get op description errors 2023-05-10 21:22:38 +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
a27de41328 [#181] reduce title-height from 48 to 40 2023-05-10 16:51:50 +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
793acb54de [#181] position rigt hand side icons in status_bar so the dropups are usable on mobile devices 2023-05-09 18:14:15 +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
f80284cb36 [#181] adjust Sortable recipe list for a nice mobile experience ('long' press before grab kicks in so you can still scroll normally ), add some visual feedback when sortable-chosen is set on a li, tweak the animations and threshold a bit for a nicer experience 2023-05-03 13:32:17 +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
093a3c4b77 [#181] change default panel heights based on some user feedback 2023-05-01 14:02:18 +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
8d693a7d0e [#181] tidying up with docs and notes for tomorrow :) 2023-04-26 23:24:30 +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