Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: twitter not working on macOS in camera view #6077

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

aixaCode
Copy link
Collaborator

@aixaCode aixaCode commented Jan 31, 2024

What does this PR change?

Fixing URL encoding for Twitter links in camera reel #5812

How to test the changes?

  1. Launch the explorer
  2. Navigate to camera reel
  3. Check that sharing links via Twitter are working on MacOS

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

Copilot summary

copilot:summary

@aixaCode aixaCode marked this pull request as ready for review February 1, 2024 11:59
@github-actions github-actions bot requested review from LucasLioyQA and popuz February 1, 2024 11:59
@Ludmilafantaniella Ludmilafantaniella self-requested a review February 1, 2024 12:37
Copy link
Contributor

@Ludmilafantaniella Ludmilafantaniella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Reviewed and approved by QA. Fix verified on Desktop Mac

Screen.Recording.2024-02-01.at.09.43.36.mov

@@ -47,7 +47,7 @@ public class ThumbnailContextMenuController

view.OnShareToTwitterRequested += () =>
{
var description = "Check out what I'm doing in Decentraland right now and join me!";
var description = "Check out what I'm doing in Decentraland right now and join me!".Replace(" ", "%20");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there not a more standard way to handle URL encoding to avoid the duplication?

@aixaCode aixaCode merged commit e073bd8 into dev Feb 1, 2024
14 checks passed
@aixaCode aixaCode deleted the fix/twitter-button-not-working-in-camera-reel branch February 1, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants