-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(android-setup): detect-adb-step dialog implementation (#2802)
* added the spinner to the detect-adb-step ui * added a standalone scss file for android-setup styling. simplified detect-adb-step to just return the spinner and not call a method
- Loading branch information
1 parent
8a775e8
commit 4e7c346
Showing
3 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
src/electron/views/device-connect-view/components/android-setup/android-setup.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
.android-setup-spinner { | ||
padding-top: 25%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
.../device-connect-view/components/android-setup/__snapshots__/detect-adb-step.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`DetectAdbStep renders 1`] = ` | ||
<React.Fragment> | ||
step: | ||
detect-adb | ||
</React.Fragment> | ||
<StyledSpinnerBase | ||
className="androidSetupSpinner" | ||
label="Loading..." | ||
role="alert" | ||
size={3} | ||
/> | ||
`; |