Polyglot icon indicating copy to clipboard operation
Polyglot copied to clipboard

[REQ] Button to hide popup without deselecting text

Open gingerbeardman opened this issue 5 years ago • 6 comments

Is your feature request related to a problem? Please describe. Polyglot translates all selected text, no mater what language, so it become difficult to select text for the purposes of copy and paste or quoting using web app forum popup.

Describe the solution you'd like I'd like a button to hide popup without deselecting text

Describe alternatives you've considered I have to select far more than the text I want as a workaround, see #70 (Maybe a 'copy' button)

Additional context Also see #29 (only translate "foreign" text)

gingerbeardman avatar Dec 24 '19 11:12 gingerbeardman

not sure of the situation you are facing. You can copy the text in the Polyglot panel. If it's about instant mode, I think it's faster to turn off instant mode or consider adding a toolbar button to switch instant translation feature. Furthermore, I think we can change the behavior in instant mode to cope with this issue.

uetchy avatar Dec 24 '19 11:12 uetchy

The polyglot panel hides things that I need to click.

gingerbeardman avatar Dec 24 '19 12:12 gingerbeardman

You can dismiss the panel clicking outside it. Adding a toolbar button to switch instant mode looks like a simpler solution to this. I don't use instant mode, and for such users, the hide button sounds a little too much complicated.

uetchy avatar Dec 24 '19 12:12 uetchy

Clicking outside panel also closes the web-app-ui that appeared on selection.

gingerbeardman avatar Dec 24 '19 19:12 gingerbeardman

I think Escape to close panel would be easy?

I will find time to add it myself.

gingerbeardman avatar Dec 24 '19 19:12 gingerbeardman

@gingerbeardman awesome! If you find any problem with the development setup, leave a comment here.

uetchy avatar Dec 25 '19 01:12 uetchy