Skip to content

fix: separate text for prompt-input-stop-button label and tooltip #391

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

Merged
merged 3 commits into from
Jul 14, 2025

Conversation

dungdong-aws
Copy link
Contributor

@dungdong-aws dungdong-aws commented Jul 9, 2025

Problem

Currently, we show a tooltip for the Stop button in prompt-input section by defining stopGenerating text in config. That value is also used by label of the button. This limits our use case because if we have a keyboard shortcut, that we want to show in the tooltip, this does not work. See the image below:

Screenshot 2025-07-09 at 2 44 26 PM

Solution

Separate text for tooltip and description by adding stopGeneratingTooltip to config. I don't want it to break other IDEs so I make that field optional. But in the future, we can make it required.

Screenshot 2025-07-09 at 2 52 08 PM

VSC Screenshot:

Screenshot 2025-07-09 at 4 02 47 PM

Tests

  • I have tested this change on VSCode
  • I have tested this change on JetBrains
  • I have added/updated the documentation (if applicable)

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dungdong-aws dungdong-aws requested a review from a team as a code owner July 9, 2025 21:52
@dungdong-aws dungdong-aws changed the title fix: separate text for prompt-input-stop-button text and tooltip fix: separate text for prompt-input-stop-button label and tooltip Jul 9, 2025
laileni-aws
laileni-aws previously approved these changes Jul 9, 2025
Copy link
Contributor

@laileni-aws laileni-aws left a comment

Choose a reason for hiding this comment

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

LGTM

ashishrp-aws
ashishrp-aws previously approved these changes Jul 11, 2025
@laileni-aws laileni-aws requested a review from yueny2020 July 12, 2025 00:52
@dungdong-aws dungdong-aws dismissed stale reviews from ashishrp-aws and laileni-aws via 22bc505 July 12, 2025 00:58
@dungdong-aws dungdong-aws force-pushed the fix/prompt-input-stop-button branch from 22bc505 to 430d787 Compare July 13, 2025 16:13
laileni-aws
laileni-aws previously approved these changes Jul 13, 2025
Copy link
Contributor

@laileni-aws laileni-aws left a comment

Choose a reason for hiding this comment

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

LGTM

@laileni-aws laileni-aws merged commit 88ec2fb into aws:main Jul 14, 2025
7 of 10 checks passed
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.

6 participants