[BA-3331] Update Farcaster social link domain to farcaster.xyz #2813
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changed? Why?
Farcaster is transitioning from warpcast.com to farcaster.xyz as the canonical domain for user profiles. This change ensures that when users add their Farcaster handle to their Basename profile, the generated link points to the correct domain.
This change specifically targets user social profile links displayed on Basename profile pages. It does not affect:
Notes to reviewers
The change is isolated to the
formatSocialFieldUrlfunction which is used by theUsernameProfileCardcomponent to render social links on user profilesThis only affects the Farcaster social field (UsernameTextRecordKeys.Farcaster) - other social platforms (Twitter, GitHub) remain unchanged.
The domain change maintains backward compatibility as farcaster.xyz properly redirects user profile URLs.
How has it been tested?
Tested it locally and verified the new link opens to the expected domain.
Have you tested the following pages?
BaseWeb