Improve menu layout versatility
See original GitHub issueFor example, these are my cameras:
The issues with the available layouts are:
- Hidden/Overlay/Hover Top -> clashes with my camera’s watermark
- Hidden/Overlay/Hover Bottom -> clashes with UI buttons when using HA or WebRTC live view provider
- Hidden/Overlay/Hover Left -> As it starts from top to bottom, also clashes with the watermark
- Hidden/Overlay/Hover Right -> Too close to my PTZ controls
Of course, my current best option is to use “Above” or “Below”, but if I had a “Overlay Top Right”, that would be my preference.
So, the suggestion is to have some additional config modes, so that:
'none',
- 'hidden-top',
+ 'hidden-top-left',
+ 'hidden-top-right',
- 'hidden-left',
+ 'hidden-left-top',
+ 'hidden-left-bottom',
- 'hidden-bottom',
+ 'hidden-bottom-left',
+ 'hidden-bottom-right',
- 'hidden-right',
+ 'hidden-right-top',
+ 'hidden-right-bottom',
- 'overlay-top',
+ 'overlay-top-left',
+ 'overlay-top-right',
- 'overlay-left',
+ 'overlay-left-top',
+ 'overlay-left-bottom',
- 'overlay-bottom',
+ 'overlay-bottom-left',
+ 'overlay-bottom-right',
- 'overlay-right',
+ 'overlay-right-top',
+ 'overlay-right-bottom',
- 'hover-top',
+ 'hover-top-left',
+ 'hover-top-right',
- 'hover-left',
+ 'hover-left-top',
+ 'hover-left-bottom',
- 'hover-bottom',
+ 'hover-bottom-left',
+ 'hover-bottom-right',
- 'hover-right',
+ 'hover-right-top',
+ 'hover-right-bottom',
- 'above',
+ 'above-left',
+ 'above-right',
- 'below',
+ 'below-left',
+ 'below-right',
But I think it could be greatly simplified to end user if new attributes were added. Like:
style: "hidden", "overlay", "hover", "flat" // "flat" is equivalent to "above" and "below"
position: "top", "bottom", "left", "right" // for "flat" style, the options "top" and "bottom" controls the previous "above"/"below".
corner: "top", "bottom", "left", "right" // configuration UI should only show "top" and "bottom" when position is "left" or "right", and vice-versa
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Boost menu versatility while keeping costs low
Prioritizing versatile options shouldn't mean increasing costs or labor, however—and pre-portioned dipping sauces are just one great way.
Read more >Top 11 Tips For Crafting the Perfect Restaurant Menu
1. Make sure the menu is easy to read. · 2. Don't overwhelm the customers with choices. · 3. Choose a cohesive design...
Read more >7 Tips for A Captivating Menu Design | Food Market Hub Blog
Depending on your restaurant's vibe, illustration keeps your menu versatile. Whether it's vintage, modern or minimalistic, there isn't any harm in spicing ...
Read more >How To Create A Restaurant Menu Design That Maximizes ...
You can also consider adding high-quality images of your menu items along with the menu descriptions that display the color, texture, and versatility...
Read more >Things You Should Know About Restaurant Menus - LiveAbout
Your restaurant menu can be your most important marketing tool. Try these tips for description, layout, and pricing to get it just right....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My Google-Fu has failed me. Thank you! Works amazing right-out-of-the-box. Especially since my cameras are amcrest 😄
@Hukuma1 but PTZ is already possible, check the README for examples. Here is mine: