As part of the module maintainer discussion it has been brought up to move from Visualization to Charts module (https://drupal.org/node/2042157#comment-7809335).

I have a larger patch that will be submitted after Drupal.org's schedule downtime tomorrow which removes the need for Visualization. However when the Visualization module was disabled the Reports dashboard JavaScript broke for toggling between block sections.

This is a cleanup of the module's JavaScript properly utilizing Drupal's JavaScript API.

Comments

mglaman’s picture

Category: Feature request » Task
Issue summary: View changes
mglaman’s picture

Re-rolling submitted patch to fix section switching. Allows chart toggling, however there is issue on Sales Line Chart. Charts module does not provide public function to resize charts on the fly, like Visualization did. Month and week will render at minimum width.

dpearcefl’s picture

I'd like to make a new dev release and include the patches that people have tested. Can some folks review this fix?

mglaman’s picture

I was going to apply all these patches and make dev be dependant on Charts and begin cleanup. However there's an issue where updating the project description downgrades the module to sandbox.

See #2125795: Update of project info by non-vetted user demotes full projects to sandbox status. Once I can update the project description to detail dev will become beta3 and that it does not require Visualization I'll begin comitting to dev so we can test this all out.

aidanlis’s picture

If you're going to do a major rewrite e.g. removing the vis library, do you want to bump the major version number instead?

mglaman’s picture

I suppose a bump to the major version number would make more sense, then that way we could keep 2.x-beta as an other version for existing sites and minimal updates.

aidanlis, this is my first shot at going for a module maintaining role so any insight is great :)

mglaman’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev
Status: Needs review » Fixed

Please review the 7.x-4.x release which adds this feature, and note module changes as stated in #2129735: Commerce Reports 4.x Review

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.