New repo: Add description field
See original GitHub issueDescription
The New Repository dialog is almost just like on the web, except that it lacks a description input field. I’ve included screenshots at the bottom of this post to juxtapose the two.
I understand the input of the description field to go to two places upon creation of a repo on the web:
- The description field below the repo title
- The line below the title in
README.md
if “Initialize this repository with a README” is selected before selecting “Create repository”.
It is also my understanding that the description field is specific to GitHub.com repositories, as it does not go into the .git/description
file for gitweb, as discussed in isaacs/github#485. However, it would be convenient to avoid having to utilize the website to manually input the repo description after publishing a new repo.The desktop client could handle this by doing the following:
- Allow the user to input a description string below the title (like on the web)
- Save it somewhere until the user publishes the repo (someone on the team will know the best location for this—maybe there’s already a place—but if not, perhaps at
.git/info/gh-description
?) - As a step of publishing the repo, set the description field of the repo to the user-input string
If this is implemented, then the repo creation for desktop will be in complete parity with the web. 🙌
Version
GitHub Desktop version: 0.8.2
OS version: macOS 10.12.6
Screenshots
Desktop:
Web:
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
And indeed, that’s exactly what @davidcelis did in https://github.com/desktop/desktop/pull/2723 😆
Nope, no worries!