#Ieeesoc Fix diff view showing both "waiting for runtime" and diffs when agent is stopped Fixes #8061 #8680
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.
End-user friendly description of the problem this fixes or functionality this introduces.
Fixes a bug in the diff viewer where stopping the agent caused both the "waiting for runtime" message and previously loaded diffs to appear simultaneously. The UI now correctly hides diffs when the agent is not running.
Summarize what the PR does, explaining any non-trivial design decisions.
This PR updates the
GitChanges
component to properly reflect the runtime state of the agent:key={
${change.path}-${change.status}}
).filter(Boolean)
to avoid rendering empty or falsy status messages.These changes ensure a clearer and more consistent user experience in diff view handling, especially during runtime transitions.
Link of any specific issues this addresses:
Fixes #8061