Skip to content

Conversation

@Tlcardoso2
Copy link

@Tlcardoso2 Tlcardoso2 commented Dec 9, 2025

Pull Request Template

Summary

This PR fixes a bug in the search input where DocSearch was returning page routes without the version, resulting in incorrect links. A validation was added to ensure that searched links include the current version based on the pathname. If the version is not found, the default version (/v1) will be assigned.

Gravacao.de.Tela.2025-12-09.as.11.39.02.mov

Result after implementation:

Gravacao.de.Tela.2025-12-17.as.12.25.24.mov

What changed?

Added transformData prop to DocSearch on DocSearch.tsx file

Links

Checklist

  • Added unit tests
  • Added documentation + accessibility tests
  • Verified accessibility: keyboard & screen reader interaction
  • Checked dark mode, responsiveness, and right-to-left support
  • Checked stakeholder feedback (e.g. Gestalt designers, relevant feature teams)

@Tlcardoso2 Tlcardoso2 requested a review from a team as a code owner December 9, 2025 14:41
@vercel
Copy link

vercel bot commented Dec 9, 2025

Someone is attempting to deploy a commit to the Pinterest - Subsites Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link

netlify bot commented Dec 9, 2025

Deploy Preview for gestalt ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 04a62e2
🔍 Latest deploy log https://app.netlify.com/projects/gestalt/deploys/6938353195c3130008a7916d
😎 Deploy Preview https://deploy-preview-4101--gestalt.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.

@Tlcardoso2 Tlcardoso2 changed the title DocSearch: add codsearch transformData prop Docs: Add DocSearch transformData prop Dec 9, 2025
@vercel
Copy link

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
gestalt-v1-docs Ready Ready Preview, Comment Dec 18, 2025 1:17pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch release Patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants