hashicorp / react-components

A set of HashiCorp branded react components currently maintained and used by the marketing dev team
https://react-components.vercel.app
Mozilla Public License 2.0
60 stars 17 forks source link

feat(consent-manager): Add `shouldLoad` to custom services #951

Closed pbortnick closed 1 year ago

pbortnick commented 1 year ago

🎟️ Asana Task


This PR adds shouldLoad to services which determines whether or not to the custom script will load. This change was made to satisfy a request to add the qualified chatbot to only certain pages on i18n microsites. You can see the canary version being applied here

Description

Describe this pull request: what is it aiming to achieve? What should someone reviewing this PR know? If this PR includes visual changes, consider including before / after screenshots, or an animated gif showing interactions.

PR Checklist πŸš€

Items in this checklist may not may not apply to your PR, but please consider each item carefully.

changeset-bot[bot] commented 1 year ago

πŸ¦‹ Changeset detected

Latest commit: 664fcb75704d4ab0ebbd548f0203ae1bbcb850d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------------------- | ----- | | @hashicorp/react-consent-manager | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
react-components βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 3, 2023 8:23pm
github-actions[bot] commented 1 year ago

:package: Canary Packages Published

Latest commit: 664fcb75704d4ab0ebbd548f0203ae1bbcb850d5

Published 1 packages #### @hashicorp/react-consent-manager@9.1.0-canary-20230503202340 ``` npm install @hashicorp/react-consent-manager@canary ```