Skip to content

fix(docs-infra): render the Console tab error badge in the embedded e…#69742

Open
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:fix-console-tab-error-badge
Open

fix(docs-infra): render the Console tab error badge in the embedded e…#69742
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:fix-console-tab-error-badge

Conversation

@erkamyaman

Copy link
Copy Markdown
Contributor

The Console tab's error-count badge lives in an <ng-template mat-tab-label>, but the component didn't import MatTabLabel, so Material ignored the templated label and fell back to the plain "Console" text. Import it so the badge renders when there are errors.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The Console tab's error-count badge never shows, even when the playground or tutorial has console errors.

What is the new behavior?

The badge shows the error count when there are console errors.

Does this PR introduce a breaking change?

  • Yes
  • No

…ditor

The Console tab's error-count badge lives in an `<ng-template
mat-tab-label>`, but the component didn't import `MatTabLabel`, so
Material ignored the templated label and fell back to the plain
"Console" text. Import it so the badge renders when there are errors.
@pullapprove pullapprove Bot requested a review from JeanMeche July 11, 2026 09:32
@angular-robot angular-robot Bot added the area: docs-infra Angular.dev application and infrastructure label Jul 11, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jul 11, 2026
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs-infra Angular.dev application and infrastructure target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants