Description
TouchTouch is a module that integrates the jQuery-plugin by Martin Angelov for Imagefields. It's a plugin that enables a popup, the kind like Lightbox2, but with the difference that it supports responsive design, touch gestures and a bunch of other cool stuff. The markup provided is easier to theme and customize to what the theme needs.
More info on the project page for installation instructions and usage.
Project page: https://www.drupal.org/sandbox/blacksnipe/2419583
Automated review: http://pareview.sh/pareview/httpgitdrupalorgsandboxblacksnipe2419583git
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Blacksnipe/2419583.git touchtouch
cd touchtouch
Comments
Comment #1
blacksnipeAdded automated review
Comment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxBlacksnipe2419583git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
blacksnipeComment #4
blacksnipeAdded a couple of reviews
Comment #5
blacksnipeUpdated the code, apart from the minified files.
Comment #6
blacksnipeAdded extra issue tag
Comment #7
blacksnipeComment #8
andrefy commentedManual Review
Would it be better if jquery.touchTouch is been added as library?
This review uses the Project Application Review Template.
Comment #9
andrefy commentedComment #10
blacksnipeHi Andrefy,
Thanks for the review.
I thought about adding the TouchTouch-plugin as a library, but as I've mentioned on the module's page I've added a custom version of the plugin, with some added functionality me (and my colleagues) found interesting...
That's the reason I chose not to work with libraries.
Although it might be an idea for the future ;-)
Comment #11
blacksnipeComment #12
vineethaw commentedYou should also really have a hook_help() with some basic info about the module.
Comment #13
blacksnipeThanks for the tip vineethaw. I've implemented the hook_help() and removed the minified assets.
Now I see I've got no issues left on the automated review.
Comment #14
blacksnipeComment #15
blacksnipeComment #16
ayesh commentedjQuery Touch Touch is an MIT-licensed plugin, and you have agreed to not host any code (PHP, JS, CSS) or anything else (images, etc) that does not comply with GPL v2 license. .
Consider resetting to clean up your repo at least.
You can always ask your users to download the plugins, or even better use libraries module for that.
It's the general practice to use Drupal behaviors to initialize Javascript functionality, so they work inside Ajax-tampared elements too.
Comment #17
blacksnipeThanks Ayesh for pointing me to this.
Will look into it.
Comment #18
blacksnipeI've added libraries support, and added a fork of the original plugin on my github page.
The link has been added to the module page.
Comment #19
blacksnipeComment #20
blacksnipeComment #21
blacksnipeComment #22
blacksnipeComment #23
babusaheb.vikas commentedHi blacksnipe,
Please update your git information
I have found 'repository not found' error when going to clone using
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/blacksnipe/2419583.git touchtouchComment #24
blacksnipeChanged the git-instructions. Guess the username in the repository-structure doesn't get updated when changing your username to lowercase... ;-)
Thanks for pointing this out, babusaheb.vikas! Feel free to try these:
Comment #25
br0kenhook_help()should be like this:image_style_options()function called twice: here and here. Store the result into variable and use it.!empty($items)here. Also, the loop should be put under this condition.drupal_add_js()should be invoked afterlibraries_load()returned TRUE.Comment #26
blacksnipeThanks for the tricks, I think I've covered them in the last commit.
Comment #27
br0kenYou not able to bring back the
PAReview: review bonustag according to the rules of review bonus program of Drupal.org. To do that, you'll need to do three others manual reviews.Comment #28
br0kenbreakstatement here? Are you know that nothing happens afterreturn?Comment #29
blacksnipeOops, my bad, will check three more later on.
Code updated, but could you explain me why you would switch the operands?
Got rid of the extra $output-var in hook_help(), though.
Comment #30
br0kenThink now it okay.
Now about operands. I've not told that you necessarily shall do that. This just a good practice, that prevent wrong variable assignment in condition.
For example, you just make a mistake and wrote:
In this case, condition will be interpreted as TRUE with all consequences. And otherwise, if operands swapped, you get the fatal error before the code will be executed :)
Comment #31
blacksnipeInteresting point, thanks for the tip!
And the review, of course :-)
Comment #32
cweagansThanks for your contribution!
I updated your account so you can 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 stay 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.
Thanks to the dedicated reviewer(s) as well.