GoogleCloudPlatform / cloud-ops-sandbox

Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406 stars 148 forks source link

feat: Add Google Feedback to Sandbox main page #766

Closed simonz130 closed 3 years ago

simonz130 commented 3 years ago

This PR adds integration with Google Feedback (listnr): On the main page it will feature a button that will trigger taking a screenshot and sending a report with feedback to Google.

Fixes #725

(I can't upload a picture from my machine but it looks like this:

[ Submit Feedback ]

And the button is placed on the bottom footer of the landing page. I tried to test it but it looks like we need to allow-list the domain from which the call is made. So in testing nothing happens on the page. When this code is deployed to cloud-ops-sandbox.dev, it should, upon click, open a screenshot dialog, similar to feedback dialog on cloud.google.com pages.

github-actions[bot] commented 3 years ago

Open in Cloud Shell

Note: Open in Cloud Shell may not work properly if this PR contains changes to the custom Cloud Shell image