Comments (5)
Both options are cool, but I've a slighty preference for the first one π
from git-point.
Ah I was hoping there was an endpoint for it π
Ooooh so the GraphQL API has a way to retrieve that info. I definitely agree in that we shouldn't use a scraping tool to simply get the pinned repos. I'm okay with either option:
- Include GraphQL into our app and add this endpoint to retrieve pinned repositories. I haven't had the chance to use GraphQL but I've heard it's quite smooth to add an endpoint over a current REST implementation. We can open a separate issue to further explore the GraphQL API and if it makes sense to fully transition from REST (I've heard awesome things about it)
- Close this issue for now and possible open it later if we choose to explore GraphQL in the future
Definitely in favour of option 1, but open to all kinds of suggestions π¬
from git-point.
Thank you so much :)
Yes this can be useful! Do you happen to have an idea of where you'd like to show it on the user profile page? Don't want to over-clutter the page, but some ideas:
- Show in the bottom section of the user profile page right above the Email
SectionList
(as anotherSectionList
with just the list of pinned repositories - Show ordered to the top in the
RepositoryListScreen
with an indicator of some sort
Leaning towards first one - but definitely open to all kinds of suggestions!
from git-point.
Agreed! π
from git-point.
Do you have some preference or idea on how retrieve a pinned repositories list?
Seems there is no easy way (endpoint) to get a user's pinned repos:
- With Github API v4, we have this possibility: https://stackoverflow.com/a/43358500
- Some libs (example: gh-pinned-repos) loads the user github page and extract the pinned repo from the DOM... Seems pretty "heavy"
from git-point.
Related Issues (20)
- Layout needs padding on iPhoneXS HOT 1
- Only message βOne of the most feature-rich GitHub clients that siΔ 100% freeβ displayed HOT 1
- The support URL in the app store isn't very useful
- Cannot click on the bottons on iPhone X
- Can't star a repository from iOS device HOT 2
- Failed on iOS, xcode 10 HOT 5
- Make next Android release provide 64-bit versions
- please update ios app store HOT 7
- Create ticket on iOS 12.3.1 crash when submit. HOT 1
- Upgrade to styled-components@4 HOT 1
- Tool used in the main readme prototype HOT 2
- Replace deprecated React lifecycle methods
- Icons missing on iPad HOT 2
- Use Git Data API for files HOT 7
- Multitasking
- Login problem since RN 0.59
- git point crashes user UI (I think) - locks my phone
- Fix all errors on phone HOT 1
- Fix issues HOT 1
- Question
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-point.