An option to disable the popup window when launching an extension

Status: Rejected

Created by jjs 23 Dec 2010 14:52

rating: +1+x

**STE **


wdavatar?user=ed-johnson
Ed Johnson

23 Dec 2010 16:47. Edited 0 times. (Edit, Permalink)
I don't find the current implementation particularly annoying, but agree that this would be a good option.

Unless or until we have an undo option, I would probably leave the popup turned on. Example: I went to insert Bryce's tweet button and selected MDesign's Twitter Widget by mistake. As soon as I saw the popup, I realized my mistake and could cancel and select the right extension. Either way, it's not a big deal since I could simply delete what was inserted incorrectly and do it again.

A good place for this option would be right in the dialog box when we choose the extension. Similar to other dialogs, there could be a checkbox that says "Do not show this dialog box again". Then in the settings for the extensions, we should have a way to reset that option back to the default.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=jjs
jjs

23 Dec 2010 20:39. Edited 0 times. (Edit, Permalink)

A good place for this option would be right in the dialog box when we choose the extension.

This is even better, this way you could decide on which extensions you want the popup to appear instead of completely turning it off.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

23 Dec 2010 21:49. Edited 0 times. (Edit, Permalink)
Putting it in the dialog sounds easier than it is! ;-)

I could probably get that working if I modify the way extensions work, but the problem there is that it will break all of your existing extensions (until you re-install them) - so I'd have to put up a warning on the release thread & download page to make a list of the IDs before you update, so you know which ones to re-install.

Firstly I'll see if there's another way for me to achieve this without breaking existing extensions… because I'd prefer to avoid that if possible.

For some extra background info, here is what I sent to jjs in a PM about this:

jjs:
I quickly tested the newest version of STE and there was one very little but a bit annoying thing. When using an extension (adding it to your page), it pops up a little window (with the author's name) and asks you to launch the extension. I think the extension should be launched immediately when clicked (if an extension is accidentally launched, it's no problem because you can easily erase it afterwards).

Me:
Yes, you can quite easily undo whatever the extension does at the moment… But future extensions will include interaction with the API and therefore some may create or move pages on your wikidot site - so accidentally pressing the wrong keyboard shortcut (forgetting which Alt+# is associated with each extension) was what I was most concerned about.

I could possibly allow you to disable the message yourself, but have it enabled by default. That would mean that if you want to prevent it from showing up you can, but it's there as a safety precaution by default.

Will have to think some more on how to do this.

My future plans for the dialog were that I could auto-detect certain things that an extension does and show you warnings before you launch the extension (particularly useful if automatic updating is enabled and you don't realise the extension has changed in the background).

Possible warnings:

  • "This extension shows you 100 popups"
  • "This extension uses the import feature on these sites: site-I-dont-want-anyone-importing-from.wikidot.com"
  • "This extension is capable of detecting your OS name and version"
  • "This extension has received negative feedback from users, it might not be reliable or trustworthy"
  • etc.

So I will definitely be keeping the confirmation dialog there by default. The part left undecided so far is how I should implement the ability to disable this if people wanted to. Will think on it a bit.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=jjs
jjs

24 Dec 2010 06:04. Edited 0 times. (Edit, Permalink)

My future plans for the dialog were that I could auto-detect certain things that an extension does and show you warnings before you launch the extension (particularly useful if automatic updating is enabled and you don't realise the extension has changed in the background).

If you really could somehow make STE to detect the potentionally harmful extensions, there wouldn't be a need for option to turn it off. In my opinion, this would be a very fine solution.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

02 Feb 2011 11:27. Edited 0 times. (Edit, Permalink)
STE now shows warnings for what you call "potentially harmful extensions". If you've got any feedback on this, please let me know.

I've just marked this wish as Accepted, because I plan to let you disable the dialog for extensions that don't have any warnings. Anything that throws a warning will always show the dialog, no matter what. In fact… I was close to adding this to 3.25 but removed it at the last moment.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

29 Apr 2011 16:40. Edited 0 times. (Edit, Permalink)
Rejecting due to lack of interest (just 1 rating). If this ever reaches a vote >3 then I will look at it again.

Included page "inc:signature" does not exist (create it now)

Post Reply

Add reply on "An option to disable the popup window when launching an extension"

CSS Theme, Images and Code on this website are © Shane Smith 2010-2012. All forum posts by users and documentation licensed under Creative Commons BY-NC-SA 3.0 License.