Git Product home page Git Product logo

Comments (5)

david-a-wheeler avatar david-a-wheeler commented on May 17, 2024

I think we should have a search dialogue that allows search in these areas:

  • Project name
  • Project homepage URL
  • Project repository URL

We could also add "Description" later, but I worry about the overhead.

For each of these search fields, we could have "begins with/contains", with "begins with" being the default. Then index those. That way, most searches will use the index. Validate the search request by ensuring that non-blank URLs start with "https?://".

We're hoping to have lots of entries, so while efficiency isn't the be-all, there are some simple measures (like indexing) that can easily help.

from best-practices-badge.

dwvisser avatar dwvisser commented on May 17, 2024

I will attempt an initial implementation that simply leverages PostgreSQL's native text search capability, i.e., just "begins with" to start.

from best-practices-badge.

dankohn avatar dankohn commented on May 17, 2024

@dwvisser Could you please be sure to implement autocomplete. http://www.yoniweisbrod.com/autocomplete-magic-with-rails/

from best-practices-badge.

david-a-wheeler avatar david-a-wheeler commented on May 17, 2024

Search itself implemented with commit d18acbf. Should we move autocomplete to a different issue?

from best-practices-badge.

dankohn avatar dankohn commented on May 17, 2024

Sure.

Dan Kohn mailto:[email protected]
Senior Advisor, Core Infrastructure Initiative
tel:+1-415-233-1000

On Tue, Mar 29, 2016 at 2:38 PM, David A. Wheeler [email protected]
wrote:

Search itself implemented with commit d18acbf
d18acbf.
Should we move autocomplete to a different issue?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)

from best-practices-badge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.