Skip to content

show something when repository filter returns no matches #5566

Closed

Description

@tierninho

I noticed we surface actions to engage the user to either 'create a new branch' or 'create a new PR' when a filter shows no results. However, the same cannot be said for the results of a Repo, when they are null.

We just offer up a bunch of white space. We should take advantage of that space to engage the user with buttons for New Repository, Add Local Repo, Clone Repo options (similar to how our landing page looks).

Repo space:
screen shot 2018-09-07 at 10 52 37 am

Branch/PR suggestions:
screen shot 2018-09-07 at 10 52 52 am
screen shot 2018-09-07 at 10 52 59 am

cc @desktop/design

Activity

  1. changed the title [-]Add value when Repo search is null[/-] [+]show something when repository filter returns no matches[/+] on Sep 7, 2018
  2. j-f1 commented on Sep 8, 2018

    @j-f1
    Contributor

    Perhaps the same image, then a prompt similar to the “branch not found” view that prompts the user to open a repository?

  3. ampinsk commented on Sep 11, 2018

    @ampinsk
    Contributor

    Thanks for pointing this out @tierninho! I think it's definitely space that we should be at least showing an empty state and a good opportunity to point users to a next step. I think my question is more should we:

    1. Surface all three options (New Repository, Add Local Repo, Clone Repo)?
    2. Choose one based on some criteria (most frequently used, what users are most likely looking for in this context)?

    I'd lean towards choosing one action based on what's most frequently used of the three. 👍

    @desktop/analytics do we have metrics on these actions?

    This is also a side point, but I just realized we speak from the first person here, do we do that anywhere else? I'd expect us to speak more from the third person. 🤔

  4. tierninho commented on Sep 11, 2018

    @tierninho
    ContributorAuthor

    @ampinsk I'll defer to the team for the additional input on what action should be taken.

    This is also a side point, but I just realized we speak from the first person here, do we do that anywhere else? I'd expect us to speak more from the third person.

    We use the second person a lot throughout the app, with "you" being mentioned like ~50x. I do not recall any other first person mentions, with little to none of the third person.


    Side note and nitpick: the little robot in the pic is saying ✅, however he returns no results. The bad little robot should should a ❓instead.

    screen shot 2018-09-12 at 8 40 53 am

  5. nerdneha commented on Sep 12, 2018

    @nerdneha
    Contributor

    I think my question is more should we:

    1. Surface all three options (New Repository, Add Local Repo, Clone Repo)?
    2. Choose one based on some criteria (most frequently used, what users are most likely looking for in this context)?

    In this context, I'm searching for something I expect to already exist so what I'd probably want is clone repo or add local and I'd pick clone repo because at least we give feedback when it already exists locally (caveat: we don't do a great job of telling them what to do when it does exist locally).

    I think there's a world where we could put add local and new repository in the clone repo modal but, amongst all of these, I think my mental order for most fundamental is:

    • Clone Repo
    • Add Local Repo
    • New Repo

    New Repo is last to me because people can still create a new repo on dotcom and then clone it.

  6. self-assigned this
    on Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions