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

feat(cloudwatch): add verticalAnnotations property to GraphWidget #15809

Closed
wants to merge 4 commits into from

Conversation

brendo-m
Copy link

Adds a verticalAnnotation property to GraphWidget. 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

@gitpod-io
Copy link

gitpod-io bot commented Jul 29, 2021

@brendo-m
Copy link
Author

Just realized there are breaking changes here - interface Shading has been renamed to HorizontalShading and there's a new VerticalShading.

Should I revert HorizontalShading to Shading and keep VerticalShading? It's a little unclear but not the end of the world

@brendo-m brendo-m force-pushed the vertical-annotation branch from bc433b3 to c8d9eee Compare July 29, 2021 04:09
@brendo-m
Copy link
Author

I just went ahead and made that change

@peterwoodworth peterwoodworth added the @aws-cdk/aws-cloudwatch Related to Amazon CloudWatch label Jul 29, 2021
@gshpychka
Copy link
Contributor

gshpychka commented Jan 28, 2022

@RomainMuller any chance of this to get merged?

Copy link
Contributor

@madeline-k madeline-k left a 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.

Comment on lines +291 to +295
const verticalAnnotations = this.props.verticalAnnotations;
const annotations = horizontalAnnotations.length > 0 || verticalAnnotations ? ({
horizontal: horizontalAnnotations.length > 0 ? horizontalAnnotations : undefined,
vertical: verticalAnnotations,
}) : undefined;
Copy link
Contributor

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 ?

@madeline-k madeline-k changed the title feat(aws-cloudwatch): add verticalAnnotations property to GraphWidget feat(cloudwatch): add verticalAnnotations property to GraphWidget Feb 1, 2022
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: c346945
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@madeline-k madeline-k left a 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.

@madeline-k madeline-k removed their assignment Feb 9, 2022
@TheRealAmazonKendra
Copy link
Contributor

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.

@brendo-m
Copy link
Author

Reviving this PR in #22568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudwatch Related to Amazon CloudWatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants