diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts index 80fbb911be7..1125edfdf89 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts @@ -349,7 +349,7 @@ export class DirectiveExplorerComponent { const selectedFrame = this._frameManager.selectedFrame(); if (!this._frameManager.activeFrameHasUniqueUrl()) { - const error = `The currently inspected frame does not have a unique url on this page. Cannot inspect object.`; + const error = `The currently inspected frame does not have a unique URL on this page. Cannot inspect object.`; this.snackBar.open(error, 'Dismiss', {duration: 5000, horizontalPosition: 'left'}); this._messageBus.emit('log', [{level: 'warn', message: error}]); return; diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts index ae74f3688a2..e0d5d27820e 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts @@ -356,7 +356,7 @@ describe('DirectiveExplorerComponent', () => { expect(messageBusMock.emit).toHaveBeenCalledWith('log', [ { level: 'warn', - message: `The currently inspected frame does not have a unique url on this page. Cannot inspect object.`, + message: `The currently inspected frame does not have a unique URL on this page. Cannot inspect object.`, }, ]); }); diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body/property-view-body.component.ts b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body/property-view-body.component.ts index e2d985f4851..c9cce0b034d 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body/property-view-body.component.ts +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body/property-view-body.component.ts @@ -109,6 +109,7 @@ export class PropertyViewBodyComponent { this.controller().logValue(node); this._snackBar.open(`Logged value of '${node.prop.name}' to the console`, 'Dismiss', { duration: 2000, + horizontalPosition: 'left', }); } diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/BUILD.bazel b/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/BUILD.bazel index 9e321f68a88..0cb6f2dde58 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/BUILD.bazel +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/BUILD.bazel @@ -5,6 +5,9 @@ package(default_visibility = ["//devtools:__subpackages__"]) sass_binary( name = "profiler-import-dialog_styles", src = "profiler-import-dialog.component.scss", + deps = [ + "//devtools/projects/ng-devtools/src/styles:typography", + ], ) ng_project( @@ -19,5 +22,6 @@ ng_project( deps = [ "//:node_modules/@angular/core", "//:node_modules/@angular/material", + "//devtools/projects/ng-devtools/src/lib/shared/button", ], ) diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/profiler-import-dialog.component.html b/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/profiler-import-dialog.component.html index 27a482c1828..1f87ffa07a7 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/profiler-import-dialog.component.html +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/profiler-import-dialog/profiler-import-dialog.component.html @@ -1,22 +1,22 @@ @switch (data.status) { @case ('ERROR') { -
Could not process uploaded file.
{{ data.errorMessage }}
The file you are attempting to upload was recorded in a different format than the one - supported by your current Angular DevTools version + supported by your current Angular DevTools version.
Current format version: @@ -28,9 +28,9 @@
Files recorded in older versions may no longer be compatible. Do you wish to continue?