Drupal 7

http://drupal.org/sandbox/iwhitcomb/1879012

git clone --branch 7.x-1.x http://git.drupal.org/sandbox/iwhitcomb/1879012.git views_responsive_grid

Views Responsive Grid provides a views plugin for displaying content in a responsive(mobile friendly) grid layout. Rather than trying to force the standard Views grid display to work for mobile this provides the same functionality, but in DIVs instead of tables. Provided is also the ability to specify a horizontal or vertical grid layout which will properly stack the content on a mobile display.

Requirements:
Views

PAReview Bonus:
http://drupal.org/node/1907524#comment-7053140
http://drupal.org/node/1879592#comment-7053272
http://drupal.org/node/1702136#comment-7053492

CommentFileSizeAuthor
#1 drupalcs-result.txt1.5 KBrobinvdvleuten
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

robinvdvleuten’s picture

Status: Needs review » Needs work
FileSize
1.5 KB

Review of the 7.x-1.x branch:

  • Remove "version" from the ./views_responsive_grid.info file, it will be added by drupal.org packaging automatically.
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

Manual review:
I see some IE7 hacks in the stylesheet. Can you tell which browsers are supported by the module? Maybe you can put this in the description of your module's sandbox. If the stylesheet is only used for an IE7 hack, you should modify the drupal_add_css call at line 18 in views_responsive_grid.module so it is only loaded when the browser is IE7.

Cheers,

Robin

iwhitcomb’s picture

Status: Needs work » Needs review

Ok, we got rid of the inline and module CSS in favor of using user-defined row/column classes which in turn would be handled at the theme layer.

Fixed some of the PAReview errors. It keeps croaking on the view plugin class, which follows the standard set by views, but isn't supported by PAReview.

robinvdvleuten’s picture

It is not only about the name of the class. There are also some notes about the docblock comments of the methods and their scope (public/private). I assume that the methods are public or otherwise protected.

iwhitcomb’s picture

Yeah, I know, I added the two comments, but that's pretty minor. See views/plugins/views_plugin_style_grid.inc it's exactly the same.

monymirza’s picture

Status: Needs review » Needs work

Hi,

There still some errors/warnings pending that need to fix. Please use "Coder" module before pushing your code to Git.

you can find issues here:
http://ventral.org/pareview/httpgitdrupalorgsandboxiwhitcomb1879012git

iwhitcomb’s picture

Status: Needs work » Needs review

Yes, see above. The errors being returned by PAReview are because Views module chose not to format their plugins according to the Drupal coding standards.

srutheesh’s picture

Hi,

In the file 'views_responsive_grid_plugin_style_responsive_grid.inc' please fix the following minor error.

At line no -14 function comment short description must end with a full stop.

iwhitcomb’s picture

Fixed, thanks.

iwhitcomb’s picture

Priority: Normal » Critical

4 weeks without review -- changing to critical status.

iwhitcomb’s picture

klausi’s picture

Assigned: Unassigned » cweagans
Priority: Critical » Normal
Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus

manual review:

  • views_responsive_grid_views_api(): doc block is wrong?

But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

cweagans’s picture

Status: Reviewed & tested by the community » Fixed

I took a look at this too, and it looks good to me. Many thanks for your contribution and reviews!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Added pareview comment links

apaderno’s picture

Title: Views Responsive Grid » [D7] Views Responsive Grid
Issue summary: View changes