Thanks for taking the time to post this. I can see how this would be convenient.
We haven't worked out how we're going to expose standard extension config/info UI yet, so this is a little ahead of the game. For example, what if the extension is primarily working off of cloud data? They may prefer to do their preferences from a server page. If we have some standard UI for getting to an extension's preferences, it would still be good for them to be hooked into this. I wouldn't expect you to try to anticipate all of the use cases that we need to support here yet, so it's probably best to wait a little bit before spending much more time on this. A few specific bits of feedback: * Auto-generated forms are somewhat notorious for having pretty poor UI. It might be hard to get this to look nice, especially if an extension has many options. For example, you might need to think about ways of grouping options. As you start adding more options to compensate for these issues, the format becomes more and more complex. Not saying this is a show-stopper, but it's a problem. * They also can wind up being really inflexible. Invariably there's some case that isn't supported. Given this, your proposal would need to have an escape hatch to allow someone to define additional UI that went along-side the auto-generated UI. * Validation of multiple values together is pretty common, so I'd suggest an overall validation function rather than a per-field validation function (maybe that indicated which field was changing). * We use JSON schema for a few things similar to this already, so I'd suggest that this proposal use that as the format for the data description. If we need to add extra fields on top of it, that's fine, but the base data definition is pretty well thought-out. Erik On Sat, Sep 26, 2009 at 8:11 AM, Lukas Manser <manserlu...@gmail.com> wrote: > > Sooner or later every extension developer will ask himself the > question of how to let the user configure some states. It shouldn't > take him hours to implement such a system so i thought this could be a > nice feature of the API. > > http://docs.google.com/View?id=dcnm4b7m_1hk2ggbdv > > Thanks > Lukas > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensions@googlegroups.com To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---