fastaddons / AI-Anywhere

Other
8 stars 1 forks source link

Retain last query in popout window after it closes #8

Closed SpitFire-666 closed 1 year ago

SpitFire-666 commented 1 year ago

Is your feature request related to a problem? Please describe. If you click anywhere outside of the AI popup, it closes, losing your query and result.

Describe the solution you'd like Either let the popup window stay open til user closes it, or retain the last query and answer when re-opening the popup.

Describe alternatives you've considered I want to avoid having to open a tab/window (to me defeats the purpose of the addon)

Additional context Thanks!

Juraj-Masiar commented 1 year ago

Hello, Sadly, addons cannot control the popup open state - browser will close it automatically once it looses the focus. Note that ChatGPT saves all conversations so if it generated response, you will see it in your history in the left side. Alternatively, change the "Context menu action" or "Toolbar icon action" in the addon settings to open not in Popup but in a "New window". That way it won't close and you can even move and resize it. And since it's a special "popup type" window, your browser will not use it for new tabs.

And one more tip - you can re-enter previous query by pressing arrow UP.

I know these are not perfect workarounds but the addon possibilities are very limited :(

SpitFire-666 commented 1 year ago

Thanks for the explanation, understood. I'll live with it!

Maybe a sidebar could be the way to go? Anyways you can close this ticket, cheers

Juraj-Masiar commented 1 year ago

I can do the sidebar for sure! I've done it in my some of my other addons so here it should be piece of cake :) I'll try to add it later this week (maybe on weekend since I have a lot of things I want to finish).