Skip to content

Commit

Permalink
Remove beta links from final screen (#494)
Browse files Browse the repository at this point in the history
* Revert "Add link to Beta Site on final page (#445)"

This reverts commit 5647b8a.

* Revert "Add shoutout for beta testing to final screen (#444)"

This reverts commit 3eb1246.
  • Loading branch information
sciencewhiz authored Dec 30, 2024
1 parent 002a7dc commit 0a746df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
18 changes: 0 additions & 18 deletions WPILibInstaller-Avalonia/ViewModels/FinalPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ public class FinalPageViewModel : PageViewModelBase

public ReactiveCommand<Unit, Unit> OpenChangelog { get; }

public ReactiveCommand<Unit, Unit> OpenBetaSite { get; }

public ReactiveCommand<Unit, Unit> OpenBetaDocs { get; }

public FinalPageViewModel(IProgramWindow progWindow, IConfigurationProvider configurationProvider, IVsCodeInstallLocationProvider vsCodeProvider,
ICatchableButtonFactory buttonFactory)
: base("Finish", "")
Expand All @@ -49,8 +45,6 @@ public FinalPageViewModel(IProgramWindow progWindow, IConfigurationProvider conf

OpenKnownIssues = buttonFactory.CreateCatchableButton(OpenKnownIssuesFunc);
OpenChangelog = buttonFactory.CreateCatchableButton(OpenChangelogFunc);
OpenBetaDocs = buttonFactory.CreateCatchableButton(OpenBetaDocsFunc);
OpenBetaSite = buttonFactory.CreateCatchableButton(OpenBetaSiteFunc);

this.progWindow = progWindow;
this.configurationProvider = configurationProvider;
Expand All @@ -62,18 +56,6 @@ public Task OpenKnownIssuesFunc()
return Task.CompletedTask;
}

public Task OpenBetaDocsFunc()
{
OpenBrowser("https://docs.wpilib.org/en/latest/docs/beta/beta-getting-started/welcome.html");
return Task.CompletedTask;
}

public Task OpenBetaSiteFunc()
{
OpenBrowser("https://github.com/wpilibsuite/2025Beta");
return Task.CompletedTask;
}

public Task OpenChangelogFunc()
{
string? verString = null;
Expand Down
9 changes: 1 addition & 8 deletions WPILibInstaller-Avalonia/Views/FinalPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@
</TextBlock>
<Button FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Open Known Issues" Command="{Binding OpenKnownIssues}"></Button>
<Button FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Open Changelog" Command="{Binding OpenChangelog}"></Button>
<TextBlock FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,20,0,0">
Thank you for beta testing the 2025 WPILib!
</TextBlock>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Open Beta Instructions" Command="{Binding OpenBetaDocs}"></Button>
<Button FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Open Beta Feedback Site" Command="{Binding OpenBetaSite}"></Button>
</StackPanel>
<TextBlock FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding FinishText}">
<TextBlock FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding FinishText}">
</TextBlock>
</StackPanel>

Expand Down

0 comments on commit 0a746df

Please sign in to comment.