Robin Scholtes
|
b3ad5bb303
|
function name change
|
2023-07-24 14:53:50 +12:00 |
|
Robin Scholtes
|
4ecd2bd32c
|
remove some lines and annotations moved to other files
|
2023-07-24 12:16:08 +12:00 |
|
Robin Scholtes
|
0830ece0fb
|
fix selector, remove some unused code
|
2023-07-24 12:14:59 +12:00 |
|
Robin Scholtes
|
a3fa46eb09
|
remove listeners from Manager
|
2023-07-24 12:12:12 +12:00 |
|
Robin Scholtes
|
7967bd4f08
|
remove unused function
|
2023-07-24 12:10:13 +12:00 |
|
Robin Scholtes
|
e40df1fec0
|
use mutation observer to observe fav class and update its icon accordingly any time mutation is observed
|
2023-07-24 12:09:35 +12:00 |
|
Robin Scholtes
|
1562c86211
|
updateFavourites to handle selected and favourite classes across the ops-lists
|
2023-07-24 12:08:37 +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
|
5f32df891b
|
A few annotations and event listener removals on disconnectedCallback
|
2023-07-21 11:47:00 +12:00 |
|
Robin Scholtes
|
6b0b368564
|
A few border touch ups for a cleaner and consistent look
|
2023-07-21 11:44:54 +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
|
1e5190cd7d
|
[#181] a few classname and selector updates
|
2023-05-23 20:19:20 +12:00 |
|
Robin Scholtes
|
8d14dfa554
|
[#181] add some functions that allow for an individual Category to be re-rendered ( such as Favourites, but can be used for any Category in the future if needed ), additional refactoring to make previously mentioned functionality work
|
2023-05-23 20:17:36 +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
|
51aa931dee
|
[#181] move isFavourite check up in toStubHtml to be able to add 'favourite' class on init as well
|
2023-05-23 20:11:40 +12:00 |
|
Robin Scholtes
|
2fe5cdc605
|
[#181] update function names and make the linter happy
|
2023-05-23 20:09:14 +12:00 |
|
Robin Scholtes
|
0aab3bdf5a
|
[#181] add a note for later refactoring
|
2023-05-23 20:08:20 +12:00 |
|
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 |
|