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

Commit 7300754

Browse files
authored
Merge pull request #1500 from github/refactor/remove-unused-inlinereviews-code
Removed unused InlineReviews code.
2 parents ddbe030 + 9dd5976 commit 7300754

19 files changed

+0
-662
lines changed

src/GitHub.Exports/GitHub.Exports.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@
165165
<Compile Include="Models\DiffLine.cs" />
166166
<Compile Include="Models\DiffUtilities.cs" />
167167
<Compile Include="Models\ICommentModel.cs" />
168-
<Compile Include="Models\IInlineCommentModel.cs" />
169168
<Compile Include="Models\ILocalRepositoryModelFactory.cs" />
170169
<Compile Include="Models\IPullRequestReviewCommentModel.cs" />
171170
<Compile Include="Services\IEnterpriseCapabilitiesService.cs" />

src/GitHub.Exports/Models/IInlineCommentModel.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/GitHub.InlineReviews/GitHub.InlineReviews.csproj

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@
9393
<Compile Include="Peek\InlineCommentPeekResultPresenter.cs" />
9494
<Compile Include="Properties\AssemblyInfo.cs" />
9595
<Compile Include="SampleData\CommentThreadViewModelDesigner.cs" />
96-
<Compile Include="SampleData\DiffCommentThreadViewModelDesigner.cs" />
97-
<Compile Include="SampleData\PullRequestCommentsViewModelDesigner.cs" />
9896
<Compile Include="Services\IInlineCommentPeekService.cs" />
9997
<Compile Include="Services\IPullRequestSessionService.cs" />
10098
<Compile Include="Services\InlineCommentPeekService.cs" />
@@ -103,32 +101,17 @@
103101
<Compile Include="InlineCommentMarginProvider.cs" />
104102
<Compile Include="Services\PullRequestSessionService.cs" />
105103
<Compile Include="ViewModels\CommentViewModel.cs" />
106-
<Compile Include="ViewModels\DiffCommentThreadViewModel.cs" />
107104
<Compile Include="ViewModels\ICommentThreadViewModel.cs" />
108105
<Compile Include="ViewModels\CommentThreadViewModel.cs" />
109-
<Compile Include="ViewModels\IDiffCommentThreadViewModel.cs" />
110-
<Compile Include="ViewModels\IInlineCommentViewModel.cs" />
111106
<Compile Include="ViewModels\InlineCommentPeekViewModel.cs" />
112107
<Compile Include="ViewModels\NewInlineCommentThreadViewModel.cs" />
113-
<Compile Include="ViewModels\InlineCommentViewModel.cs" />
114-
<Compile Include="ViewModels\IPullRequestCommentsViewModel.cs" />
115-
<Compile Include="ViewModels\IssueCommentThreadViewModel.cs" />
116-
<Compile Include="ViewModels\PullRequestCommentsViewModel.cs" />
117108
<Compile Include="ViewModels\PullRequestStatusViewModel.cs" />
118-
<Compile Include="Views\DiffCommentThreadView.xaml.cs">
119-
<DependentUpon>DiffCommentThreadView.xaml</DependentUpon>
120-
</Compile>
121-
<Compile Include="Views\DiffView.cs" />
122109
<Compile Include="Views\GlyphMarginGrid.xaml.cs">
123110
<DependentUpon>GlyphMarginGrid.xaml</DependentUpon>
124111
</Compile>
125112
<Compile Include="Views\InlineCommentPeekView.xaml.cs">
126113
<DependentUpon>InlineCommentPeekView.xaml</DependentUpon>
127114
</Compile>
128-
<Compile Include="Views\PullRequestCommentsPane.cs" />
129-
<Compile Include="Views\PullRequestCommentsView.xaml.cs">
130-
<DependentUpon>PullRequestCommentsView.xaml</DependentUpon>
131-
</Compile>
132115
<Compile Include="SampleData\CommentViewModelDesigner.cs" />
133116
<Compile Include="Services\DiffService.cs" />
134117
<Compile Include="Services\IDiffService.cs" />
@@ -423,10 +406,6 @@
423406
<SubType>Designer</SubType>
424407
<ContainsDesignTimeResources>true</ContainsDesignTimeResources>
425408
</Page>
426-
<Page Include="Views\DiffCommentThreadView.xaml">
427-
<SubType>Designer</SubType>
428-
<Generator>MSBuild:Compile</Generator>
429-
</Page>
430409
<Page Include="Views\GlyphMarginGrid.xaml">
431410
<SubType>Designer</SubType>
432411
<Generator>MSBuild:Compile</Generator>
@@ -435,10 +414,6 @@
435414
<SubType>Designer</SubType>
436415
<Generator>MSBuild:Compile</Generator>
437416
</Page>
438-
<Page Include="Views\PullRequestCommentsView.xaml">
439-
<SubType>Designer</SubType>
440-
<Generator>MSBuild:Compile</Generator>
441-
</Page>
442417
<Page Include="Tags\AddInlineCommentGlyph.xaml">
443418
<Generator>MSBuild:Compile</Generator>
444419
<SubType>Designer</SubType>

src/GitHub.InlineReviews/InlineReviewsPackage.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Threading;
55
using GitHub.Helpers;
66
using GitHub.Commands;
7-
using GitHub.InlineReviews.Views;
87
using GitHub.Services.Vssdk.Commands;
98
using GitHub.VisualStudio;
109
using Microsoft.VisualStudio.ComponentModelHost;
@@ -17,7 +16,6 @@ namespace GitHub.InlineReviews
1716
[Guid(Guids.InlineReviewsPackageId)]
1817
[ProvideAutoLoad(Guids.UIContext_Git, PackageAutoLoadFlags.BackgroundLoad)]
1918
[ProvideMenuResource("Menus.ctmenu", 1)]
20-
[ProvideToolWindow(typeof(PullRequestCommentsPane), DocumentLikeTool = true)]
2119
public class InlineReviewsPackage : AsyncPackage
2220
{
2321
protected override async Task InitializeAsync(

src/GitHub.InlineReviews/SampleData/DiffCommentThreadViewModelDesigner.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/GitHub.InlineReviews/SampleData/PullRequestCommentsViewModelDesigner.cs

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/GitHub.InlineReviews/ViewModels/DiffCommentThreadViewModel.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/GitHub.InlineReviews/ViewModels/IDiffCommentThreadViewModel.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/GitHub.InlineReviews/ViewModels/IInlineCommentViewModel.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/GitHub.InlineReviews/ViewModels/IPullRequestCommentsViewModel.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)