karlomikus / vue-salt-rim

Salt Rim is a Vue based web client used for connecting to Bar Assistant server instance.
https://barassistant.app
MIT License
102 stars 17 forks source link

Feat: avoid on mobile avoid screen to go black on cocktail recipe page #256

Closed daschy closed 4 days ago

daschy commented 1 week ago

When I am making a cocktail and I am reading the recipe from my phone's browser, after a few seconds the phone dims the screen and it goes black. I need to touch the screen (often with dirty fingers) in the middle of the recipe preparation.

Ideally it would be useful to have something like the toggle "Cook Mode" in the link below https://www.foodandwine.com/recipes/tom-collins

Thanks!

PS: awesome app btw

karlomikus commented 1 week ago

Hello,

There should be "Prevent screen locking" checkbox under "Instructions" when you click on a cocktail. That should do exactly what you want.

daschy commented 5 days ago

Hi,

I used dockers' dev and 3.4.1 versions, but I cannot see that checkbox. Is there any settings to update?

CleanShot 2024-11-22 at 16 52 11

CleanShot 2024-11-22 at 16 53 14@2x

PS: I saw the checkbox is present in the demo website

karlomikus commented 5 days ago

Make sure that you are running the client via https, it's required for this feature to work.

daschy commented 4 days ago

Done. I added ssl to nginx conf file and I see the checkbox

Thanks