Module description:
Module Autocomplete Node search will provide you a block which you can configure in any region and search any node title.
After hitting enter it will get redirected to the searched page.
You can find this block by navigating through `admin/structure/block`.
If you are configuring `Autocomplete Node search` for anonymous users, permission should be given for anonymous users.
If your search yields no result, no redirection will take place. Hitting enter/submit button will give you back the existence page on which you were earlier.
Autocomplete Node Search administration pages
Autocomplete node search
Configure Autocomplete Node Search permissions
Project Page : https://www.drupal.org/sandbox/sugandhkhanna/2839494
GIT Instructions
One-Time Only
Setting up repository for the first time
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/sugandhkhanna/2839494.git autocomplete_node_search
cd autocomplete_node_search
pareview result
https://pareview.sh/node/806
Manual Reviews of other projects:
https://www.drupal.org/node/2830563#comment-11982373
https://www.drupal.org/node/2859833#comment-11982351
https://www.drupal.org/node/2857832#comment-11982422
https://www.drupal.org/node/2863688#comment-12006060
https://www.drupal.org/node/2863759#comment-12006085
https://www.drupal.org/node/2863759#comment-12007667
https://www.drupal.org/node/2864153#comment-12007676
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | coder-results.txt | 1.38 KB | klausi |
| #15 | case_2.png | 19.76 KB | kumaratulesh |
| #15 | case_1.png | 11.5 KB | kumaratulesh |
| #7 | autocomplete_node_search.zip | 6.17 KB | sugandhkhanna2 |
| #5 | Screen Shot 2017-01-17 at 3.46.21 pm.png | 11.29 KB | prashant114606 |
Comments
Comment #2
sugandhkhanna2 commentedComment #3
PA robot commentedGit clone command for the sandbox is missing in the issue summary, please add it.
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 #4
ankush_03Hi sugandhkhanna2,
Below are my manual review
Manual review of the 8.x-1.x branch:
1 : path -> /src/controller/AutocompleteQueryHandler.php
Please add
t()function on line 41$matches = array('Result not found.');On line 36 which is $alias = (strlen($alias) > 23) ? substr($alias, 0, 20) . '...' :
Please take as constant and make it configurable.
2: path -> /src/plugin/block/ANSBlock.php
Please provide proper description of block.
Comment #5
prashant114606 commentedHi @sugandhkhanna2,
This module is not working for me. I am not able to find "node:title" and whenever i am trying to click on submit button it throws an error for me(Kindly check the screenshot for reference).
Manual Review:
ANSBlock.php
37
I would recommend no need to write this function untill you don't want to do some validation from your end.
AutocompleteQueryHandler.php
27
ANSBlock.php
22
Recommendation: 'formBuilder' service should be injected.
Comment #6
visabhishek commented@sugandhkhanna2 : Please add the project page URL and git clone command in the issue summary.
Comment #7
sugandhkhanna2 commentedComment #8
PA robot commentedFixed the git clone URL in the issue summary for non-maintainer users.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #9
sugandhkhanna2 commentedComment #10
sugandhkhanna2 commentedComment #11
sugandhkhanna2 commentedComment #12
visabhishek commentedComment #13
sugandhkhanna2 commentedComment #14
sugandhkhanna2 commentedComment #15
kumaratulesh commentedI have done manual review of your code and find one issue based on below scenario:
1) First create a node title like "Test:12"
2) Search this node in your block (see screenshot: case_1.png)
3) Hit enter/submit button you will get the error (see screenshot: case_2.png)
Solution: You will have to change the logic of code "explode(':', $form_data);" under submitForm function.
Comment #16
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 #17
sugandhkhanna2 commentedComment #18
sugandhkhanna2 commentedComment #19
sugandhkhanna2 commentedComment #20
sugandhkhanna2 commentedComment #21
sugandhkhanna2 commentedComment #22
sugandhkhanna2 commentedComment #23
klausiReview of the 8.x-1.x branch (commit 0a18836):
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:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #24
sugandhkhanna2 commentedComment #25
sugandhkhanna2 commentedComment #26
sugandhkhanna2 commentedComment #27
sugandhkhanna2 commentedComment #28
sugandhkhanna2 commentedThanks klausi for your valuable time. All points that you have mentioned are fixed now.
Comment #29
sugandhkhanna2 commentedComment #30
sugandhkhanna2 commentedComment #31
sugandhkhanna2 commentedComment #32
sugandhkhanna2 commentedComment #33
sugandhkhanna2 commentedComment #34
sugandhkhanna2 commentedComment #35
harsh.behl commentedHi sugandhkhanna2,
I think you have solved all the issues described above by @klausi & I can not find any application blocker in your code.
Comment #36
harsh.behl commentedComment #37
sugandhkhanna2 commentedComment #38
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 #39
avpadernoComment #40
sugandhkhanna2 commentedThank you Kiamlalumo.
Also I require credits as I'm not able to Opt into security advisory coverage.
Comment #41
avpadernoSorry, I forgot to click on "Save" after setting your account. Now you are a vetted user, and you can opt-in to the security advisory coverage.