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 bug where messages to chat got lost. #4949

Merged
merged 2 commits into from
May 9, 2024

Conversation

arangatang
Copy link
Contributor

Problem

Messages get lost in the code path where customers do not need to provide a JAVA_HOME.
This leads to missing chat bubbles for

  1. Building your project
  2. I was able to build your project
  3. I am starting to transform your code

Solution

Issue was due to typo when translating tabId to tabID.
Search in the code shows that tabID is 10x more common than tabId so aligning Q Code Transform to this format.
After aligning the usages the missing messages are shown again and are animated where required.

Before fix

  1. When JAVA_HOME set correctly from the start, then I'm building your project ... text does not show
Screenshot 2024-05-07 at 18 20 52
  1. When job completes, then nothing indicates it completed in the chat.
Screenshot 2024-05-07 at 18 25 36

After fix

Screenshot 2024-05-07 at 20 05 17 Screenshot 2024-05-07 at 20 10 04

License

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

Copy link
Contributor

@justinmk3 justinmk3 left a comment

Choose a reason for hiding this comment

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

waiting for a transform team member to review

break
case ButtonActions.VIEW_TRANSFORMATION_HUB:
await vscode.commands.executeCommand(GumbyCommands.FOCUS_TRANSFORMATION_HUB)
this.messenger.sendJobSubmittedMessage(message.tabId)
this.messenger.sendJobSubmittedMessage(message.tabID)
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: I thought we were keeping tabId and removing tabID? @JuliaABurch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It would mean much more changes and in addition it seems tabID is more common anyhow:
tabId occurences: 84 in 12 files
tabID occurences: 891 in 43 files

@arangatang arangatang self-assigned this May 8, 2024
@justinmk3 justinmk3 merged commit 0f24dcc into aws:master May 9, 2024
14 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.

None yet

4 participants