Right click -> Hold click #22149
Replies: 2 comments
-
Right click on a browser’s page is supposed to show a browser’s context menu. |
Beta Was this translation helpful? Give feedback.
-
Sure, as it's a built-in function of the browser. Which, to be fair, is the standard for just about all web apps. But the problem is: most web-apps therefore completely avoid using any sort of "secondary click". But this is only because most web-apps aren't complex enough to require it, and find a different way to solve it (usually an ellipsis menu). HASS very much is complex enough. And the ellipsis menu solution is already taken. Think of something like Google Drive, which has a similarly feature-rich UI. In this case, though, because lovelace has configurable options for Regular and Hold clicks, I think the clear best solution (or at least first step) would be to have an option so that the right click emulates that. Edit: From what I can see (this is literally my first time looking into the code base), then this should be about it: if (options.hasHold) {
fireEvent(target, "action", { action: "hold" });
} I was hoping to write a simple js script that can fire the event for me, but as the elements prevent the bubbling, I don't even have a chance to catch it on the document. |
Beta Was this translation helpful? Give feedback.
-
I feel like a crazy person to have to ask for this, but I want Right Clicks to be usable.
Since the dawn of computers, left click has been the default interaction and right click the more advanced one.
This, when translated to mobile, became
tap
andhold
.HomeAssistant (or lovelace?) only has a mobile's functionality, even on PC.
I can't imagine 99% of the user base would never ever use HASS on a PC. And I'm still not sure if this feature missing is perhaps a weird configuration issue.
(Although I did check the demo and it also does not have this feature)
I've never used any other application that simply refuses to use the right click but has basic interaction tied to holding a click.
I don't think I'm exaggerating when I say that it is the number 1 reason I think about abandoning my entire smart home for.
Surely I'm doing something wrong because I don't see a single complaint about it on here, nor on the forums or even on reddit. So, surely, it must actually work, right?
Beta Was this translation helpful? Give feedback.
All reactions