Skip to content

Conversation

@avi-alpert
Copy link
Contributor

Types of changes

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

Description

Problem

The @workspace context command is being shown in all tab types, even though it is only relevant to Amazon Q chat ('cwc' tabType).

Solution

Update getTabData function to allow each tab type to specify its own contextCommands

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.

@avi-alpert avi-alpert requested review from a team as code owners November 14, 2024 22:18
@rli rli changed the title fix(amazonq): @workspace command shown in all tab types fix(amazonq): @workspace command shown in all tab types Nov 14, 2024
@rli rli merged commit d97a09b into aws:main Nov 15, 2024
12 of 13 checks passed
dhasani23 pushed a commit to ntarakad-aws/aws-toolkit-jetbrains that referenced this pull request Nov 18, 2024
The `@workspace` [context command](https://github.com/aws/mynah-ui/blob/main/docs/DATAMODEL.md#contextcommands-default-) is being shown in all tab types, even though it is only relevant to Amazon Q chat ('cwc' tabType).
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