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

Kaito/features external link #2033

Merged
merged 3 commits into from
Oct 21, 2023
Merged

Kaito/features external link #2033

merged 3 commits into from
Oct 21, 2023

Conversation

kaitoo1
Copy link
Collaborator

@kaitoo1 kaitoo1 commented Oct 19, 2023

Summary of Changes

This PR modifies GalleryLinkNeedsVerification so that we don't show the confirmation popup on certain routes such as our content pages. Since we know and trust the external links displayed on those pages, we want to immediately open them in a new tab when the user clicks them, as opposed to confirming that they want to access that url.

Demo or Before/After Pics

no confirmation on Posts Feature page

CleanShot.2023-10-19.at.21.47.30.mp4

still show confirmation elsehwere

CleanShot.2023-10-19.at.21.47.17.mp4

Edge Cases

na

Testing Steps

go to /features/posts and click the mirror article url. it should not show a confrimation

go to the feed and click a url. it should show a confirmation

Checklist

Please make sure to review and check all of the following:

  • I've tested the changes and all tests pass.
  • (if web) I've tested the changes on various desktop screen sizes to ensure responsiveness.
  • (if mobile) I've tested the changes on both light and dark modes.

@vercel
Copy link

vercel bot commented Oct 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 0:55am

@github-actions github-actions bot added the web label Oct 19, 2023
@github-actions
Copy link

Bundle Sizes

Compared against 2156cb6

Route: No significant changes found

Dynamic import: No significant changes found

@Robinnnnn Robinnnnn merged commit a74f998 into main Oct 21, 2023
@Robinnnnn Robinnnnn deleted the kaito/features-external-link branch October 21, 2023 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants