Skip to content

Repositories are difficult to find, navigate, and differentiate #6460

Closed

Description

@billygriffin

Please describe the problem you think should be solved

We've seen many issues suggesting to change the way we either visualize or group repositories in GitHub Desktop. Right now we just organize repos alphabetically and it's tricky to differentiate many of them visually because it's just in the format of [repo name], which doesn't account for a variety of different scenarios. We have a tooltip that displays on hover, but it's relatively undiscoverable, slow to appear, and requires you to look at each repo individually to differentiate. We also group repos that are on GitHub.com separate from those that are purely local or on another remote. We do have filtering repos via a text input in place today, which should be helpful, but obviously not sufficient based on the feedback.

There have many different implementations suggested, so I wanted to try organize most of the issues I could find in one place to attempt to get our arms around the problem areas as we try to determine a path forward. Ideally, whatever we implement would be something we could work forward from and we could therefore close and/or remove future proposal from all the previous issues.

Relevant issues:

Group repos by organization and show full repo name: #1533
Ability to "pin" repos to top of list: #2038
Allow repo list to be always expanded: #1593
Group repos by organization (and make orgs collapsable): #2037
Add categories for repos to be grouped together: #4945
Add folders for repos to be grouped together: #1598
Group or filter repos by Topics: #4958
Drag and drop and/or add labels to repos: #2324
Add visual differentiation for repos: #1929
Add a keyword to repos in Desktop: #4940
Add placeholder name for repos in Desktop: #3197
Support multiple windows: #3606
Don't persist repo filter after selecting one: #4273
Filter across multiple repos with OR operator: #5280
Repo order is not maintained alphabetically after filtering: #4184
Keep changed repo (local changes) at top: #10946
Filter based on status: #19369

Slight variation
Some way to visually distinguish worktrees: #5764

Additional contextual things:
Which repos have unpushed changes without having to go through the whole list: #7053

Potential problems on ordering/grouping:

  1. I want to access the same [x] repos frequently, and navigating to them is unnecessarily time-consuming.
  2. When I'm a member of many organizations, I'm only interested in repos for a particular org at a time and having them intermixed and always visible makes it hard to find the ones I care about.
  3. Similar to 2 above, filtering only filters on the repo name, but if I want to see the repos in a particular org, for example, there's no way to accomplish that.
  4. My mental model of organizing my repos doesn't fit nicely into alphabetical / by GitHub org / other out of the box way of grouping them together.
  5. I can't always remember the name of the repo I'm looking for exactly for filtering to work.

Potential problems related to visualizing:

  1. If I have the same repo cloned in multiple locations locally, there's no way to visually differentiate between them without the tooltip, which is slow to appear and undiscoverable.
  2. I sometimes can't remember what each repo is actually for just by the name, and it would be helpful to have some metadata to trigger my memory.
  3. If repos have the same name but are under different orgs, there's no way to differentiate between them except with the tooltip (see 1 above).

