Right click -> Hold click #22149
Replies: 3 comments 2 replies
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
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.
-
thank you so much for posting this, i'm glad i'm not the only one frustrated by this!! i just installed home assistant for the first time and couldn't figure out how to hide a dashboard from the sidebar, and eventually found a forum thread saying i needed to click and hold on the "home assistant" text in the sidebar to get a dialog box where i could do that. there is zero chance i ever could have figured that out on my own, there's no indication that the header text is an interactable element. i also noticed that the web ui disables the browser right click menu on "long-click" elements so they could have easily made right click map to "long click", there's really no reason to not do this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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