Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 3777e1c

Browse files
authored
Merge pull request #1728 from github/fixes/disable-edit-delete-button
Commenting out the edit/delete functionality from the view
2 parents 1a47482 + 821136e commit 3777e1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/GitHub.InlineReviews/Views/CommentView.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
</Border>
7272
</StackPanel>
7373

74+
<!--
75+
Temporarily removed because the REST API doesn't yet support deleting pending comments
76+
and there's no GraphQL API for deleting comments at all. Can re-enable once the REST API
77+
is fixed.
78+
7479
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Right"
7580
Visibility="{Binding CanDelete, Converter={ui:BooleanToVisibilityConverter}}">
7681
<ui:OcticonButton Command="{Binding BeginEdit}"
@@ -88,6 +93,7 @@
8893
Foreground="{DynamicResource GitHubVsToolWindowText}"
8994
Icon="x"/>
9095
</StackPanel>
96+
-->
9197
</DockPanel>
9298

9399
<markdig:MarkdownViewer Grid.Column="1" Grid.Row="1"

0 commit comments

Comments
 (0)