Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine config list navigation, and repo config names. #3119

Merged
merged 8 commits into from
Jun 5, 2024

Conversation

dhoehna
Copy link
Contributor

@dhoehna dhoehna commented Jun 4, 2024

Summary of the pull request

The buttons in the Machine Configuration main page could be navigated only via tabs. Not the arrow keys.
I put the items in a ListView. Now all items in the group can be navigated with the arrow keys.

The repo names in the RepoConfig page had the incorrect automation names. Fixed that.

Moved some DevDrive code over to the view model.

References and relevant issues

https://task.ms/50553376
https://task.ms/49676606

Detailed description of the pull request / Additional comments

Validation steps performed

Manually ran and tested.

For the narrator, I added repos and listened to the narrator when they were on the repo config screen.

For Dev Drive

  1. Cloned repos onto a new dev drive.
  2. Toggled the checkbox on both the Add Repo dialog and the Edit clone path dialog.

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

<TextBlock x:Name="SetupEnvironmentHeader" Style="{StaticResource SettingsSectionHeaderTextBlockStyle}" x:Uid="ms-resource:///DevHome.SetupFlow/Resources/MainPage_EnvironmentSetup"/>
<!-- Transparent Grid wrapper for displaying tooltip on disabled settings card -->
<Grid Background="Transparent">
<ListView ItemContainerStyle="{ThemeResource ListViewItemStretchStyle}" SelectionMode="Single">
<Grid Background="Transparent">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the Background, since I assume transparent by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AmelBawa-msft Is this still needed? I disabled a settings card but I didn't get any tooltip.

tools/SetupFlow/DevHome.SetupFlow/Views/MainPageView.xaml Outdated Show resolved Hide resolved
@krschau krschau added this to the Dev Home 0.15 milestone Jun 4, 2024
@dhoehna dhoehna changed the title Arrow keys to navigate Machine Configuration menu items. Machine config list navigation, and repo config names. Jun 4, 2024
@EricJohnson327 EricJohnson327 merged commit 9ad8dd9 into main Jun 5, 2024
4 checks passed
@EricJohnson327 EricJohnson327 deleted the user/dhoehna/MachineConfigButtonsToAList branch June 5, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants