This module extends the functionality of menu_item_visbility:
https://www.drupal.org/project/menu_item_visibility
It gives the user a new tab where they can select contexts to associate with
a menu item. That menu item will only appear visible on pages where the context
is active.
It based heavily on the menu_item_visibility and context_block_visibility
modules:
https://www.drupal.org/project/menu_item_visibility
https://www.drupal.org/project/context_block_visibility
It was decided to split from the menu_item_visibility module because of this discussion: https://www.drupal.org/node/1205618
Project Page
https://www.drupal.org/sandbox/rjjakes/2815295
PAReview.sh
http://pareview.sh/pareview/httpgitdrupalorgsandboxrjjakes2815295git
Git clone
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/rjjakes/2815295.git context_menu_item_visibility
Manual reviews of other projects
https://www.drupal.org/node/2822329#comment-11751024
https://www.drupal.org/node/2813343#comment-11751064
https://www.drupal.org/node/2830248#comment-11801399
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | notfound.png | 36.37 KB | visabhishek |
Comments
Comment #2
rjjakes commentedComment #3
visabhishek commentedComment #4
PA robot commentedWe 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 #5
visabhishek commentedAutomated Review
No Issue found : http://pareview.sh/pareview/httpsgitdrupalorgsandboxrjjakes2815295git
Manual Review
Already mention on project page :
Notice: Undefined index: mlid in context_menu_item_visibility_menu_link_delete() (line 71 of /var/www/html/drupal-7/sites/all/modules/context_menu_item_visibility/context_menu_item_visibility.module).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.
Comment #6
visabhishek commentedComment #7
PA robot commentedProject 1: https://www.drupal.org/node/2822210
Project 2: https://www.drupal.org/node/2815597
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.
Comment #8
rjjakes commentedRe-opening as I closed the other duplicate issue.
Comment #9
rjjakes commentedHi @visabhishek.
Thanks, I really appreciate you taking the time to review this module.
I have made the following changes as per your suggestions:
- The README.txt now follows the guidelines
- Empty array checking around the menu link deletion
- Changes the "Edit" link (which was producing the 404) to a title/description combinition (which makes more sense from a UI perspective).
Comment #10
rjjakes commentedComment #11
rjjakes commentedComment #12
rjjakes commentedComment #13
rjjakes commentedComment #14
rjjakes commentedComment #15
rjjakes commentedComment #16
web247 commentedAutomated Review
No issues here
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
Came rather close, but: Yes: Follows the guidelines for project length and complexity. Although, being an extension to menu_item_visibility, it figures to have small codebase.
Secure code
Yes: Meets the security requirements.
Coding style & Drupal API usage
Otherwise, looks great. Tested it very lightly, but seems to be working just fine.
Comment #17
virajrajankar commented@rjjakes:
Module looks fine , and its good to include "context_block_visibility" as required in .info file.
Other rthan this everything looks fine as of now
Comment #18
rjjakes commented@web247 - Thank you for the review and suggestions.
I've updated the parameters to match the hook.
I see the strings you mean and they make up part of a complete string. I've reworked so it's a single string that can be translated as needed using t().
@virajrajankar - Thanks for taking the time to look at this. context_block_visibility is not a dependency, I just reused some of the code from there.
Comment #19
klausimanual review:
Otherwise looks good to me.
Thanks for your contribution, rjjakes!
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.