-
Notifications
You must be signed in to change notification settings - Fork 8
Laundry List
A list of improvements are provided, these are not listed by preference:
-
To add a widget plugin structure. This will enabled new widgets to be designed in separate JavaScript files an example might be a new Grid Widget. A Javascript file called "grid_widget.js" could be developed. It will then be possible for the main API "mm.js" to pick up this new widget so that it can be added to Swanc with no code changes to "mm.js". Having a widget plugin structure will enable other developers to quickly develop new widgets that can be shared.
-
Use JSON files instead on XML files for the configuration. This should allow for quicker loading and also will remove the need for jQuery.
-
Provide more examples and improve the Kitchen Sink. More clear and precise documentation.
-
As we have a messages.xml file to externalise the strings, it might be good to have a similar file to externalise colours. Instead of writing
<Colour>#FFFFFF</Colour>
it might be a good idea if the developer can define this in an external colours.xml file. So they would write<Colour>WHITE</Colour>
. This idea may be extended further to include theming. -
The name for "Swanc" came from my 3 year old daughter. She often says "Swanc" and laughs. When I ask her what "Swanc" is, she informs me that is what Dinosaurs say. It would be great to get a logo for Swanc around Dinosaurs. This Dinosaur theme could then be used throughout examples, documentation and the Kitchen Sink.
-
There needs to be a way to validate the XML configuration files, or JSON files in the future. Some kind of checker could be created, or it might be even better to create a plugin for Eclipse so that code could be checked as the developer was typing it.
-
Input widget. The input widget, although it works could do with some improvements. People have written word processors using the HTML5 Canvas Tag so I am sure this could be improved.
-
Add a select widget. Add a standard HTML5 select tag over the canvas within this widget. Then when the user selects the standard picker for iOS or spinner for Android is shown to make the selection.
A list of problems are provided, these are not listed by importance.
-
It is necessary to check that when a page completely covers another page, that the page under is not drawn to improve performance in certain circumstances.
-
"Propogate" should be spelt "Propagate" in mm.js file.
-
Kitchen Sink is not complete. There are certain menu items that do not do anything, because those pages have not been implemented yet.
-
Label is currently not working on the Input widget.