xdebug-helper-for-chrome icon indicating copy to clipboard operation
xdebug-helper-for-chrome copied to clipboard

Better UX for enable / disable

Open silverqx opened this issue 8 years ago • 5 comments

I want to ask or have a suggestion, if would be possible to enable / disable debug by one click on icon and to open popup on double click or on middle click.

I'm asking this, because i'm working with this ext everyday and enabling and disabling xdebug milion times per day, so UX would be really better and faster. 🚀

May be some checkbox in settings like Show popup on middle-click would enable this feature, default behavior would be like it's now.

silverqx avatar Jul 22 '17 17:07 silverqx

Interesting idea, but I'm not sure this is possible with the Chrome extension APIs. If it is it wouldn't be too hard to create this. I dont have the time to research this right now, but a PR is welcome!

mac-cain13 avatar Jul 26 '17 06:07 mac-cain13

I check it and let know.

silverqx avatar Jul 26 '17 07:07 silverqx

It's not possible.

silverqx avatar Jul 26 '17 11:07 silverqx

But would be possible to add Don't open popup, just enable / disable xdebug to options, so when user clicks on xdebug helper icon, popup will not be opened, just xdebug cookie will enabled / disabled, what do you think, can I create PR?

silverqx avatar Jul 26 '17 11:07 silverqx

link to PR #82 🔥

silverqx avatar Jul 26 '17 20:07 silverqx