Additional considerations

  1. We should account for forks
  2. Not all repos are pushed up to GitHub - ensure we account for that
  3. Org names and repo names are often long and this should account for that
  4. Worktrees also share the same problems of visually distinguishing them (see: Add link to usage data page #5674)

I'm sure I didn't capture everything here, so please feel free to suggest edits to this, and feedback is absolutely welcome.

cc: @desktop/design @desktop/support @nerdneha @adamreisnz

Activity

  1. elliotcm commented on Dec 20, 2018

    @elliotcm

    Thanks @billygriffin.

    All of the above are useful suggestions. It feels to me like the crux is not necessarily a difficulty in finding something per se (though that's the case for some things), but for me it's about cognitive load.

    Out of all the repos in the world we're already filtered down to the ones that we work on enough to have bothered to import them into Desktop, so we just need a few tools to speed up the last bit of sorting and filtering to get us from dozens down to 1.

    That's why most of the features you have here are sorting (most recent, most frequent, pinned repos) or filtering (various kinds of collapsible groups act as filters). You mention that the list currently has filtering but really it has searching, which is a different sort of task.

  2. adamreisnz commented on Dec 20, 2018

    @adamreisnz

    Thanks for putting this together @billygriffin , I think it's a good summary of the problems/considerations.

    Maybe a good idea to also try and list some of the suggested possible ways of addressing these problem, and see which ones are plausible and make the most sense.

    I'll start off by listing a few off the top of my head, with potential pros and cons that come to mind.

    Display organisation name in front of the repo name in a muted colour

    Pros

    • Simple and tidy solution
    • Organisations are already an established way of organising repo's
    • Quick visual identification of repo possible, provided organisation name is meaningful

    Cons

    • Organisation name can be long
    • Repository may be non-github and not have an identifiable organisation name
    • Doesn't help people much who have large organisations with many repo's

    Display the parent folder name in front of the repo name in a muted colour

    Pros

    • More control over what's shown than displaying the often static organisation name
    • Quick visual identification of repo possible, provided folder name is meaningful

    Cons

    • There may be no parent folder
    • Folder name may me meaningless and just add noise
    • Forces people to organise their folders well

    Filter repo list by organisation

    Pros

    • All organisation repo's visible at the same time
    • Focus only on the org you're working with/on at that time
    • Relatively low effort to implement, as the current search filter could be adapted to also match organisation name

    Cons

    • Repository may be non-github and not have an identifiable organisation name
    • Doesn't help people much who have large organisations with many repo's
    • Adding another filter dropdown to the repo list may clutter the UI

    Custom grouping of repo's in virtual folders/groups

    Pros

    • The most flexibility to organise repo's as you see fit
    • Doesn't matter if a repo is Github hosted or elsewhere
    • Works also when a repo doesn't have an organisation or parent folder

    Cons

    • Doesn't offer users a point to start with
    • Requires the user to pro-actively maintain and organise repo grouping by hand
    • Filtering/search may still need to be adjusted to account for groups
    • Larger effort to implement

    Pinned/favourite repo's

    Pros

    • Simple, light-weight solution
    • Probably sufficient for a large number of users
    • Quickly have the repo's you work with the most at the top of the list, without needing to filter/search in addition
    • Doesn't matter if a repo is Github hosted or elsewhere
    • Works also when a repo doesn't have an organisation or parent folder

    Cons

    • Only useful if the number of repo's you work on at any given moment in time is limited
    • Still doesn't differentiate repo's if they share the same name
    • Doesn't address the problem of not remembering/knowing what a repo is by name (although if you've pinned it, you can be assumed to know what repo it is)

    Add keywords to repo's

    Pros

    • Can add multiple keywords for multi-dimensional organising
    • Flexibility to organise repo's as you see fit
    • Doesn't matter if a repo is Github hosted or elsewhere
    • Works also when a repo doesn't have an organisation or parent folder

    Cons

    • You may forget the keywords
    • Still doesn't differentiate repo's if they share the same name
    • Will need to adjust the search filter to also match keywords, which could sometimes result in false positives (e.g. if a repo name partially matches a keyword)

    Combination of grouping by organisation/folder/custom label

    E.g. group by organisation by default, display in front of repo name. Fall back to parent folder name if not present or non-github. Allow to manually edit the label by clicking on it.

    Pros

    • Organisations are already an established way of organising repo's
    • Quick visual identification of repo possible
    • Fall back to parent folder name if no organisation available
    • Allows manual override for further customisation

    Cons

    • Will need to store manually assigned labels somewhere
    • More development effort
  3. say25 commented on Dec 21, 2018

    @say25
    Member

    Just something to add from my personal experience. I personally manage two copies of the same repo because the project is rather large and sometimes running two copies of the same project for debugging purposes is nice.

  4. felga commented on Jan 4, 2019

    @felga

    For me just being able to set a alias to the repo will be enough. I can put numbers or anything I want in the begining to group and continue to use the current ordering.

  5. ampinsk commented on Jan 9, 2019

    @ampinsk
    Contributor

    Adding a note on analytics from a discussion in Slack:

    • The majority of Desktop users have 3 or fewer repos.
    • Median is 2 repos, 75th percentile is 5 repos, 90th percentile is 10 repos

    As @billygriffin put it:

    So for improved repo organization purposes, it seems like we're solving it for maybe around 10-20% of users, where the other 80-90% won't see a big difference.
    However, that's not as relevant for visualization of repos, where the absolute number of repos is less important than how they're displayed.

  6. Janpot commented on Jan 9, 2019

    @Janpot

    So for improved repo organization purposes, it seems like we're solving it for maybe around 10-20% of users, where the other 80-90% won't see a big difference.

    Is plain user count the right metric here? What if those 10-20% users use the app way more often?

  7. billygriffin commented on Jan 9, 2019

    @billygriffin
    ContributorAuthor

    @Janpot Oh absolutely, we just wanted to share a metric that helped to color the impact of the first set of problems. Totally agree that it's not the full story, we just wanted to share this to add context to any potential solutions.

  8. adamreisnz commented on Jan 9, 2019

    @adamreisnz

    For reference, I've about 60 repo's in there, roughly 25 for open source projects, 15 for clients of mine, 10 personal and 10 for our business. I wouldn't have expected that the majority of people have such a small number of repositories.

  9. xt0rted commented on Jan 10, 2019

    @xt0rted
    Contributor

    I've got 35 repos right now (cleaned some out last month) and expect to be adding another 10+ over the next month or so. I also use the app every day.

  10. ampinsk commented on Jan 10, 2019

    @ampinsk
    Contributor

    Thanks everybody for the extra context! To echo what @billygriffin said, just because in pure numbers the majority have a small amount of repos doesn't mean we aren't interested in working on alleviating the frustration of having many repos. If anything, it makes it clear that we should be careful to not make the experience worse for users who have a few 😄

  11. StefanoCecere commented on Jan 12, 2019

    @StefanoCecere

    Usually pros with many repos need advanced features, that Desktop doesn’t have.. that’s why 90% Desktop users have 3 repos, they are casual users... I (60 repos, like many using git daily for everything ) would use Desktop as “non advanced client” only if it had some groupings, like discussed here.. so it is a must feature to attract advanced users

  12. billygriffin commented on Jan 15, 2019

    @billygriffin
    ContributorAuthor

    We're working through some initial design possibilities here, and we'd love to understand a bit more about how people who do have a lot of repos in Desktop are using it. Would any of y'all who are feeling the need for this (and have more than ~20 repos in Desktop) be willing to hop on a video chat with us for an informal user interview and maybe demonstrate to us an example of the ways you're using the app and how it's falling down for you at present?

    If you are willing, please react to this message and fill out this user research form (so I know who to email to set it up): https://goo.gl/forms/PG0uBW3TSfsty8uk2

    Thanks!

    cc: @adamreisnz @xt0rted @Janpot

  13. adamreisnz commented on Jan 15, 2019

    @adamreisnz

    Done!

  14. Janpot commented on Jan 15, 2019

    @Janpot

    Sure

  15. 48 remaining items

  16. karim commented on Jun 10, 2019

    @karim

    Thanks @amcgregor, I never thought about that. 😃

    I was hoping GitHub Desktop would treat wikis as normal repos and place them under the owner name but they are somehow treated differently, but I will do it your way for now. Thanks a lot.

  17. added
    meta
    on Jun 24, 2019
  18. EdOverride commented on Jul 13, 2019

    @EdOverride

    How about we just allow to create single level category and move repos in that?

    This solution would be easiest to implement and would be enough for most people, who have 30+ repos in the list.

    GitHub Desktop 2019-07-13 19 51 38

  19. mniederl commented on Sep 26, 2020

    @mniederl

    Now more than a year has passed since the last comment.
    Are there any updates?

  20. jil-jeep commented on Sep 26, 2020

    @jil-jeep
  21. JimmyCushnie commented on Sep 26, 2020

    @JimmyCushnie

    The update is that they closed the issue, and apparently don't think there's a problem anymore.

    Github Desktop is so frustrating, everything about it is great except for this ONE giant glaring missing feature.

  22. cloewen8 commented on Sep 26, 2020

    @cloewen8

    Re-read the problem, and looking at my list of repositories, it is still a problem.
    I've had to adapt by avoiding features that would create repositories with similar or identical names (namely wikis and partially branches).

  23. JimmyCushnie commented on Sep 27, 2020

    @JimmyCushnie

    I've thought of a solution. If I make a second github account called ___________JimmysPinnedRepos, and I move all my important repos to that account, they will stay at the top of the list.

    The only downside is that it would be stupid

  24. steveward commented on Sep 28, 2020

    @steveward
    Contributor

    @JimmyCushnie I've edited your comment to remove profanity, and it is considered to be a violation of the GitHub Desktop Code of Conduct. You may consider this an official warning.

  25. kuro68k commented on Sep 28, 2020

    @kuro68k

    Given that this is closed I think we can take it that there is no intention to improve the app in this aspect. Which is of course fine, it can be a simple app for low end users with only a small number of repositories.

  26. steveward commented on Sep 28, 2020

    @steveward
    Contributor

    @kuro68k we ask that you please only comment with feedback that is beneficial to GitHub Desktop's community as is mentioned in Our Standards. Please consider this is a warning. If an issue is closed it does not mean that we will not reconsider changing things going forward, it just means it is not something the team is not currently focused on.

  27. amcgregor commented on Sep 29, 2020

    @amcgregor

    Difficult to have positive, beneficial feedback on something that is out of our own control to correct and has seemingly been put on ice, and furthermore is now approaching three years in age. Is throwing a screenshot up demonstrating the uselessness of the current arrangement beneficial?

    repositories

    That represents one fifth of the total scrollable area for the repository listing, and is notable in the use of prefix namespacing. (Which can be elided similar to multiple depths of folder inclusion and used for automatic grouping.) It's almost usable as-is, barring the auto refreshing problem, which makes it completely unusable, ref #1128 which I sincerely hope does not end up the way this issue did (edit: never mind, also three years old. I keep forgetting I survived a coma. The time; where did it go?)

    ⌘T and jumping to a repository by filtering is almost acceptable, but that completely ignores the "design" of that sidebar in favour of Vim-like CtrlP motion. If I want that, I can stay within Vim, CtrlP is good people, and there is extensive and excellent Git integration available for that editor. The only purpose for which I formerly had used GitHub Desktop is now easily accomplishable there, that is, marking subset hunks of a file for commit vs. committing the whole file, and lets me unify project management and manipulation under a single environment. And avoid mouse-based wrist hurt disease while doing so. And utilize pre-commit without failure because it can be actually aware of the Python virtual environment my code is contained within. And can utilize advanced interactive authentication mechanisms (e.g. hardware smartcard) for improved security. And only consume 40MiB of RAM (for a full IDE) instead of 584.9MiB for a web application runtime and client browser environment because Electron. And…

    Sorry, my level of flabbergasted is only rising. :'( I learned how to swallow and see and walk again, which took ~6 months, how hard can it be to make a decision and implement improvements to a list of labels? (There have been around six additional half-years of time since.)

    [Edit in response to an update to #1128 as of one hour after initially writing this: finally closed, option to +mostly+ disable background fetch added to 2.5.6, so there is, uh, some progress.]

  28. kuro68k commented on Sep 29, 2020

    @kuro68k

    @kuro68k please only comment with feedback that is beneficial to GitHub Desktop's community -- consider this is a warning. If an issue is closed it does not mean that we will not reconsider changing things going forward, it just means it is not something the team is not currently focused on.

    @steveward I have reported this comment as a COC violation. You might consider revising it. There is no need for this kind of hostility, I was explaining the situation in neutral language in order to de-escalate. Please be aware that it can be difficult to infer tone from text comments so you should usually assume good faith where possible. Unfortunately your comment is unambiguously hostile and unwelcoming.

  29. steveward commented on Sep 29, 2020

    @steveward
    Contributor

    @kuro68k saying that GitHub Desktop "can be a simple app for low end users with only a small number of repositories" is not helpful feedback and goes against Our Standards, which is why I issued a warning.

    I appreciate the feedback and enthusiasm everyone has shared for us to make changes to the repository list, but I am going to lock this issue for the time because the discussion is starting to stray away from that.

  30. locked as too heated and limited conversation to collaborators on Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementmeta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions