Skip to content

Remove dead leftovers from the agent step-detail modal #9392

Closed

Description

@aglinxinyuan

Task Summary

The agent panel's ReActStepDetailModalComponent (frontend/src/app/workspace/component/agent/agent-panel/react-step-detail-modal/) carries code that nothing uses:

  • the agentId input, which agent-chat binds but the modal never reads;
  • getMessageRoleColor and getToolCallStrings (with the private formatAsFunction that only the latter calls), which the template never calls; only their own spec cases do;
  • react-step-detail-modal.component.scss, which holds only the license header and one comment.

Introduced by: #4495 (2026-04-28), "feat(agent-service): add agent-service that manages LLM agents", together with the modal.
Usage removed by: never used. Only the spec cases added in #5612 call the two helpers.

Remove them, the parent binding and the dedicated spec cases. This is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Nov 10, 2026
  2. added a commit that references this issue on Nov 10, 2026
    1ec692c
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