Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(amazonqFeatureDev): add retry step after user change workspace folder #5413 #4758

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

tverney
Copy link
Contributor

@tverney tverney commented Aug 1, 2024

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Problem

When selected folder/workspace size its too large, we prompt to select a smaller one. However, after selected, user describe that doesn't retry again forcing to rewrite the prompt again.
Screenshot 2024-08-01 at 4 18 17 PM

For reference, VS Code PR: https://github.com/aws/aws-toolkit-vscode/pull/5413/files

Solution

This PR adds a retry button option after it changes the workspace folder and update the placeholder, allowing user choose rewrite the prompt or retry the previous one.

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tverney tverney requested review from a team as code owners August 1, 2024 20:17
@tverney tverney requested a review from willyyhuang August 1, 2024 20:19
Copy link
Contributor

@rli rli left a comment

Choose a reason for hiding this comment

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

the attached screenshot was confusing. i am assuming you meant to reupload the video in the VSC PR

followUp = listOf(
FollowUp(
pillText = message("amazonqFeatureDev.follow_up.retry"),
type = FollowUpTypes.RETRY,
Copy link
Contributor

Choose a reason for hiding this comment

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

would it make more sense for the retry to be automatic after they select a new folder?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We're allowing user change the previous prompt based on the new folder selection. The assumption is that the user could want change the prompt after change the selected folder so that's why we show the retry button but keep the input open for other input.

@tverney tverney merged commit 4f5c106 into aws:main Aug 7, 2024
11 of 12 checks passed
@tverney tverney deleted the tverney/include-retry-option branch August 7, 2024 19:14
zixlin7 pushed a commit to zixlin7/aws-toolkit-jetbrains that referenced this pull request Aug 8, 2024
…lder #5413 (aws#4758)

* fix(amazonqFeatureDev): add retry step after user change workspace folder

* chore(amazonqFeatureDev): include changelog

* refactor(amazonqFeatureDev): remove lock not used

* refactor(amazonqFeatureDev): add revised string for input placeholder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants