Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@grokys
Copy link
Contributor

@grokys grokys commented Mar 23, 2017

  • Added "getting started" and "contributing" guides
  • Added a "welcome" message linking to docs from Team Explorer

@grokys grokys requested review from jcansdale, paladique and shana March 23, 2017 08:18
@jcansdale
Copy link
Collaborator

jcansdale commented Mar 23, 2017

It looks like the documentation here is out of date:
https://services.github.com/on-demand/windows/visual-studio

It suggests assessing the GitHub Extension by selecting 'View > Other Windows > GitHub' from the main menu (which is currently just the PR list). It should maybe mention something about the icons and repo list on the 'Team Explorer' pane.

I hear @beardofedu might have something to do with these pages? 😄

@paladique
Copy link
Contributor

paladique commented Mar 24, 2017

Just listing out the additional things to add to the docs, feel free to add more if I missed anything:

  • View on GitHub (open/copy/blame)
    • Open
    • Copy
    • Blame
  • Removing repos from VS (so they don't show up in TE, under GitHub)
  • Tool bar
    • Refresh
    • Pull Requests
    • GitHub button
  • Settings

Copy link

@bernars bernars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm super impressed with how this has shaped up! I've dropped some comments to tighten up the content with small changes that make the content a little easier to parse, please let me know if you have ANY questions!


After you provide your GitHub or GitHub Enterprise credentials to GitHub for Visual Studio, the extension automatically detects the personal and organization repositories you have access to on your account.

1. Open **Team Explorer**. TODO: screenshot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you click, approximately? Things like "In the top-right corner of the page..." or "Under the ______..." help a lot to orient the user.


1. Open **Team Explorer**. TODO: screenshot
2. Click the **Manage Connections** toolbar button. TODO: screenshot
3. Click the **Clone** link next to the account you want to clone the repository from. TODO: screenshot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Click the Clone link next to the account you want to clone the repository from.

It's best to orient the user, then tell them what to do when they get there (this makes it so they can read the instruction once, memorize it handily, and complete the action based on their memory), like so:

Next to the account you want to clone from, click Clone.

1. Open **Team Explorer**. TODO: screenshot
2. Click the **Manage Connections** toolbar button. TODO: screenshot
3. Click the **Clone** link next to the account you want to clone the repository from. TODO: screenshot
4. In the list of repositories, click the repository you'd like to clone. TODO: screenshot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

2. Click the **Manage Connections** toolbar button. TODO: screenshot
3. Click the **Clone** link next to the account you want to clone the repository from. TODO: screenshot
4. In the list of repositories, click the repository you'd like to clone. TODO: screenshot
5. Change the local path for the clone if necessary. TODO: screenshot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the local path for the clone if necessary.

I like to let them explicitly know that they're 👌 leaving the default when that's true, something like:

If desired, change the local path where you'd like your clone established, or leave the default path as-is.

3. Click the **Clone** link next to the account you want to clone the repository from. TODO: screenshot
4. In the list of repositories, click the repository you'd like to clone. TODO: screenshot
5. Change the local path for the clone if necessary. TODO: screenshot
6. Click the **Clone** button.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this button right next to where the action happens in the previous step? If so, consider combining the two:

If desired, change the local path where you'd like your clone established, or leave the default. Click Clone.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's right below it.


> Note: for this to work with Pull Requests that come from forks, then you must be a maintainer on the repository and the Pull Request submitter must have checked [Allow edits from maintainers](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) when submitting the Pull Request.

If there are remote changes to the pull request branch then they must be pulled before you can push your changes. No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are remote changes to the pull request branch then they must be pulled before you can push your changes.

What about:

"If there are commits on the branch on the remote repository that you don't have on your local clone, you must pull them to your local clone and resolve any conflicts before you can push your local commits back to the remote repository."

We have some articles for resolving merge conflicts (a daunting task to some) that you might consider linking to: https://help.github.com/articles/addressing-merge-conflicts/.

1. Open a solution in Visual Studio.
2. If solution is not already initialized as a git repository, select **Add to Source Control** from the **File** menu. TODO: screenshot
3. Open **Team Explorer**. TODO: screenshot
4. Click the **Sync** button in Team Explorer. TODO: screenshot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Click the Sync button in Team Explorer.

How about:

"In Team Explorer, click Sync."

2. If solution is not already initialized as a git repository, select **Add to Source Control** from the **File** menu. TODO: screenshot
3. Open **Team Explorer**. TODO: screenshot
4. Click the **Sync** button in Team Explorer. TODO: screenshot
5. Click the **Publish to GitHub** button. TODO: screenshot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Click the Publish to GitHub button.

We don't explicitly call out "button" or "link" or "menu", we just refer to the label in bold: https://manual-of-style.githubapp.com/typography/#ui-elements

3. Click the **Connect** link in the GitHub section. If you are already connected to a GitHub instance and want to connect to another, this link will not be visible; instead click **Manage Connections** and then **Connect to GitHub**.
![](images/connect_to_github.png)
4. In the **Connect to GitHub dialog** choose **GitHub** or **GitHub Enterprise**, depending on which product you're using.
5. Type your credentials, then click the **Login** button. No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

click the Login button.

This looks like it's referring to the action of signing in; can you change that UI text to match our terminology guidelines? https://manual-of-style.githubapp.com/terminology/#general-terminology


## Installing from the Visual Studio gallery

If you're currently running Visual Studio 2015 or higher, you can install the extension from the Visual Studio gallery with the following steps:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're currently running Visual Studio 2015 or higher, you can install the extension from the Visual Studio gallery with the following steps:

You can omit "... with the following steps" here:

If you're currently running Visual Studio 2015 or higher, you can install the extension from the Visual Studio gallery.

@paladique
Copy link
Contributor

paladique commented Mar 27, 2017

Thanks so much for the review @bernars!

I've incorporated most of the fixes suggested. Some of them require fixes in multiple pages, but the main takeaways are to:

Use "Sign in" instead of "Log in"

Orient the user, then tell them what to do when they get there

For example,

Next to the account you want to clone from, click Clone.

Instead of

Click the Clone link next to the account

Be aware of where to capitalize

To be consistent with GitHub Help, I recommend not capitalizing "issues" or "pull requests" in general.

You can omit button/link/menu vocabulary

We don't explicitly call out "button" or "link" or "menu", we just refer to the label in bold

I wasn't sure how to rework the suggestion here so I left it for now.

@bernars
Copy link

bernars commented Mar 27, 2017

Those are the main takeaways, @paladique! These are looking SO GOOD.

@grokys grokys changed the base branch from release/2.2.0.9 to master March 28, 2017 13:37
@grokys grokys changed the base branch from master to release/2.2.0.9 March 28, 2017 13:53
@paladique
Copy link
Contributor

paladique commented Mar 30, 2017

Should we include a FAQ page, like we do on the site?

@bernars
Copy link

bernars commented Mar 30, 2017

In general, I'm against FAQs. 18f describes why so beautifully that I always leave that to them.

With that said, we did create a VERY SMALL HANDFUL of FAQs for the GItHub Desktop site, and they were truly questions that Web Support was getting over and over again. You'll notice they follow a common pattern:

  1. The answers are incredibly brief.
  2. There's always a link to documentation with a more verbose answer.

Hope that's helpful!

@shana
Copy link
Contributor

shana commented Mar 31, 2017

This is looking SO GOOD! 🎉 ❤️
I'll get some screenshots for the "Installing" doc over the weekend and I think we're good to go on merging this.

@grokys grokys changed the title WIP: Added Documentation Added Documentation Apr 5, 2017
@grokys grokys changed the base branch from release/2.2.0.9 to master April 5, 2017 08:39
@grokys
Copy link
Contributor Author

grokys commented Apr 5, 2017

@bernars @shana @paladique @jcansdale I think we're just about ready for v1.0 of docs. I've removed the WIP label, time for a final review!

@shana
Copy link
Contributor

shana commented Apr 6, 2017

LGTM! One thing we should do is add descriptions to all ![](image.png) tags, so that they are readable by screen readers and other accessibility software. I opened a separate issue #952 to track this, we can tackle that separately.

@shana shana merged commit 90ae092 into master Apr 6, 2017
@shana shana deleted the grokys/docs branch April 6, 2017 11:23
@shana
Copy link
Contributor

shana commented Apr 6, 2017

image

@bernars
Copy link

bernars commented Apr 6, 2017

CONGRATULATIONS! 👏 📚 💥

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants