зеркало из https://github.com/microsoft/TeamMate.git
Merge pull request #18 from microsoft/ivanv/remove-news
Remove News button and corresponding commands, as well as "Check for updates"
This commit is contained in:
Коммит
d8895583f2
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
public enum MsnSymbol
|
||||
{
|
||||
News = 0xE900,
|
||||
PieChart = 0xEB04,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,8 +94,6 @@ namespace Microsoft.Tools.TeamMate.Resources
|
|||
public static ICommand NavigateToProjectsPage { get { return commands.FindResource(); } }
|
||||
public static ICommand NavigateToSettingsPage { get { return commands.FindResource(); } }
|
||||
public static ICommand NavigateToDeveloperOptionsPage { get { return commands.FindResource(); } }
|
||||
public static ICommand NavigateToUpdatesAvailablePage { get { return commands.FindResource(); } }
|
||||
public static ICommand NavigateToNewsPage { get { return commands.FindResource(); } }
|
||||
public static ICommand SendFeedbackToolBar { get { return commands.FindResource(); } }
|
||||
|
||||
public static ICommand MarkAsRead { get { return commands.FindResource(); } }
|
||||
|
|
|
@ -30,12 +30,6 @@
|
|||
</fwi:UICommand.InputGestures>
|
||||
</fwi:UICommand>
|
||||
|
||||
<fwi:UICommand x:Key="NavigateToNewsPageCommand" Text="News">
|
||||
<fwi:UICommand.InputGestures>
|
||||
<KeyGesture>Alt+4</KeyGesture>
|
||||
</fwi:UICommand.InputGestures>
|
||||
</fwi:UICommand>
|
||||
|
||||
<fwi:UICommand x:Key="SendFeedbackToolBarCommand"
|
||||
SymbolIcon="Emoji2"
|
||||
Text="Send Feedback">
|
||||
|
@ -44,8 +38,6 @@
|
|||
</fwi:UICommand.InputGestures>
|
||||
</fwi:UICommand>
|
||||
|
||||
<fwi:UICommand x:Key="NavigateToUpdatesAvailablePageCommand" Text="Updates Available" />
|
||||
|
||||
<fwi:UICommand x:Key="NavigateToDeveloperOptionsPageCommand"
|
||||
SymbolIcon="Developer"
|
||||
Text="Developer Options" />
|
||||
|
|
|
@ -45,11 +45,6 @@ namespace Microsoft.Tools.TeamMate.Services
|
|||
ExternalWebBrowser.Launch(TeamMateApplicationInfo.RatingUrl);
|
||||
}
|
||||
|
||||
public void LaunchNewsPage()
|
||||
{
|
||||
ExternalWebBrowser.Launch(TeamMateApplicationInfo.BlogUrl);
|
||||
}
|
||||
|
||||
public void LaunchLegacyTfsSupportDropped()
|
||||
{
|
||||
ExternalWebBrowser.Launch(TeamMateApplicationInfo.LegacyTfsSupportDroppedUrl);
|
||||
|
|
|
@ -68,7 +68,6 @@ namespace Microsoft.Tools.TeamMate.ViewModels
|
|||
bindings.Add(TeamMateCommands.NavigateToProjectsPage, () => this.NavigateToProjectsPage());
|
||||
bindings.Add(TeamMateCommands.NavigateToDeveloperOptionsPage, () => this.NavigateTo(this.DeveloperOptionsPage));
|
||||
bindings.Add(TeamMateCommands.NavigateToSettingsPage, NavigateToSettingsPage);
|
||||
bindings.Add(TeamMateCommands.NavigateToNewsPage, this.LaunchNewsPage);
|
||||
|
||||
bindings.Add(TeamMateCommands.ConnectToProject, ConnectToProject);
|
||||
bindings.Add(TeamMateCommands.RetryConnectToTfs, RetryConnectToTfs);
|
||||
|
@ -311,11 +310,6 @@ namespace Microsoft.Tools.TeamMate.ViewModels
|
|||
this.GlobalCommandService.QuickCreateDefault();
|
||||
}
|
||||
|
||||
private void LaunchNewsPage()
|
||||
{
|
||||
this.ExternalWebBrowserService.LaunchNewsPage();
|
||||
}
|
||||
|
||||
private ICommand displayLegacyTfsSupportDroppedBannerCommand;
|
||||
|
||||
public ICommand DisplayLegacyTfsSupportDroppedBannerCommand
|
||||
|
|
|
@ -63,8 +63,6 @@ namespace Microsoft.Tools.TeamMate.ViewModels
|
|||
|
||||
public ICommand ViewPrivacyStatementCommand { get; private set; }
|
||||
|
||||
public ICommand CheckForUpdatesCommand { get; private set; }
|
||||
|
||||
public string LogsFolder
|
||||
{
|
||||
get
|
||||
|
|
|
@ -111,11 +111,6 @@
|
|||
<tmc:BowtieIcon Symbol="ProjectCollection"/>
|
||||
</fwc:SplitViewButton.Icon>
|
||||
</fwc:SplitViewButton>
|
||||
<fwc:SplitViewButton Command="{x:Static tmr:TeamMateCommands.NavigateToNewsPage}" Style="{StaticResource SplitViewNavigationButtonStyle}">
|
||||
<fwc:SplitViewButton.Icon>
|
||||
<tmc:MsnIcon Symbol="News"/>
|
||||
</fwc:SplitViewButton.Icon>
|
||||
</fwc:SplitViewButton>
|
||||
<fwc:SplitViewButton x:Name="feedbackButton"
|
||||
Command="{x:Static tmr:TeamMateCommands.SendFeedbackToolBar}"
|
||||
Style="{StaticResource SplitViewNavigationButtonStyle}" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче