Skip to content

fix-custom-links on footer#12426

Merged
kodiakhq[bot] merged 2 commits intocarbon-design-system:mainfrom
Valentin-Sorin-Nicolae:issue_12296_custom-links_footer
Mar 2, 2026
Merged

fix-custom-links on footer#12426
kodiakhq[bot] merged 2 commits intocarbon-design-system:mainfrom
Valentin-Sorin-Nicolae:issue_12296_custom-links_footer

Conversation

@Valentin-Sorin-Nicolae
Copy link
Contributor

Related Ticket(s)

Closes #12296

Description

Customizing footer links did not work as expected.
Footer links and legalLinks were always populated from Redux state when a language was available, causing any user-provided values to be overwritten. This made the footer links effectively non-customizable.
For more details, see issue #12296.

Changed

  • links and legalLinks were made optional outputs from mapStateToProps.
  • The container now only supplies links and legalLinks when they are actually available from the store.
  • When consumers pass links or legalLinks directly, those values are no longer overwritten by Redux state.
  • This restores the expected behavior where footer links can be customized by the user.

@Valentin-Sorin-Nicolae Valentin-Sorin-Nicolae requested a review from a team as a code owner February 18, 2026 16:43
@Valentin-Sorin-Nicolae Valentin-Sorin-Nicolae requested review from bruno-amorim and marcelojcs and removed request for a team February 18, 2026 16:43
@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for incomparable-wisp-8d6771 ready!

Name Link
🔨 Latest commit 4b61949
🔍 Latest deploy log https://app.netlify.com/projects/incomparable-wisp-8d6771/deploys/69a18aa0809a090008cdf4d3
😎 Deploy Preview https://deploy-preview-12426--incomparable-wisp-8d6771.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for ibm-dotcom-web-components ready!

Name Link
🔨 Latest commit 4b61949
🔍 Latest deploy log https://app.netlify.com/projects/ibm-dotcom-web-components/deploys/69a18aa086ca9f000888f162
😎 Deploy Preview https://deploy-preview-12426--ibm-dotcom-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@marcelojcs marcelojcs added the Ready to merge Label for the pull requests that are ready to merge label Mar 2, 2026
@kodiakhq kodiakhq bot merged commit 7143bca into carbon-design-system:main Mar 2, 2026
17 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge Label for the pull requests that are ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Footer]: Custom links are overwritten by default ones after the initial render

2 participants