Remake Snippet Switcher Addon



6 years ago
2 years ago


(Reporter: mkelly, Assigned: mkelly)



Firefox Tracking Flags

(Not tracked)


(Whiteboard: u=admin c=addon p=3)



6 years ago
We've been getting reports of the snippet switcher addon malfunctioning for some users, or not working at all for others. In addition, there's several features that we've been wanting from the addon for a while.

The old switcher was built using a very old version of the Addon SDK and often runs into issues when a newer version comes out. Given this, I'd like to take on re-implementing the switcher using the latest Addon SDK.

Specific features:

- Simple Interface: Instead of blank textboxes, use dropdowns for things like release channel, version number, etc. Hide uncommonly-used fields.
- Advanced Interface: essentially the current one for use by experienced users.
- Pre-set server urls.
- Don't break all the time. :D

I'm estimating that this would take about a week to implement, perhaps two if there are unforeseen complications.


6 years ago
Target Milestone: 4.0 → Future

Comment 1

6 years ago

Comment 2

4 years ago
I'd still love to do this. An update on how the world has changed:

- about:home stores snippet data in IndexedDB now instead of localStorage.
- The Addon SDK has changed a bunch and may not be suitable for our purposes anymore.
- The snippets service has been rewritten.

And an extra feature I think would be useful:

- Ability to enter in a server and snippet ID and see only that particular snippet.

Someday. Someday!

Comment 3

4 years ago
A simple bootstrap add-on would probably do the job. I have a skeleton for a mobile boostrap add-on here, but I think this would work for desktop as well if you just add the desktop app id in the install.rdf:

For the UI, you could just make an html page in the content directory. Files in there still have chorme privileges, so you could use gecko APIs to flip the appropriate prefs. All the examples you would need are probably available here:

I would love to help work on this, but I don't think I have time right now.

Comment 4

2 years ago
So while it doesn't have all the options we dreamed of, such an addon was, in fact, made, and is still in use by some people today. Yay!
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.