This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Commit 3d2b580
committed
Consolidate PathError into PathWarning
There was an issue with PathError appearing at the top. When the error
appeared, the repository list would move down causing a different
repository to be selected. This would clause flickering between two
repositories.
This commit consolidates PathError into PathWarning (which appears
above the path which is being validated). This avoids the flicker and
puts the warning next to the text box which it applies to.
The logic to block clone or open when there is a file in the way has
been moved to the commands' `canExecute` observable.1 parent 527b1d1 commit 3d2b580
File tree
4 files changed
+10
-34
lines changed- src
- GitHub.App
- SampleData/Dialog/Clone
- ViewModels/Dialog/Clone
- GitHub.Exports.Reactive/ViewModels/Dialog/Clone
- GitHub.VisualStudio/Views/Dialog/Clone
4 files changed
+10
-34
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
Lines changed: 9 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 65 | | |
73 | 66 | | |
74 | 67 | | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | 71 | | |
79 | | - | |
80 | | - | |
| 72 | + | |
| 73 | + | |
81 | 74 | | |
82 | 75 | | |
83 | | - | |
84 | | - | |
| 76 | + | |
| 77 | + | |
85 | 78 | | |
86 | 79 | | |
87 | 80 | | |
| |||
102 | 95 | | |
103 | 96 | | |
104 | 97 | | |
105 | | - | |
106 | | - | |
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
| |||
247 | 238 | | |
248 | 239 | | |
249 | 240 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 241 | | |
263 | 242 | | |
264 | 243 | | |
265 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
266 | 250 | | |
267 | 251 | | |
268 | 252 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
0 commit comments