-
Notifications
You must be signed in to change notification settings - Fork 745
fix(cloudformation): Hide deployment button when change set is not CR… #8338
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
base: master
Are you sure you want to change the base?
Conversation
|
| await environmentManager.refreshSelectedEnvironment() | ||
| } catch (error) { | ||
| getLogger().warn(`Failed to refresh selected environment: ${extractErrorMessage(error)}`) | ||
| getLogger().warn(`Failed to refresh seelcted environment: ${extractErrorMessage(error)}`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change wasn't part of my PR, was a result of pulling old code, let me fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are two typos from https://github.com/aws-cloudformation/cloudformation-vscode/pull/166/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to address both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first typo was addressed when merging to this package, fixed the second typo in this PR
Zee2413
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a changelog: https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#changelog
c612781 to
905c735
Compare
Added changelog |
40e5561 to
a2873d1
Compare
| @@ -0,0 +1,4 @@ | |||
| { | |||
| "type": "Bug Fix", | |||
| "description": "hide deployment button when change set is not deployable, add delete button when change set has no changes" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I received recommendation to add prefix CloudFormation: to changelog to make it easier for release team/reviewers.
6609e5f to
f312c3b
Compare
| ${ | ||
| this.changeSetName && | ||
| (this.changeSetStatus === ChangeSetStatus.CREATE_COMPLETE || | ||
| this.changeSetStatus === ChangeSetStatus.FAILED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we including the button on failed?
| this.changeSetName && | ||
| this.enableDeployments && | ||
| (this.changeSetStatus === ChangeSetStatus.CREATE_COMPLETE || | ||
| this.changeSetStatus === ChangeSetStatus.FAILED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we including failed then filter it out conditionally below?
…EATE_COMPLETE and add delete button for CREATE_FAILED change sets
f312c3b to
33bbce9
Compare
…EATE_COMPLETE and add delete button for CREATE_FAILED change sets
Problem
Solution
feature/xbranches will not be squash-merged at release time.