Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement searching in the web app #657

Merged
merged 1 commit into from
Jun 6, 2016
Merged

Implement searching in the web app #657

merged 1 commit into from
Jun 6, 2016

Conversation

smith
Copy link
Contributor

@smith smith commented Jun 6, 2016

  • There's a search box in package list pages that will search if you type
    in it.
  • Going to /pkgs/search/:query also does what you would expect.
  • Fix the bug related to the new range header stuff that was stopping
    single package pages from displaying.
  • Fix the bug where my math about pagination was slightly off because of a
    <= rather than a <.
  • When no packages are found, it now says "No packages found" instead
    of "Failed to load packages."

IMPORTANT NOTE: Packages that are on an existing depot will not show
up in search results unless the are re-uploaded or somehow redis gets
told to index them.

tumblr_o7qhym5yj41qmob6ro1_400

* There's a search box in package list pages that will search if you type
  in it.
* Going to /pkgs/search/:query also does what you would expect.
* Fix the bug related to the new range header stuff that was stopping
  single package pages from displaying.
* Fix the bug where my math about pagination was slightly off because of a
  `<=` rather than a `<`.
* When no packages are found, it now says "No packages found" instead
  of "Failed to load packages."

*IMPORTANT NOTE*: Packages that are on an existing depot *will not* show
up in search results unless the are re-uploaded or somehow redis gets
told to index them.

Signed-off-by: Nathan L Smith <[email protected]>
@thesentinels
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @ryankeairns and @fnichol to be potential reviewers

@reset
Copy link
Collaborator

reset commented Jun 6, 2016

@thesentinels r+

gif-keyboard-12038288346395709364

@thesentinels
Copy link
Contributor

📌 Commit b690ba0 has been approved by reset

@thesentinels
Copy link
Contributor

⌛ Testing commit b690ba0 with merge 65d5538...

thesentinels pushed a commit that referenced this pull request Jun 6, 2016
* There's a search box in package list pages that will search if you type
  in it.
* Going to /pkgs/search/:query also does what you would expect.
* Fix the bug related to the new range header stuff that was stopping
  single package pages from displaying.
* Fix the bug where my math about pagination was slightly off because of a
  `<=` rather than a `<`.
* When no packages are found, it now says "No packages found" instead
  of "Failed to load packages."

*IMPORTANT NOTE*: Packages that are on an existing depot *will not* show
up in search results unless the are re-uploaded or somehow redis gets
told to index them.

Signed-off-by: Nathan L Smith <[email protected]>

Pull request: #657
Approved by: reset
@thesentinels
Copy link
Contributor

☀️ Test successful - travis

@thesentinels thesentinels merged commit b690ba0 into master Jun 6, 2016
@smith smith deleted the nls/search branch June 6, 2016 15:32
jtimberman pushed a commit that referenced this pull request Jun 12, 2016
* There's a search box in package list pages that will search if you type
  in it.
* Going to /pkgs/search/:query also does what you would expect.
* Fix the bug related to the new range header stuff that was stopping
  single package pages from displaying.
* Fix the bug where my math about pagination was slightly off because of a
  `<=` rather than a `<`.
* When no packages are found, it now says "No packages found" instead
  of "Failed to load packages."

*IMPORTANT NOTE*: Packages that are on an existing depot *will not* show
up in search results unless the are re-uploaded or somehow redis gets
told to index them.

Signed-off-by: Nathan L Smith <[email protected]>

Pull request: #657
Approved by: reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants