-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Copy email url #8195
Copy email url #8195
Conversation
As @Santhosh-Sellavel said here, we still should rename |
On Mobile Web when we longpress the URL/e-mail it doesn't show the pop-up(I think it expect user to right click in order to show it, as expected on Web). I reported it on slack here. |
My suggestions for prop name instead of fileName is |
@mateusbra
and here
|
src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js
Outdated
Show resolved
Hide resolved
src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.native.js
Outdated
Show resolved
Hide resolved
Hi guys, I see that we're currently using |
Sorry, I missed this one. Already commited it! |
Hi Marco, thanks for the feedback, working on it! |
src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.js
Outdated
Show resolved
Hide resolved
src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.native.js
Outdated
Show resolved
Hide resolved
src/components/AnchorForCommentsOnly/anchorForCommentsOnlyPropTypes.js
Outdated
Show resolved
Hide resolved
Sorry for the delay here. |
PR Reviewer Checklist
|
@mateusbra Update same |
Do we need opinion from the marketing team? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Tests well.
Seems mWeb is already broken not introduced in this PR. Except for mWeb Everything else tests well!
Changed the Tests section, thanks for the review guys! |
Good question, for this case is fine because we're just changing a word from an existing text (in fact I think we should move this to an interpolated text like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you guys for your effort!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @marcochavezf in version: 1.1.46-0 🚀
|
|
Wait no, this isn't a regression. It's a bug discovery? |
Not it's not a regression, @michaelhaxhiu! |
yep got it - was just confused it didn't have the "@ - reported by" part in the title. I see what's going on, and was just trying to get an update for the main GH. |
@@ -61,7 +62,7 @@ class BaseAnchorForCommentsOnly extends React.Component { | |||
onSecondaryInteraction={ | |||
(event) => { | |||
ReportActionContextMenu.showContextMenu( | |||
ContextMenuActions.CONTEXT_MENU_TYPES.LINK, | |||
Str.isValidEmail(this.props.displayName) ? ContextMenuActions.CONTEXT_MENU_TYPES.EMAIL : ContextMenuActions.CONTEXT_MENU_TYPES.LINK, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line introduced a regression in #18912 , When an email is linked to a url link. The message display "Copy Email to Clipboard" however the copied text is the url link.
Details
Right clicking email address shows pop up that says
Copy URL to clipboardCopy e-mail to clipboard.This PR will change the message we should show when right clicking e-mail to "Copy e-mail to clipboard".
Fixed Issues
$ #8006
Tests
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectionsrc/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
property(i.e.
StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)PR Reviewer Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectionsrc/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
property(i.e.
StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)QA Steps
Web,Desktop:
Android,iOS,Mobile Web:
Screenshots
Web
Windows-Chrome.mp4
MacOs-Chrome.mov
Mobile Web
Android-Chrome.mp4
iOS-Safari.mp4
Desktop
MacOs-Desktop.mov
iOS
iOS-Native.mov
Android
Android-Native.mp4