Feature #507
Add plugin support to Sustone
Status: | Closed | Start date: | 03/02/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Hector Sanjuan | % Done: | 100% | |
Category: | Sunstone | Estimated time: | 25.00 hours | |
Target version: | Release 3.0 | |||
Resolution: | Pull request: |
Description
Prepare the Sunstone component to be extensible and customizable through plugins. Plugins should be able to add tabs to the main window and the info panels, add special buttons and actions and change the behaviour of standard ones.
Related issues
Associated revisions
Feature #507: Started reorganizing code.
- sunstone.js will be the main interface to use by plugins. It will set up the
layout on document ready(). It also contains the configuration now. - sunstone-util.js will contain util functions for the plugins and the datatable
handling - plugins/* will contain the plugins
Feature #507: Progressions in the plugin model. Simple dashboard plugin and
hosts plugin added
Feature #507: Action buttons, custom buttons, list buttons, confirm dialogs
and confirm with select dialogs seem to be working now.
Feature #507: Set up info dialogs configuration. Set up host tab create
dialogs for hosts and clusters. Small Bugfixes.
Feature #507: Started the rest of plugins, actions and buttons defined.
Feature #507: Finished coding the rest of plugins (they are untested and
probably full of small bugs)
Feature #507: Fixed bugs, typos, image attributes dialogs, dashboard
links.
This makes it an usable version , though there are some small fixes left.
Feature #507: Improved and fixed small bugs. Autorefresh and action conditions
now in place.
Feature #507: Improved addition of main tabs. Fixed bugs. Commented code.
Feature #507: Comments, code cleaning and small fixes.
Feature #507: Added notification of actions
Feature #507: Fixed showing the log tab
Feature #507: Finished reviewing code and adding comments. Small fixes here
and there.
Feature #507: Removed non-used files. They are not neccessary anymore.
feature #507: Made sunstone.js unaware of the existence of dataTables.
DataTables are a very particular object which is part of the
plugins. Therefore instead of having sunstone.js take a dataTable and find out
which elements are checked in order to run an action on them, this is now work
to be done by the plugins. They can use a helper called
getSelectedNodes(dataTable) to do that. Actions now define an "elements"
function which returns an array of elements, instead of having a "dataTable"
returning the dataTable of the plugin. runActionOnDatatableNodes not needed anymore.
Feature #507: Some fixes.
Fixed a couple of bad variable names in update/remove tab functions. Also
forced button enhancement when recreating the button sets.
Feature #507: Removed unused HTML in index.html. Added a commented line for
the dummy plugin.
Feature #507: Make Sunstone public functions homogeneus regarding parameters
names. Also fixed some typos.
Feature #507: Added notification of actions where it proceeds.
Feature #507: A couple of very small things.
Feature #507: Update install.sh with new sunstone plugin files
History
#1 Updated by Hector Sanjuan over 10 years ago
- % Done changed from 0 to 20
#2 Updated by Hector Sanjuan over 10 years ago
- % Done changed from 20 to 80
#3 Updated by Hector Sanjuan over 10 years ago
- % Done changed from 80 to 90
#4 Updated by Ruben S. Montero over 10 years ago
- Target version changed from 23 to Release 3.0
#5 Updated by Hector Sanjuan over 10 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
Plugin system is ready :)