Repository navigation
refactor(frontend): remove dead step-detail modal leftovers - #9393
Merged
kunwp1 merged 1 commit intoNov 10, 2026
Merged
Conversation
The agent step-detail modal never reads its agentId input, and getMessageRoleColor and getToolCallStrings (with the private formatAsFunction) are called only by their own spec cases. Its stylesheet holds only the license header and one comment. Drop them, the parent binding and the dedicated spec cases.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9393 +/- ##
============================================
- Coverage 91.80% 91.80% -0.01%
Complexity 5022 5022
============================================
Files 1275 1275
Lines 56324 56308 -16
Branches 7357 7351 -6
============================================
- Hits 51708 51693 -15
Misses 2764 2764
+ Partials 1852 1851 -1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
kunwp1
enabled auto-merge
November 10, 2026 18:09
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Removes the unused parts of the agent panel's
ReActStepDetailModalComponent. +1/−97 lines. There is no behaviour change.agentIdinput.agent-chatbinds it, but neither the modal's class nor its template reads it, so the binding goes too.getMessageRoleColorandgetToolCallStrings, with the privateformatAsFunctionthat only the latter calls. The template never calls them. Only their own spec cases did, and those three cases go with them.react-step-detail-modal.component.scssand itsstyleUrlsentry. The file holds only the license header and one comment, so it emits no styles.The helpers the template does call (
getTextFromMessage,getToolCallSummaries, the tool-result and operator-access helpers) and their spec cases stay.History
agent-servicethat manages LLM agents", together with the modalThey have been unused for the six months since they were added.
Any related issues, documentation, discussions?
Closes #9392.
How was this PR tested?
No new tests. The modal's remaining cases stay.
From
frontend/:npx ng test --watch=false --include='**/react-step-detail-modal.component.spec.ts' --include='**/agent-chat.component.spec.ts' --include='**/agent-panel.component.spec.ts': 3 files, 125 tests, all pass. The last two specs cover the modal's host (agent-chat) and the panel around it.npx tsc --noEmit -p src/tsconfig.app.jsonand-p src/tsconfig.spec.json: clean.yarn format:ci: clean.yarn build(production, AOT): success.To re-check:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code