-
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
[HOLD for payment 2023-08-14] [$1000] Chat - Clicking Outside Link in Link Preview Should Not Open the Link #22979
Comments
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposalby : @ahmdshrif Please re-state the problem that we are trying to solve in this issue.Clicking next to the link preview click on the link What is the root cause of that problem?By default, we will set align-self or align-items on the parent to stretch to the View, which stretches the What changes do you think we should make in order to solve the problem?we need to add self-alignment to start or Baseline the text-link style here App/src/pages/home/report/LinkPreviewer.js Lines 108 to 114 in b9508b6
style={[styles.pv2, StyleUtils.getTextColorStyle(colors.blueLinkPreview), styles.alignSelfStart]} What alternative solutions did you explore? (Optional)add a container with styles.alignItemsBaseline (or styles.alignItemsStart) to the text link Result :fix-click-outside-link.mov |
This is not a bug in my opinion, as we're still building out the feature and it's debatable how this new feature should work. That said, I think I agree that within the link preview, only the hyperlink within the preview should be clickable. I'll triage. |
Job added to Upwork: https://www.upwork.com/jobs/~019285d8fb1003132d |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Please re-state the problem that we are trying to solve in this issue.Chat - Clicking Outside Link in Link Preview Should Not Open the Link What is the root cause of that problem?TextLink is stretched according to It's parent View component, So It is clickable to full width of screen ( out side of title) What changes do you think we should make in order to solve the problem?You need to wrap TextLink inside the View component with styles.flexRow. You need to change Here like below mention code.
Video:https://drive.google.com/file/d/1mhtv72Ks1rYKFut0ig7JpxEdV-gJO-aT/view?usp=sharing |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Clicking Outside Link in Link Preview Should Not Open the Link What is the root cause of that problem?There are 2 problems here:
What changes do you think we should make in order to solve the problem?We'll wrap the TextLink with a View tag and add styles.alignItemsStart like we're using elsewhere, and we'll move <View style={[styles.alignItemsStart, style.pv2]}>
<TextLink
style={[StyleUtils.getTextColorStyle(colors.blueLinkPreview)]}
>
</TextLink>
</View> Result: Screen.Recording.2023-07-21.at.10.00.34.movWhat alternative solutions did you explore? (Optional)N/A |
@JmillsExpensify, @mananjadhav Huh... This is 4 days overdue. Who can take care of this? |
@mananjadhav Mind reviewing these proposals in the coming days? Thank you! |
I'll review this today/tomorrow. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Adding 🎀 👀 🎀 C+ Reviewed. |
Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hi @mananjadhav You can consider my proposal, currently I investigated and found we can click above and below the link. My Proposal solved that. Thanks |
📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @ahmdshrif You have been assigned to this job! |
📣 @ahmdshrif We're missing your Upwork ID to automatically send you an offer for the Reporter role. |
There we go! Apparently you have to comment on the issue before I can add you 😁 |
🎯 ⚡️ Woah @mananjadhav / @ahmdshrif, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.50-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-08-14. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@mananjadhav When you get a chance over the next week, let's get this BZ checklist kicked off. Thanks! |
Yes I'll be doing this by coming weekend. |
@JmillsExpensify Raising my request on NewDot, can you please comment here with the payment summary? |
Summarizing the payments per the urgency confirmation above.
|
Upwork job is here: https://www.upwork.com/jobs/~019285d8fb1003132d. @ahmdshrif Mind applying when you have a second and I'll get this paid out? |
Separately, I confirm that the payment summary above for @mananjadhav is accurate and ready for payment in NewDot. |
@JmillsExpensify applied |
Great thanks! Offer sent |
@JmillsExpensify Thanks! ... Accepted |
All paid out and contract closed! Thanks everyone. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Action Performed:
Expected Result:
Clicking outside the link in the link preview should not open the corresponding link.
Actual Result:
When clicking next to the link in the link preview, it opens the corresponding link in a new tab or the default browser,
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.41-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
claick-outside-link.mov
Recording.3680.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ahmdshrif
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689435841926949
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: