Create a reveal.js presentation with Views.

Description:
Easily create reveal.js presentations from content in a drupal database, style the presentation using settings in the Views UI, and arrange slides with a drag & drop interface.

Sandbox Project: https://www.drupal.org/sandbox/adam_bear/2369977

  1. Download & extract or git the reveal library to $base_url/sites/all/libraries/reveal
  2. Enable the Views Reveal module and its dependencies.
  3. Clone the Reveal presentation View.
  4. Change the settings, filters, sort order, etc. Or don't. Whatever.

git clone --branch 7.x-1.x http://git.drupal.org/sandbox/adam_bear/2369977.git views_reveal

Comments

PA robot’s picture

Multiple Applications
It appears that there have been multiple project applications opened under your username:

Project 1: https://www.drupal.org/node/2372249

Project 2: https://www.drupal.org/node/2325531

As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.

I'm a robot and this is an automated message from Project Applications Scraper.

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxadam_bear2369977git

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.

adam_bear’s picture

Shut up robot.

adam_bear’s picture

Status: Needs work » Needs review
PA robot’s picture

Multiple Applications
It appears that there have been multiple project applications opened under your username:

Project 1: https://www.drupal.org/node/2372249

Project 2: https://www.drupal.org/node/2325531

As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.

I'm a robot and this is an automated message from Project Applications Scraper.

adam_bear’s picture

Status: Needs review » Closed (works as designed)

86 Drupal, going back to github.
This is why you can't have nice things.

adam_bear’s picture

Status: Closed (works as designed) » Needs review

Reopening in the off chance drupal hasn't been completely abandoned.

sajiniantony’s picture

1)An unwanted space need to be deleted in line no 213 of views_reveal.module
2)Project page needs updation. Your project page should inform users about the features to your module.
3)The function views_reveal_js_alter() in line no 151 of views_reveal.module is commented. If its not required delete the same.

sajiniantony’s picture

Status: Needs review » Needs work

changed the status to 'Needs work'

adam_bear’s picture

fixed

adam_bear’s picture

Status: Needs work » Needs review
darol100’s picture

Issue summary: View changes
Status: Needs review » Needs work

@adam_bear,

No description on your project applicantion ? No link to the sandbox ? These things have to be provide by the developer. Do not worry I fix it for you. Once again you should consider reviewing other project otherwiser your project application is going to take more time.

Automated Review

You have a lot errors and warning detect from the automate test. Can you please fix them ? A great tool that would fix most of them for you is the coder module. Check this article is going to tell you how to auto-fomart your code using drush + coder. https://www.drupal.org/node/2148421

Here is the automatice test - http://pareview.sh/pareview/httpgitdrupalorgsandboxadambear2369977git

Manual Review

Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
README.txt/README.md
Yes: Follows the guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.]
Coding style & Drupal API usage
[List of identified issues in no particular order. Use (*) and (+) to indicate an issue importance. Replace the text below by the issues themselves:
  1. You should consider adding a different name to your css and javascript. It might be confusing for because there is a module that called draggableviews. You should called something like this views_reveal_list.css instead of draggableviews_list_reveal.css
  2. Two README ? I know that you have both of them one for Github and the another one for Drupal. But you should have one read me instead with the all the information instead of having two with different info.
  3. Hook_help have a link that goes no where. You should delete or correct the link.
  4. Project Name on your sandbox change it to Views Reveal instead of Views_Reveal
  5. Draggable Views is a dependecy, if so you need to add them to your info file.
  6. Ideally, your module is not going to install unless there is the library. You should force user to install the reveal.js library before of install the module. If they try to installed provide them an error saying you need to install the library.

The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.

If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.

This review uses the Project Application Review Template.

I think this is a great start for you to be improving your module.

adam_bear’s picture

@darol100,

Thanks!

The remaining pareview errors/warnings should be false positives.

@2, 3 & 5: Good catch - Fixed.

@1: I think the css is named appropriately... it accurately describes the context in which the styles will be included, and the path should make it clear that it's part of views_reveal, not draggableviews. The js wasn't being used & has been removed.

@4: Views Reveal namespace is already taken by a module that doesn't work.

@6: I agree a check for dependencies is needed, but don't want to prevent installation- Added a warning in hook_enable() if the lib isn't present.

As for how long the project application takes... It would be nice if my project were approved, but I've had projects in the cue for nearly a year so I'm not exactly in a hurry- The community shouldn't complain be surprised when projects are hosted on github, though. I'm happy to contribute modules I've developed back to the community, but time is finite and drupal isn't the only project I work on.

adam_bear’s picture

Status: Needs work » Needs review
babusaheb.vikas’s picture

1) Correct your readme file name.
It should be README.md instead of readme.md

2) There are lots of coder errors in your project. Install coder module, check your module with coder and fix those errors.

adam_bear’s picture

The errors/warnings picked up by automated review are false positives- I suggest examining the code manually.

Readme will be changed on the next push.

ajalan065’s picture

Status: Needs review » Needs work

Hi adam_bear,
1. Its not good to instruct your user to keep the library in sites/all only. Its the preferred place, ofcourse, but they may choose a different place.
2. You have made a heavy usage of drupal_get_path('module', 'views_reveal');
So, instead save it in a constance and use it at every place.
define('VIEWS_REVEAL_MODULE_PATH', drupal_get_path('module', 'views_reveal'));
3. You have both views_reveal.js and views_reveal.min.js in your project. No need of both. Remove any one.
4. I do not think there is any use of *.install file in your module. Instead, keep the check in the function views_reveal_assets(&$view) itself where you are assigning the value to $lib.

Correct these and commit again. Once done, set back the status to "Needs Review". Would be happy to review your module again.

adam_bear’s picture

Thanks ajalan - I'll take a look at it.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.