Repository navigation
Show both owner login and repo name in list - #5160
RaeesBhatti wants to merge 3 commits into
Conversation
So that, the list shown both owner login and repo name
| let prefix: string | null = null | ||
| if (this.props.needsDisambiguation && gitHubRepo) { | ||
| if (gitHubRepo) { | ||
| prefix = `${gitHubRepo.owner.login}/` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@RaeesBhatti thanks for opening up this PR. This is something I was thinking about recently as a way to add more context, but I'm going to let this sit for a bit and gather feedback. Some additional context/history:
|
|
Hi @RaeesBhatti! Thanks for the PR! Would you mind articulating what problem this is solving for specifically? As @shiftkey mentioned, there are a lot of different problems that are somewhat similar in this space, and we'd like to get clearer on what problems we're solving. It's ok for a solution not to cover the entire surface area of problem areas, but we do want to have a clearly framed problem that we're solving for, and potential tradeoffs we're accepting, before implementing or merging solutions. |
|
@billygriffin My apologies for a late reply. The main reason for implementing this change was to "disambiguate" ownership of repos named like "examples", "sdk", "backend", "site". My work (like many others) spans across repos from multiple orgs, and different workstations have different locally cloned repos; having a repo named "backend" is not very intuitive atm. The existing logic for disambiguation requires two repos with same name to trigger which means that previously mentioned repo names would still not be clear. |
|
@RaeesBhatti thanks for the feedback. For the moment I'm going to close this out as we've not really dug into the underlying issue, and I'd love to explore the problem space better. So please follow along with #1533 in the meantime. |
Related issue: #1533