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

Prevent cannot read property of undefined for href.startsWith #6456

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

nkuoch
Copy link
Contributor

@nkuoch nkuoch commented Nov 24, 2021

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/185343

Tests

Same as QA steps. I only managed to reproduce the bug by hardcoding an undefined href, then made sure that without the fix, I got the blank page like in the original issue, and that my changes fixed it.

image

QA Steps

  1. From a workspace, send a link in a discussion
  2. Clicking on the link should open the link in a new tab

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

@nkuoch nkuoch requested a review from a team as a code owner November 24, 2021 13:25
@nkuoch nkuoch self-assigned this Nov 24, 2021
@MelvinBot MelvinBot requested review from luacmartins and removed request for a team November 24, 2021 13:25
Copy link
Contributor

@luacmartins luacmartins left a comment

Choose a reason for hiding this comment

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

LGTM!

@luacmartins luacmartins merged commit de9ab52 into main Nov 24, 2021
@luacmartins luacmartins deleted the nat-href branch November 24, 2021 16:32
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @luacmartins in version: 1.1.16-11 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@ogumen
Copy link

ogumen commented Dec 1, 2021

The accessibility issues mentioned in #6392 (comment) are applicable to this PR as well.

@OSBotify
Copy link
Contributor

OSBotify commented Dec 6, 2021

🚀 Deployed to production by @roryabraham in version: 1.1.17-7 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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