GitHawkApp / GitHawk

The (second) best iOS app for GitHub.
http://githawk.com
MIT License
2.88k stars 384 forks source link

Changes/Fixes to Search #276

Closed Sherlouk closed 7 years ago

Sherlouk commented 7 years ago

Listing generated off the back of #200, opening separate issue for better tracking

rnystrom commented 7 years ago

Fixed a lot of stuff up. I'm on the fence about calling this tab "Repos" now since I'd like to eventually add a profile tab that would contain your own repos. Plus, the GQL API also lets you search for users and issues. I'm thinking about using the UISearchBar scopes API to add a seg control to search for other stuff.

Problem is, the search tab init null state is really boring. Some options:

Any thoughts or other ideas?

BasThomas commented 7 years ago

Any of those or maybe get some trending repos? (If there's such an endpoint)

Sherlouk commented 7 years ago

Already looked into Trending, there's no way to sort on "Stars Today" which is what that's based 😢

Sherlouk commented 7 years ago

Still default to your own repos

I think we should hold off on this until we have a "Me" tab

make the search bar first responder

Personally not a fan of apps that do this, if I accidentally tap on it then suddenly a keyboard is in the way and covering the navigation

Show some cutesy graphic

I think this should be it - Slightly faded out search icon in the middle with a quick summary underneath

rnystrom commented 7 years ago

Going w/ an empty state, but when you have a few searches I'm going to display recents.

simulator screen shot sep 4 2017 11 59 53 am