-
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-07] [$1000] Chat - Word that follows after the multiline hyperlink is located between multiline hyperlink #22362
Comments
Triggered auto assignment to @MitchExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Currently, having a multiline link and text next to it will show the text at the first line of the link. This only happen in Web/Desktop. What is the root cause of that problem?The link rendered in the chat is a BaseAnchorForCommentsOnly component which wraps the anchor text with PressableWithSecondaryInteraction. App/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.js Lines 56 to 91 in bf94b78
If we remove PressableWithSecondaryInteraction, the problem will be gone. Why? Let's take a look at an example
This text will render this HTML: The link itself is wrapped with 2 div, while the text App/src/components/Pressable/PressableWithFeedback.js Lines 48 to 53 in bf94b78
div will have a block display by default, but actually, we already apply an App/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.js Lines 56 to 57 in bf94b78
The problem is, the style is only applied to GenericPressable, which is the 2nd div. The 1st div (OpacityView) somehow has an What changes do you think we should make in order to solve the problem?To apply the inline style to the 1st div (OpacityView), we should also set the style to App/src/components/PressableWithSecondaryInteraction/index.js Lines 79 to 80 in bf94b78
|
Reproduced and do not see a dupe of this |
Job added to Upwork: https://www.upwork.com/jobs/~01ad0d167a3f25ee3b |
Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
@aimane-chnaif how does @bernhardoj 's proposal look to you? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I believe this is a recent regression. At the time of multiline hyperlink implementation, this issue was not happening. |
I can confirm that this came from pressable migration in #20251. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@techievivek @MitchExpensify @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
PR is ready cc: @aimane-chnaif |
🎯 ⚡️ Woah @aimane-chnaif / @bernhardoj, 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 🚀 |
Summary of payments eventually due: $250 - Reporting bonus: N/A Applause |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.47-6 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-07. 🎊 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:
|
Reminder added to call to pay on 8/7 🚀 Let's get the BZ steps complete in advance of that @aimane-chnaif 👍 |
Not overdue, waiting for the payment. @aimane-chnaif can you please fill the BZ steps, thanks. |
Paid @aimane-chnaif Just waiting on @bernhardoj to accept the offer to close this one out post payment |
@MitchExpensify Accepted |
Thanks, Paid! Just waiting on Upwork to stop being buggy so I can end the contract. Reminder on the BZ steps here @aimane-chnaif |
Contracts ended! Friendly bump on the BZ steps #22362 (comment) @aimane-chnaif - Thanks! Lets get this closed out |
As this came from pressable migration refactor, I don't think regression test is needed |
Awesome, thanks @aimane-chnaif |
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:
[Multiline
text}(link) hello
Expected Result:
The word 'hello' after the multiline hyperlink is located after the multiline hyperlink
Actual Result:
The word 'hello' after the multiline hyperlink is located in the middle of multiline hyperlink
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.37.3
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug6118738_Screen_Recording_20230707_013204_Chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: