Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/devtools/mobileharness/fe/v6/angular/app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ $theme: map.merge(
@include mat.icon-theme($theme);
@include mat.menu-theme($theme);
@include mat.checkbox-theme($theme);
@include mat.table-theme($theme);
@include mat.card-theme($theme);
@include mat.progress-bar-theme($theme);
@include mat.progress-spinner-theme($theme);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,12 @@ export class DeviceActionService {
return this.deviceService.prepareDevice(deviceId, hostName);
}),
tap(() => {
// TODO: check if we need to refresh the device status, or give a hint that it may take some minutes for it to take effect at the UI side.
// It may take around 10 minutes for the device to be prepared.
// But when we show this snackbar, device preparation is still in progress,
// so there is no need to refresh the device status, and we can NOT tell the user
// that the device is prepared successfully yet. Thus we use the following message.
this.snackBar.showSuccess(
`Device ${deviceId} prepared successfully. It may take a few minutes to take effect on the UI side.`,
`Device ${deviceId} preparation is in progress. It may take several minutes to take effect on the UI side.`,
);
}),
catchError((err) =>
Expand Down
Loading