-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(cloudwatch): add verticalAnnotations property to GraphWidget #15809
Conversation
Just realized there are breaking changes here - interface Should I revert |
bc433b3
to
c8d9eee
Compare
I just went ahead and made that change |
924c117
to
ebfd5f2
Compare
@RomainMuller any chance of this to get merged? |
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.
Thank you for your contribution, @brendo-m! We just need a description and an example added to the README before this can be merged.
const verticalAnnotations = this.props.verticalAnnotations; | ||
const annotations = horizontalAnnotations.length > 0 || verticalAnnotations ? ({ | ||
horizontal: horizontalAnnotations.length > 0 ? horizontalAnnotations : undefined, | ||
vertical: verticalAnnotations, | ||
}) : undefined; |
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.
Should we check for verticalAnnotations.length > 0
?
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
We need an update to the README with a description and example for this feature.
This PR has been deemed to be abandoned, and will be closed. Please create a new PR for these changes if you think this decision has been made in error. |
Reviving this PR in #22568 |
Adds a
verticalAnnotation
property toGraphWidget
. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format.Also see #7622
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license