Githawk: User Profiles

Created on 17 Sep 2017  ·  15Comments  ·  Source: GitHawkApp/GitHawk

  • Adds new tab to bar "My Profile"
  • Where a user can tap on a name/avatar to view profile, it should open natively

Page should have:
https://developer.github.com/v4/reference/object/user/

  • Name, Avatar and Handle
  • Description/Bio
  • Details

    • Location/Website/Email/etc

  • Organisations

    • Grid of icons tappable to open

  • Pinned Repositories
  • All Repositories (Limit 10? then tap on a "See all" button to see entire list)
  • "More" button in corner

    • Block

    • Follow

For the most part the API is very similar to the Organisation one - So we should be able to support both of them with a common interface

🆕 feature request

Most helpful comment

This. Is. Perfect. Lets build it!

Sent with GitHawk

All 15 comments

@rnystrom Are you picking this up or is it free game?

I'm gonna knock this fella out soon

Sent with GitHawk

Is this something you can use StackedSC's for? Still not grasping when you want to use that

@rnystrom You still working on this bad boy?

On hold atm, @ocrickard might be hacking at it

Sent with GitHawk

I'm probably going to have to bail on this.

https://github.com/tipsy/github-profile-summary

If we wanted to do something a bit more unique with our profiles (and not to 100% match what desktop has) then I quite like the profile summary stuff above

Would be so cool to have some visuals! Some ideas:

Maybe there should be a “stats” tab? So the root tab is overview, then there could be:

  • Stars
  • repos
  • stats

Sent with GitHawk

So GitHub desktop has:

  • Overview

    • Pinned Repositories

    • Contribution/Commit Graph

    • Contribution Activity

  • Repos
  • Stars
  • Followers
  • Following
    all that as well as the sidebar which has all the actual user information

I think for the followers/following, we could do (on the Overview? page) a horizontal view of the most recent 10 or something with a link to open a full list vaguely similar to assignees on issues?


I drew a little example of what I'm thinking, as a starting point anyway

img_0801

Notes are small so basically:

  • Overflow menu for Share (which doubles as "Open in Safari"), Follow/Unfollow, maybe Block/Report in the future but that's unlikely
  • The title in the navigation bar would be empty on launch, but similar to how Twitter does it when you scroll down the overview (so the user's name is no longer visible) then that could fill in with the name (the same should be true when you go to a different page) - Would be a nice little animation and I think be pretty cool!
  • The overview would start with a fairly big (but not as big as I've drawn) profile picture, if we use a UITextView exclusion zone we can get the information to wrap nicely around it. The text should be the user's full name with their username underneath as well as their biography, and any urls/company/location text they've defined!
  • Pinned repos should be the next thing, we could re-use the Search Result cell to get the full nice representation! (on tablet, this could turn into a grid similar to desktop?)
  • Further down I'm thinking horizontal lists for organisations, following and followers which could be collapsible to show/hide but obviously everything is tappable to go to profiles!
  • We should append the numbers to the titles also, so "Following (15)", "Repositories (10)" etc

This. Is. Perfect. Lets build it!

Sent with GitHawk

Let’s think about the minimum viable prototype to kick off this feature

Ideas:
a single view controller with a profile picture and profile info

Web links to followers, following, repos, starred, etc

Something I’m wondering is whether to try ListSwift or regular IGList. Is it easy to convert regular section controllers to List Swift’s variation of section controllers? The SearchRepo class + SearchRepoSectionController contain all the logic to display repos, it would be a shame not to reuse them as we’ll want to display repos in three places by my count (pinned, starred, user repos)

Sent with GitHawk

@rnystrom no rush, but since you closed my ticket for this, curious is this active? Like no rush at all but curious if this is a focus currently by any developing users

You can take a look in the issues and pull requests mentioned in this issue. I think there's no active work being done on this.

@ijm8710 The most recent conversation is happening over in #2106

@rnystrom just curious since I see you reference this quite often but since all convo is taking place in #2106, curious if you’d agree in instead always ref that one and close this so everything’s streamlined :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rnystrom picture rnystrom  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

rnystrom picture rnystrom  ·  3Comments