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

Commit 4bdfa13

Browse files
committed
Add back in the description section
1 parent 8e42868 commit 4bdfa13

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestDetailView.xaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,31 @@
197197
HorizontalScrollBarVisibility="Auto"
198198
VerticalScrollBarVisibility="Auto">
199199
<ghfvs:ScrollingVerticalStackPanel>
200+
<!-- Author and open time -->
201+
<ghfvs:SectionControl Name="descriptionSection"
202+
HeaderText="{x:Static ghfvs:Resources.Description}"
203+
IsExpanded="True"
204+
ghfvs:ScrollingVerticalStackPanel.IsFixed="true">
205+
<StackPanel Orientation="Vertical">
206+
<!-- View conversation on GitHub -->
207+
<StackPanel Orientation="Horizontal" Margin="0 4 0 0">
208+
<v:ActorAvatarView ViewModel="{Binding Author}"
209+
VerticalAlignment="Bottom"
210+
Width="16"
211+
Height="16"
212+
Margin="0,0,0,1"/>
213+
214+
<TextBlock VerticalAlignment="Center" Margin="4 0" TextWrapping="Wrap">
215+
<Run FontWeight="SemiBold" Text="{Binding Model.Author.Login, Mode=OneWay}" />
216+
<Run Text="{x:Static ghfvs:Resources.Wrote}" />
217+
</TextBlock>
218+
</StackPanel>
219+
<!-- PR Body -->
220+
<markdig:MarkdownViewer Name="bodyMarkdown"
221+
Margin="2 4 10 6"
222+
Markdown="{Binding Body}"/>
223+
</StackPanel>
224+
</ghfvs:SectionControl>
200225

201226
<ghfvs:SectionControl Name="reviewsSection"
202227
HeaderText="{x:Static ghfvs:Resources.Reviewers}"

0 commit comments

Comments
 (0)