carbon-for-ibm-dotcom
carbon-for-ibm-dotcom copied to clipboard
fix(masthead): pass logo data from endpoint json to composite (#9462)
Related Ticket(s)
Resolves #9462
Description
Adds support for a new logo
key in the masthead translation data schema so that JSON files from the dataEndpoint
can modify certain logo attributes such as the href
value.
Changelog
New
- Adds support for modifying masthead logo from the
dataEndpoint
JSON files.
Deploy preview created for package React
:
https://ibmdotcom-react.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
Deploy preview created for package Web Components
:
https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
Deploy preview created for package NextJS Test Application
:
https://ibmdotcom-nextjs-test-upstream.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
Deploy preview created for package Web Components HTML Test Application
:
https://ibmdotcom-web-components-html-test-upstream.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
Deploy preview created for package Web Components (React wrapper)
:
https://ibmdotcom-web-components-react.s3-web.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
Deploy preview created for package "Services"
:
https://ibmdotcom-services.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
I went back and forth for a bit thinking if we ought to add a knob for this property, but since the href
isn't really author-editable and instead comes from the translation's json file, the e2e tests are probably enough.
Deploy preview created for package "React (experimental)"
:
https://ibmdotcom-react-experimental.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
Deploy preview created for package "Web Components (experimental)"
:
https://ibmdotcom-web-components-experimental.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9465/index.html
Built with commit: bb24d8e187d9900e4d1b523d31930824bab6c43b
@IgnacioBecerra @annawen1 Do you know why the Deploy Preview - Web Components - React Wrapper check is failing?
Looks like the last blocker for merging is taking a look at the Percy change. Is this something you can do, @RichKummer?