Skip to content

Conversation

@AleksanderBodurri
Copy link
Member

Previously there is no feedback when clicking this button in Angular DevTools itself, which can produce some confusion if the user does not have the browser console open as well, or if they accidentally turned on some filtering in the browser console.

Now Angular DevTools uses mat snack bar to inform the user that the task was successful.

Previously there is no feedback when clicking this button in Angular DevTools itself, which can produce some confusion if the user does not have the browser console open as well, or if they accidentally turned on some filtering in the browser console.

Now Angular Devtools uses mat snack bar to inform the user that the task was successful
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: devtools labels Dec 15, 2025
@ngbot ngbot bot added this to the Backlog milestone Dec 15, 2025
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PropertyViewBodyComponent {
private readonly _snackBar = inject(MatSnackBar);
Copy link
Member

Choose a reason for hiding this comment

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

nit: For consistency, should we drop the leading underscore ?

Suggested change
private readonly _snackBar = inject(MatSnackBar);
private readonly snackBar = inject(MatSnackBar);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: devtools detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants