This thread will keep track of a running list of development notes and things that can be improved when moving the dashboard into metering. To start off with, here is a small list.

- Dashboard code is going to get merged into cloud_metering
- The pdf generation code is going to get removed for now. Until the dashboard functions, there is no need for pdf generation just yet
- CSS files have to get moved back into cloud_metering module
- dashboard_ui.inc and dashboard.inc files are both for rendering pages, and do not need to be distinguished, they should be merged somehow
- the "mimic" of primary tabs should be removed and should be defined in hook_menu, and use the correct menu_task
- raphael.js loading should be done in the libraries module for loading. Libraries module is a used in other parts of Clanavi and can be used for loading these js files
- Implement, correctly, filtering of the instance list. Try not use $_REQUEST variables for filtering
- If the instance list is long, the computations are taking a while. Investigate a better way to streamline this.
- Split up the dashboard page. Having both instance list and graphical displays might be contributing to the load time. This might be making the page more difficult to code up as well.

Comments

baldwinlouie’s picture

Issue summary: View changes

adding dev tasks and general notes upon looking at the module for the first time

baldwinlouie’s picture

- Turn the "instance popup" into an XHR call. This will lighten the page loading times
- combine raphael and Ico. Maybe we need to find one charting tool and not use two external libraries
- Yank the date format page, and use hook_date_format as such: http://drupal.org/node/989366#comment-6325826

baldwinlouie’s picture

Issue summary: View changes

added more notes

yas’s picture

Issue summary: View changes
Status: Active » Postponed
yas’s picture

Status: Postponed » Closed (outdated)