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

Commit a785da4

Browse files
Additional changes
1 parent 7183891 commit a785da4

File tree

6 files changed

+8
-15
lines changed

6 files changed

+8
-15
lines changed

src/GitHub.App/SampleData/CommentThreadViewModelDesigner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using System.Collections.ObjectModel;
44
using System.Diagnostics.CodeAnalysis;
55
using System.Reactive;
6+
using GitHub.InlineReviews.ViewModels;
7+
using GitHub.Models;
68
using GitHub.ViewModels;
79
using ReactiveUI;
810

src/GitHub.InlineReviews/SampleData/InlineAnnotationViewModelDesigner.cs renamed to src/GitHub.App/SampleData/InlineAnnotationViewModelDesigner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using GitHub.Models;
44
using GitHub.ViewModels;
55

6-
namespace GitHub.InlineReviews.SampleData
6+
namespace GitHub.SampleData
77
{
88
public class InlineAnnotationViewModelDesigner : IInlineAnnotationViewModel
99
{

src/GitHub.InlineReviews/GitHub.InlineReviews.csproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
<Compile Include="Margins\InlineCommentMargin.cs" />
8282
<Compile Include="Margins\InlineCommentMarginVisible.cs" />
8383
<Compile Include="Margins\InlineCommentMarginEnabled.cs" />
84-
<Compile Include="SampleData\InlineAnnotationViewModelDesigner.cs" />
8584
<Compile Include="PullRequestStatusBarPackage.cs" />
8685
<Compile Include="InlineReviewsPackage.cs" />
8786
<Compile Include="Models\InlineCommentThreadModel.cs" />
@@ -117,9 +116,6 @@
117116
<Compile Include="ViewModels\NewInlineCommentThreadViewModel.cs" />
118117
<Compile Include="ViewModels\PullRequestReviewCommentViewModel.cs" />
119118
<Compile Include="ViewModels\PullRequestStatusViewModel.cs" />
120-
<Compile Include="Views\InlineAnnotationView.xaml.cs">
121-
<DependentUpon>InlineAnnotationView.xaml</DependentUpon>
122-
</Compile>
123119
<Compile Include="Views\PullRequestFileMarginView.xaml.cs">
124120
<DependentUpon>PullRequestFileMarginView.xaml</DependentUpon>
125121
</Compile>
@@ -432,10 +428,6 @@
432428
<Generator>MSBuild:Compile</Generator>
433429
<SubType>Designer</SubType>
434430
</Page>
435-
<Page Include="Views\InlineAnnotationView.xaml">
436-
<Generator>MSBuild:Compile</Generator>
437-
<SubType>Designer</SubType>
438-
</Page>
439431
<Page Include="Views\PullRequestFileMarginView.xaml">
440432
<SubType>Designer</SubType>
441433
<Generator>MSBuild:Compile</Generator>

src/GitHub.VisualStudio.UI/Views/CommentThreadView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ItemsControl ItemsSource="{Binding Annotations}">
1515
<ItemsControl.ItemTemplate>
1616
<DataTemplate>
17-
<local:InlineAnnotationView Margin="0 4"/>
17+
<local:InlineAnnotationView />
1818
</DataTemplate>
1919
</ItemsControl.ItemTemplate>
2020
</ItemsControl>

src/GitHub.InlineReviews/Views/InlineAnnotationView.xaml renamed to src/GitHub.VisualStudio.UI/Views/InlineAnnotationView.xaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
<UserControl x:Class="GitHub.InlineReviews.Views.InlineAnnotationView"
1+
<UserControl x:Class="GitHub.VisualStudio.Views.InlineAnnotationView"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6-
xmlns:local="clr-namespace:GitHub.InlineReviews.Views"
7-
xmlns:sample="clr-namespace:GitHub.InlineReviews.SampleData"
86
xmlns:ghfvs="https://github.com/github/VisualStudio"
97
xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf"
8+
xmlns:sampleData="clr-namespace:GitHub.InlineReviews.SampleData;assembly=GitHub.InlineReviews"
109
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
1110

1211
<d:DesignProperties.DataContext>
13-
<sample:InlineAnnotationViewModelDesigner />
12+
<sampleData:InlineAnnotationViewModelDesigner />
1413
</d:DesignProperties.DataContext>
1514

1615
<StackPanel Orientation="Vertical">

src/GitHub.InlineReviews/Views/InlineAnnotationView.xaml.cs renamed to src/GitHub.VisualStudio.UI/Views/InlineAnnotationView.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Windows.Controls;
33
using GitHub.VisualStudio.UI.Helpers;
44

5-
namespace GitHub.InlineReviews.Views
5+
namespace GitHub.VisualStudio.Views
66
{
77
public partial class InlineAnnotationView : UserControl
88
{

0 commit comments

Comments
 (0)