Closed Sherlouk closed 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?
Any of those or maybe get some trending repos? (If there's such an endpoint)
Already looked into Trending, there's no way to sort on "Stars Today" which is what that's based 😢
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
Going w/ an empty state, but when you have a few searches I'm going to display recents.
Listing generated off the back of #200, opening separate issue for better tracking
Rename the "Search" tab to "Repos" (maybe "Repositories")Default load your repositories on the repo tab (could take advantage of init state here)Search as you type (instead of waiting for enter)Auto** load next page as you scroll down search resultsMerge SearchLoadMoreCell and IssueNeckLoadCell into one