Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Mar 9, 2025

Context

Something about this is leading to people being asked twice to save changes, so opening a PR to revert until we figure it out.


Important

Revert tool progress tracking changes due to issues with duplicate save prompts.

  • Reversion:
    • Remove ToolProgressStatus type and related logic from Cline.ts, multi-search-replace.ts, and ExtensionMessage.ts.
    • Remove progressStatus prop from CodeAccordian in ChatRow.tsx and CodeAccordian.tsx.
  • Context:
    • Revert due to issues with users being asked twice to save changes.

This description was created by Ellipsis for c9794d2. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 9, 2025

🦋 Changeset detected

Latest commit: c9794d2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 9, 2025
@dosubot dosubot bot added lgtm This PR has been approved by a maintainer bug Something isn't working labels Mar 9, 2025
Comment on lines -1818 to -1825
let toolProgressStatus
if (this.diffStrategy && this.diffStrategy.getProgressStatus) {
toolProgressStatus = this.diffStrategy.getProgressStatus(block, diffResult)
}
await this.ask("tool", completeMessage, block.partial, toolProgressStatus).catch(
() => {},
)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be this second block that's leading to the duplicate ask

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I though the same from first look. I am investigating a little

Copy link
Contributor

@qdaxb qdaxb Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, fix this in #1526 ,commit: 104ceb9

@mrubens mrubens merged commit dba9116 into main Mar 9, 2025
18 checks passed
@mrubens mrubens deleted the revert_tool_progress_for_now branch March 9, 2025 22:45
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 9, 2025
@qdaxb qdaxb mentioned this pull request Mar 10, 2025
qdaxb added a commit to qdaxb/Roo-Code that referenced this pull request Mar 11, 2025
…_progress_for_now"

This reverts commit dba9116, reversing
changes made to 85dd1a1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants