Refined-github: Add dropdown menu to the search bar scope

Created on 27 Jun 2017  Â·  7Comments  Â·  Source: sindresorhus/refined-github

Currently:

  • On a repo page:
    This repository | Search
  • On an organization page:
    This organization | Search
  • Elsewhere:
    Search GitHub

Feature requests:

  • Support searching a user’s content:
    This user | Search
  • Add a scope dropdown to all pages:
    screen shot 2017-06-27 at 11 03 20
enhancement good first issue help wanted

Most helpful comment

A bit off-topic, but I'm using https://chrome.google.com/webstore/detail/awesome-autocomplete-for/djkfdjpoelphhdclfjhnffmnlnoknfnd which significantly changes the search experience on GitHub when you are just using the search box on every page. I wouldn't say it's useful everyday, but it's worth a try if you are searching a lot for different things.

All 7 comments

What would the scope dropdown include?

On a repo page: repo, org/user, all of GitHub.

On an org/user page: org/user and all of GitHub

  1. âś… "User search" on User page sounds good. There's only a simple search in the user's Repositories view
  2. ❌ "User search" from repo page sounds rare and it'd just be a click away anyway:

    1. click user page,

    2. then use the User search of point 1

  3. ❌ "All of GitHub" is always one backspace away everywhere, so no dropdown is ever necessary.

A bit off-topic, but I'm using https://chrome.google.com/webstore/detail/awesome-autocomplete-for/djkfdjpoelphhdclfjhnffmnlnoknfnd which significantly changes the search experience on GitHub when you are just using the search box on every page. I wouldn't say it's useful everyday, but it's worth a try if you are searching a lot for different things.

True! I installed it so long ago that I forget it's not part of GitHub itself

I think the user search is still useful. I always need my Sindresearch. This shouldn’t be super hard to implement, considering GitHub’s code flexibility.

Moved to a specific issue for clarity

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hkdobrev picture hkdobrev  Â·  3Comments

juliocanares picture juliocanares  Â·  3Comments

Arcanemagus picture Arcanemagus  Â·  3Comments

vanniktech picture vanniktech  Â·  3Comments

olso picture olso  Â·  3Comments