Git-point: Searching user repositories don't show forked repos

Created on 18 Jul 2017  路  7Comments  路  Source: gitpoint/git-point

  1. Repo list is including all repos I have push access to
  2. Search results are not including forks.
    3. Going back to person A's repo list screen from person B's repo list screen will show person B's repo list screen duplicate #3
bug help wanted

Most helpful comment

That sounds like what #105 is trying to fix. With it merged, you should only see your own 'created' repositories now.

All 7 comments

Search function is making a request every time. It seems unnecessary as we already fetched all repos belong to that user, we could simply filter that data.

Cheers thanks for logging this 馃憤

  1. Interesting, so the list includes all your repos + other user repos you have push access to? So in the app currently, I'm just getting all the repositories for a public user (which is incorrect and has been fixed since so not sure why you're seeing that). _However_ with this change I don't think you'll see anything else besides your own repositories (please feel free to pull the app down and run it on a simulator or device to see the latest changes and hopefully all is good)
  2. Is this in the global search screen or specifically in searching in a user's repository list?
  3. Unfortunately it is necessary at the moment because we only show 50 of the user's repositories - if the user has more then filtering wouldn't be sufficient. Open issue to address scrolling and obtaining more data --> #95

Thanks for the fast response.
I am running the latest code on an iOS simulator.

  1. It works correctly for public users. But for the account I logged in, I am able to see other user repos I have push access to. I'm opening a pr in one sec.

  2. Searching in a user's repository list. I guess the filtering part is a duplicate to #95. But the results of current search in a user's repository list is still wrong.

Thanks so much for the PR - Just merged it 鉂わ笍

And you're right, searching doesn't show forks for user repos! What we'll need to do is just add a fork flag and set to true for the search call

Just updated this issue title to reflect that. Thanks again my friend 馃檶

Hmm, im facing a different issue. My profile page shows 29 repositories. It shows 35 repositories in the list view. (Without searching) And all of them are repo's where i have push access to, not my own 'created' repositories, which i would like to see in that screen.

That sounds like what #105 is trying to fix. With it merged, you should only see your own 'created' repositories now.

Closing as #105 should have fixed this :tada:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikolaevigor picture nikolaevigor  路  3Comments

housseindjirdeh picture housseindjirdeh  路  5Comments

TautFlorian picture TautFlorian  路  4Comments

JayBizzle picture JayBizzle  路  4Comments

umarmughal picture umarmughal  路  4Comments