mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-09 15:22:37 -05:00
Add Organizations of a user #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shreyas1599 on GitHub (Apr 11, 2020).
Currently, the organizations a user belongs to is not displayed. Also, if a repo belongs to an organization instead of an individual as is the case with this repo, the link of the organization won't work.
So we need an organization screen and on the profile page, the list of organizations the user is a part of. Where do you think we could place it? (It'd just be a row(s) of profile pictures)
Below the yellow line or above the contributions graph or anywhere else?
@pd4d10 commented on GitHub (Apr 12, 2020):
I'm not sure. Seems both would be OK?
@shreyas1599 commented on GitHub (Apr 12, 2020):
@pd4d10 I need some help. I'm trying to add the organization connection in
gh_user.graphql. UnderrepositoryOwnerand inside ... on User is where I'm trying to place it. But for some reason it affects the results of ... on Organization ingh_user.dart. Am I doing anything wrong?@pd4d10 commented on GitHub (Apr 13, 2020):
It seems an issue of the artemis lib: https://github.com/comigor/artemis/issues/18
I tried to upgrade its version before but got another problem: https://github.com/comigor/artemis/issues/63#issuecomment-590172267
@shreyas1599 commented on GitHub (Apr 13, 2020):
Alright. Also in the
org_reposcreen some organizations have to enable permission for us to be able to fetch details. For example, I'm able to view the Google organization but not the git touch organization (it is stuck on loading forever). Do you think if would be good to add a timeout option and tell display a pop-up telling the user about this? But as far as I know you are already displaying an error message if an error occurs. Still no error message pops up. Maybe because we should add a timeout feature?
@pd4d10 commented on GitHub (Apr 13, 2020):
I'm not sure if the permission you mentioned is related to this:
805f065def/lib/screens/gh_org_repos.dart (L10-L15)We have changed it from GraphQL to RESTful API to avoid the access restriction.
@pd4d10 commented on GitHub (Apr 13, 2020):
Agreed. We could have one.
@shreyas1599 commented on GitHub (Apr 13, 2020):
Yeah, I saw this but for some reason it still doesn't load even though the organization is public( I'm talking about git-touch). Timeout sounds like a hacky fix for now. Doesn't point to the underlying problem.