Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 5890d54

Browse files
committed
Replace the create dialog's local repo mode with a publish dialog
1 parent 67b3391 commit 5890d54

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

docs/feature-requests/005-blank-slate.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,19 @@ We detect this state when the active repository is empty, meaning the current pr
5252

5353
_Scenario:_ A user has begun a project locally and now wishes to put it under version control and share it on GitHub.
5454

55-
Clicking the "Create GitHub repository" button opens the [Create repository dialog](#create-repository-dialog) in "local repository" mode.
55+
Clicking the "Publish GitHub repository" button opens the [Publish repository dialog](#publish-repository-dialog).
5656

5757
### Local repository, initialized, no dotcom remotes
5858

5959
We detect this state when the active repository is present but has no dotcom remotes.
6060

6161
<img width="400" alt="github tab, local repository with no GitHub remotes" src="https://user-images.githubusercontent.com/17565/57078536-72f7ba80-6cbc-11e9-84e8-8c2384caccdc.png">
6262

63-
6463
#### ...no dotcom repository
6564

6665
_Scenario:_ A user has begun a project locally and now wishes to share it on GitHub.
6766

68-
Clicking the "Create GitHub repository" button opens the [Create repository dialog](#create-repository-dialog) panel in "local repository" mode.
69-
70-
#### ...existing dotcom repository
71-
72-
_Scenario:_ A user has a project cloned locally and it exists on GitHub.
73-
74-
_Scenario:_ A user has a project cloned locally and it exists on GitHub, but they cannot push. Maybe they cloned the project before to read its source more easily, but now they wish to contribute.
75-
76-
Clicking the "Connect GitHub repository" button opens the [Connect repository dialog](#connect-repository-dialog).
67+
Clicking the "Create GitHub repository" button opens the [Create repository dialog](#create-repository-dialog).
7768

7869
### Local repository, initialized, dotcom remotes
7970

@@ -180,10 +171,6 @@ Clicking the "Connect" button:
180171

181172
## Create repository dialog
182173

183-
The create repository dialog may be opened in either "no local repository" mode or "local repository" mode.
184-
185-
### "No local repository" mode
186-
187174
<img width="650" alt="create" src="https://user-images.githubusercontent.com/17565/57249991-62c14180-7014-11e9-808a-5d7cdca7d91e.png">
188175

189176
The "owner" drop-down is populated with the user's account name and the list of organizations to which the authenticated user belongs. Organizations to which the user has insufficient permissions to create repositories are disabled with an explanatory suffix.
@@ -202,11 +189,12 @@ Clicking the "Create" button:
202189
* Ensures that the clone destination path is the active GitHub package context.
203190
* Closes the "Create repository" dialog.
204191

205-
### "Local repository" mode
192+
## Publish repository dialog
193+
194+
> TODO: screenshot
206195
207-
The major difference in this mode is that certain controls are pre-populated with values from the state of the provided local repository.
196+
The major difference between this dialog and the [Create repository dialog](#create-repository-dialog) is that the local repository's path is displayed above the owner and name controls.
208197

209-
* The "repository name" field is pre-populated with the directory name of the local repository's root directory.
210198
* The "source remote" field is invalid if a remote with the given name is already present in the local repository.
211199

212200
Clicking the "Create" button also behaves slightly differently:

0 commit comments

Comments
 (0)