Commit graph

25 commits

Author SHA1 Message Date
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
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
a7a76ec7ef [#181] update README, run / fix lint 2023-05-10 21:53:29 +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
5362f9fda4 [#181] add 2023-05-09 22:14:36 +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
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
cff0dbcd11 [#181] add 'draggable' bool param to createSortableList so we can disable drag/sort events on mobile UI if we need to 2023-04-24 22:40:10 +12:00
Robin Scholtes
4a761673c0 [#181] disable popovers on mobile UI on init and resizing events 2023-04-24 11:32:34 +12:00
n1474335
cab83cae35 Switched arg layout to use flexbox instead of css grid 2023-03-09 17:31:46 +00:00
n1474335
b92501ee35 Introduced use of conditional chaining operator 2022-10-28 13:24:03 +01:00
n1474335
7c8a185a3d HTML outputs can now be selected and handle control characters correctly 2022-07-18 18:39:41 +01: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
6a1d11b9b5 Argument hints are not tooltips instead of bmd-help elements 2019-10-31 13:39:06 +00:00
n1474335
566517d20f Imports now specify the file extension to support Node v12 2019-07-09 12:23:59 +01:00
j433866
dd5038c15b Bring up to date with master 2019-07-01 11:51:17 +01:00
j433866
b77239fc15 Move waiters and workers into separate folders. 2019-06-06 09:09:48 +01:00
Renamed from src/web/RecipeWaiter.mjs (Browse further)