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.
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!
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: https://github.com/leibovic/skeleton-addon-fxandroid 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: http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/Snippets.js I would love to help work on this, but I don't think I have time right now.
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! https://github.com/Osmose/snippet-switcher
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.