Currently, we can browse the source with default branch. It would be nice to add the ability to select a branch to browse for.
Like this GitHub menu:

I def think this is doable. We need a UX for picking the active branch. Maybe as part of the repo header?
Sent with GitHawk
@rnystrom something like that? After pressing UIAlertAction, navigate to branch selection controller.

The right UX is the most important part here.
@BasThomas how would you imagine UX?
Sent with GitHawk
We could start with an easy UIAlertController like this and have the "Branch" as the title. It supports scrolling if the alert actions overflow the screen height.
Not sure how ideal it is as that won't support searching / pagination.
Maybe make use of ContextMenu.
Matches UI
Lists the branches with a checkmark next to the one your currently viewing
Not sure if ContextMenu supports search but I feel it could be added.
Ya I鈥檇 love to covert the alert menu for tapping the title to ContextMenu. Then it makes doing this advanced stuff really really easy.
Also we need a way to show what branch you鈥檙e currently on.
Sent with GitHawk
@rnystrom NavigationTitle? GitHawkApp/GitHawk/Master? May be a bit long.
Sent with GitHawk
I think navigation title looks as it should, it鈥檚 not the best solution to make it a bit more complicated.
Exists repositories with longer names, which can cause problems.
Sent with GitHawk
Let's poke around on other apps and design sites to get some ideas. I browse Dribbble daily to pull inspiration or find new ideas. Maybe there's something that'll help.
Implemented #2162
Sent with GitHawk