Hi everyone, first time poster here…
I've started working on a UI Plugin and have come across a few things I'd like
to inquire about and run by some of you:
-Internationalization: I see that the UI has a system for internationalization,
but I don't see a way for UI plugins to contribute strings to the dictionary
without baking their own or copying the internationalization mechanism. Are
there any plans to dynamically include internationalized strings for a plugin?
-Wizard, Dashboard and Infrastructure-like Widgets: The list view and detail
view widgets are really cool and super easy to use. In our plugin we'd like to
be able to create our own wizard in a similar fashion to the instance and zone
wizards. We also really like the look of the Infrastructure and Dashboard pages
and would like to create something similar as a landing page for our plugin. So
far we've made a Infrastrucute-like page by copying some of the code from the
Infrastructure page, but it's not all that pretty. Are there any plans to
abstract out some of the wizard creation logic from those two wizards to create
wizard widget and/or a widget like the Dashboard and Infrastructure pages?
-Unquoted JSON values: Some will claim this is a bug on our side, some would
say it is a CS bug, so we'll see what people think… The JSON spec says that
numeric and boolean values do not need to be quoted. However, throughout the UI
code, values are taken from data providers and directly checked like:
if (value) {
// do something
}
This causes problems when value is 'false' or '0' (without the quotes). The
simpler solution may be to make our server quote all values (including numerics
and booleans), but I just wanted to bring up that the UI code will not work
despite input meeting the JSON standard.
Thanks,
Chris
--
Chris Suich
[email protected]
NetApp Software Engineer
Data Center Platforms – Cloud Solutions
Cisco, Citrix & Red Hat