Skip to content

Remove the unreachable shadow class from the agent panel #8828

Closed

Description

@aglinxinyuan

Task Summary

In AgentPanelComponent, the #return-button list has [ngClass]="{'shadow': !width}" on the same element as *ngIf="width". The element only exists while width is truthy, and !width is then always false, so the class can never apply. The component's .shadow rule styles nothing else.

Introduced by #4020 (2025-11-25, "feat: introduce the LLM-based workflow copilot"). The binding, the *ngIf and the .shadow rule all arrived together. #4873 (2026-05-03) later added the NgClass import when the component became standalone.

Usage removed by: never used. The binding was dead from the start. #4495 only moved the files.

This is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. added theissue type on Oct 3, 2026
  2. added a commit that references this issue on Oct 4, 2026
    2082021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions