metacpan-web icon indicating copy to clipboard operation
metacpan-web copied to clipboard

Change distro search to use grep.metacpan.org

Open toddr opened this issue 8 years ago • 9 comments

This search https://metacpan.org/search?q=dist%3AGit-Repository&q=sub should become: https://grep.metacpan.org/search?size=20&q=sub&qd=Git-Repository&qft=

toddr avatar May 14 '17 16:05 toddr

But it needs to point to the distro not the perl module So it would be this link to search Cwd: https://grep.metacpan.org/search?q=sub&qd=PathTools&qft=

toddr avatar May 14 '17 16:05 toddr

I don't think that grep is a drop-in replacement for search within a distribution. I could see adding a grep link beside the distribution search link, though. @babsveloso, do you have any thoughts on what UI makes sense here?

oalders avatar May 14 '17 17:05 oalders

I guess we could do one of both:

  • add a link to grep on the sidebar
  • have the 1st result be the link to grep when it makes sense (my fav)

Also, it'd be good to track this link's performance to increase its visual importance and query coverage.

See mocks for the two ideas in here: https://drive.google.com/open?id=0B1FYkYs1yULQYkpDbHVWQmFxeWM

babsveloso avatar May 16 '17 16:05 babsveloso

I'm worried the 2 links seem to blead together into 1 sentence.

Something Missing? Search on grep::cpan and find out why.

maybe:

SOMETHING MISSING? Find out why or Search on grep::cpan

does that read better?

toddr avatar May 16 '17 18:05 toddr

I really like the idea of tracking what people do with those 2 options. I don't know the level of effort required to do so?

toddr avatar May 16 '17 18:05 toddr

We can look at this over the next few days if we can come to some consensus.

oalders avatar Nov 16 '17 21:11 oalders

@babsveloso thanks for your 🚀 response on that other issue. I can no longer find the https://drive.google.com/open?id=0B1FYkYs1yULQYkpDbHVWQmFxeWM referenced above. Do you have that handy as well?

oalders avatar Jul 06 '22 14:07 oalders

There you go: https://drive.google.com/drive/folders/1N4fq0B99eXXt-eaLq0ECiSy230kSgzVk?usp=sharing

On Wed, Jul 6, 2022 at 11:38 AM Olaf Alders @.***> wrote:

@babsveloso https://github.com/babsveloso thanks for your 🚀 response on that other issue. I can no longer find the https://drive.google.com/open?id=0B1FYkYs1yULQYkpDbHVWQmFxeWM referenced above. Do you have that handy as well?

— Reply to this email directly, view it on GitHub https://github.com/metacpan/metacpan-web/issues/1886#issuecomment-1176304932, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABITPODU62FA5BE24D64AW3VSWK7JANCNFSM4DLJWPNA . You are receiving this because you were mentioned.Message ID: @.***>

babsveloso avatar Jul 06 '22 16:07 babsveloso

Thanks once again!

oalders avatar Jul 06 '22 17:07 oalders