GoogleMap Block
============================
This module is used to create a Google Map Block. It will provide configuration form to enter location name and address.
Configuration:
============================
For configuration Goto structure -> Googlemap
Configure your settings for google map at
/admin/structure/gmap-location/settings.
Add location in google map at /admin/structure/gmap-location
Project Url:
============================
https://www.drupal.org/sandbox/bnpandey/2836591
Project Git Url:
============================
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/BNPandey/2836591.git googlemap_block
cd googlemap_block
Manual Review done for other Projects:
https://www.drupal.org/node/2826944#comment-11930945
https://www.drupal.org/node/2849358#comment-11944605
https://www.drupal.org/node/2860527#comment-12007022
Comments
Comment #2
b n pandey commentedComment #3
b n pandey commentedComment #4
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxBNPandey2836591git
Fixed the git clone URL in the issue summary for non-maintainer users.
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 #5
harsh.behl commentedHi @B N Pandey ,
There are some issues at certain places.
You have used services directly on some places like EditLocation.php \Drupal::service('path.current')->getPath(). while you can inject these services directly.
And also you have used direct sql queries which are not recomended in Drupal 8.
Comment #6
denutkarsh commentedManual Review
Apart from what is mentioned in #5 and #6, i have a suggestion.
I think you could remove @file comment from namespaced classes.
Use dependency injection instead.
After the changes in #5, #6 . I guess this would be good to go :)
Comment #7
aloknarwaria commentedHi @B N Pandey ,
There are some issues at some places like.
1. In EditLocation.php file you have used
Correct way to redirect form is
$form_state->setRedirectUrl($url);2. Same issue in file "MapLocationDelete.php"
Correct way to redirect form is
$form_state->setRedirectUrl($url);3. In file "GoogleMapBlock.php" you have used the code like
Recomanded way to avoid the create the configurtion object again and again for each variable is
Comment #8
b n pandey commentedComment #9
aloknarwaria commentedHi B N Panday,
Please fix the text in file "EditLocation.php" at line number 60 current text is "Add Location" please replace with "Edit Location"
Please fix this rest works fine.
Comment #10
andrew_tspkhHi, @B N Pandey
Please, use dependency injection instead of \Drupal calls according to Drupal Best Practices (e.g: GoogleMapBlock.php [line:34]).
Thanks)
Comment #11
b n pandey commentedComment #12
wengerkAutomated Review
A warnings was found by pareview.sh (https://pareview.sh/node/1046)
Manual Review
The README.txt is very empty, you should add some help for futur developer and maintenances.Also, all but the most trivial modules should implement
hook_help().EditLocation.php"Add Location" -> "Edit Location"drupal_set_message($location_name . " location has been Updated")that must bedrupal_set_message($this->t('@location location has been Updated', ['@location' => $location_name]))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.
This review uses the Project Application Review Template.
Comment #13
PA robot commentedClosing 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.
Comment #14
b n pandey commentedComment #15
b n pandey commentedComment #16
b n pandey commentedComment #17
jitendra verma commentedHi @BN Pandey
This module works for me. I review this module manually and did not find any error.
Thanks
Comment #18
avpadernoThank you for your contribution!
I updated your account so you can opt into security advisory coverage now.
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!
Thank you, 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 go the dedicated reviewer(s) as well.
Comment #19
avpadernoComment #20
denutkarsh commented