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

Search functionality broken with new HN Search endpoint #64

Closed
pkillian opened this issue Mar 27, 2014 · 4 comments
Closed

Search functionality broken with new HN Search endpoint #64

pkillian opened this issue Mar 27, 2014 · 4 comments
Assignees
Labels
Milestone

Comments

@pkillian
Copy link
Collaborator

Hacker News recently published a new search API that we're not connecting to; this issue is a top priority and will require a bug fix release right away.

https://news.ycombinator.com/item?id=7118496

@pkillian pkillian self-assigned this Mar 27, 2014
@pkillian pkillian added this to the 2.1.6 milestone Mar 27, 2014
@pkillian pkillian added the bug label Mar 27, 2014
@bishopmatthew
Copy link
Owner

Yeah, we need to fix this. If we have to change the search API (and it's not just a matter of changing the endpoint we're connecting to), I would highly recommend we use Retrofit to do it. Actually I have been planning to switch to Retrofit anyways just for the readability / code length benefits anyways.

https://github.com/bishopmatthew/HackerNews/blob/master/src/com/airlocksoftware/hackernews/loader/SearchLoader.java

@pkillian
Copy link
Collaborator Author

I'm in the process of getting a quick bugfix patch out for it, then we can migrate to Retrofit for v2.2.0

@pkillian
Copy link
Collaborator Author

I've got the new API URI endpoints and sample data, all I'd have to do is plug in the mapping from the new JSON format to what we parse.

ETA: tonight by midnight EST unless I run into blockers.

@pkillian
Copy link
Collaborator Author

Resolved by pull request #65; suggest a bugfix rollout with the following version notes:

v2.1.6
Changes since v2.1.3

New features:
- Optional setting to compress all HTTP data
- Chat support courtesy of Gitter.im (http://gitter.im/bishopmatthew/HackerNews)
- Better bug tracking

Bug fixes:
- Fix for search API request failure; search functions as expected
- Fix "no connection" error pop-up when submitting new story
- New story submissions will accurately report submission status
- No longer crashes when not logged in and expired page loaded
- Other crash fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants