One of the most annoying things while cooking is having to unlock the screen with dirty hands, is there an option to keep the screen on (if it's not currently happening)?
There is currently no option for this - and grocy is only a webpage/-app, the Browser has access to your device, not grocy directly.
I don't think there is an official API for this, but maybe https://github.com/richtr/NoSleep.js looks promising which tries to solve this by playing an invisible video in the background...
There are also Browser extensions to help with that...
I am using NoSleep.js for another project, however I am using this PR which reduces the CPU load.
So far I had no issues with it and it is very simple to implement
Great, so let's add this as an option in the display menu (where also Night mode and so can be configured) as an option Keep screen on alongside with an option Only while displaying a fullscreen-card to only enable it when for example a recipe is displayed in "expanded mode"...
This is now done using NoSleep.js.
Two new options in the display menu:

Most helpful comment
Great, so let's add this as an option in the display menu (where also Night mode and so can be configured) as an option
Keep screen onalongside with an optionOnly while displaying a fullscreen-cardto only enable it when for example a recipe is displayed in "expanded mode"...