|
155 | 155 | <Rectangle Grid.Column="1" Margin="5" Width="1" Height="12" VerticalAlignment="Top" Style="{DynamicResource Separator}" /> |
156 | 156 |
|
157 | 157 | <!-- Checkout pull request button --> |
| 158 | + <!-- |
158 | 159 | <ui:GitHubActionLink Command="{Binding Checkout}" |
159 | 160 | Content="{Binding CheckoutState.Caption}" |
160 | 161 | Grid.Column="2" |
|
163 | 164 | Visibility="{Binding CheckoutState, Converter={ui:NullToVisibilityConverter}}" |
164 | 165 | ToolTip="{Binding CheckoutState.ToolTip}" |
165 | 166 | ToolTipService.ShowOnDisabled="True"/> |
| 167 | + --> |
166 | 168 |
|
167 | 169 | <!-- Pull/push buttons --> |
| 170 | + <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center"> |
| 171 | + <!-- |
168 | 172 | <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center" |
169 | 173 | Visibility="{Binding UpdateState.UpToDate, FallbackValue=Collapsed, Converter={ui:BooleanToInverseVisibilityConverter}}"> |
| 174 | + --> |
170 | 175 | <ui:OcticonImage Icon="arrow_down"/> |
171 | 176 | <TextBlock Text="{Binding UpdateState.CommitsBehind}" VerticalAlignment="Center"/> |
172 | 177 | <ui:GitHubActionLink Content="Pull" |
|
176 | 181 | ToolTipService.ShowOnDisabled="True" |
177 | 182 | VerticalAlignment="Center"/> |
178 | 183 | <ui:OcticonImage Icon="arrow_up"/> |
| 184 | + <TextBlock Text="5" VerticalAlignment="Center"/> |
| 185 | + <!-- |
179 | 186 | <TextBlock Text="{Binding UpdateState.CommitsAhead}" VerticalAlignment="Center"/> |
| 187 | + --> |
180 | 188 | <ui:GitHubActionLink Content="Push" |
181 | 189 | Command="{Binding Push}" |
182 | 190 | Margin="4,0" |
183 | 191 | ToolTip="{Binding UpdateState.PushToolTip}" |
184 | 192 | ToolTipService.ShowOnDisabled="True" |
185 | 193 | VerticalAlignment="Center"/> |
186 | 194 | <!-- Sync submodules --> |
| 195 | + <ui:OcticonImage Icon="package"/> |
| 196 | + <TextBlock Text="4" Margin="4 0 0 0" VerticalAlignment="Center"/> |
| 197 | + <!-- |
187 | 198 | <TextBlock Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center"/> |
| 199 | + --> |
| 200 | + <ui:GitHubActionLink Content="Sync" |
| 201 | + Command="{Binding SyncSubmodules}" |
| 202 | + Margin="4 0" /> |
| 203 | + <!-- |
| 204 | + <ui:GitHubActionLink Content="Sync" |
| 205 | + Command="{Binding SyncSubmodules}" |
| 206 | + Margin="4 0" |
| 207 | + Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ui:BooleanToVisibilityConverter}}" /> |
| 208 | + --> |
| 209 | + <!-- |
188 | 210 | <ui:GitHubActionLink Content="Sync" |
189 | 211 | Command="{Binding SyncSubmodules}" |
190 | 212 | Margin="4 0" |
191 | 213 | Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ui:BooleanToVisibilityConverter}}" /> |
| 214 | + --> |
192 | 215 | </StackPanel> |
193 | 216 |
|
194 | 217 | <!-- Branch checked out and up-to-date --> |
|
0 commit comments