You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/feature-requests/005-blank-slate.md
+6-18Lines changed: 6 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,28 +52,19 @@ We detect this state when the active repository is empty, meaning the current pr
52
52
53
53
_Scenario:_ A user has begun a project locally and now wishes to put it under version control and share it on GitHub.
54
54
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).
56
56
57
57
### Local repository, initialized, no dotcom remotes
58
58
59
59
We detect this state when the active repository is present but has no dotcom remotes.
60
60
61
61
<imgwidth="400"alt="github tab, local repository with no GitHub remotes"src="https://user-images.githubusercontent.com/17565/57078536-72f7ba80-6cbc-11e9-84e8-8c2384caccdc.png">
62
62
63
-
64
63
#### ...no dotcom repository
65
64
66
65
_Scenario:_ A user has begun a project locally and now wishes to share it on GitHub.
67
66
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).
77
68
78
69
### Local repository, initialized, dotcom remotes
79
70
@@ -180,10 +171,6 @@ Clicking the "Connect" button:
180
171
181
172
## Create repository dialog
182
173
183
-
The create repository dialog may be opened in either "no local repository" mode or "local repository" mode.
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:
202
189
* Ensures that the clone destination path is the active GitHub package context.
203
190
* Closes the "Create repository" dialog.
204
191
205
-
### "Local repository" mode
192
+
## Publish repository dialog
193
+
194
+
> TODO: screenshot
206
195
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.
208
197
209
-
* The "repository name" field is pre-populated with the directory name of the local repository's root directory.
210
198
* The "source remote" field is invalid if a remote with the given name is already present in the local repository.
211
199
212
200
Clicking the "Create" button also behaves slightly differently:
0 commit comments