You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Payment][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL #31377
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 1.3.99-0 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 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
Action Performed:
Launch New Expensify app
Navigate to chat that has message with URL
Long press on the URL
Expected Result:
There will be no black box feedback when long pressing on the URL
Actual Result:
There is black box feedback surrounding the URL when long pressing on it
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]iOS - Chat - Black box surrounds URL when long pressing on the URL[/-][+][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL[/+]on Nov 15, 2023
constNode=props.inline ? Text : PressableWithFeedback;
And we don't pass suppressHighlighting prop which is supported for IOS native into this component so by default highlight styles appear when we long press on URL
What alternative solutions did you explore? (Optional)
If we don't want to always disable the highlight style for inline PressableWithSecondaryInteraction we can add an extra prop for this component to decide whether should disable the highlight style
Proposal from @dukenv0307 looks good to me #31377 (comment)
In my view better to use alternative solution to have ability to re-use prop on any page - where it will be necessary
🎀 👀 🎀 C+ reviewed
changed the title [-][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL[/-][+][Payment][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL[/+]on Dec 1, 2023
Extra Notes regarding payment: There appears to be an automation issue and @cristipavalconfirmed this one is ready. I'm going to continue the payment process.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
[-]iOS - Chat - Black box surrounds URL when long pressing on the URL[/-][+][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL[/+]melvin-bot commentedon Nov 15, 2023
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Nov 15, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01ce3a970cdd6c1a1d
melvin-bot commentedon Nov 15, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Nov 15, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 (
External)dukenv0307 commentedon Nov 15, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Black box surrounds URL when long pressing on the URL
What is the root cause of that problem?
We use
PressableWithSecondaryInteractionhere and withinlineprop, for native we renderTextcomponent.App/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.js
Line 56 in a9743a2
App/src/components/PressableWithSecondaryInteraction/index.native.js
Line 15 in a9743a2
And we don't pass
suppressHighlightingprop which is supported for IOS native into this component so by default highlight styles appear when we long press on URLApp/src/components/PressableWithSecondaryInteraction/index.native.js
Line 22 in a9743a2
What changes do you think we should make in order to solve the problem?
Here we should check if
props.inlineistruewe will passsuppressHighlightingprop astrueinto this componentApp/src/components/PressableWithSecondaryInteraction/index.native.js
Line 22 in a9743a2
What alternative solutions did you explore? (Optional)
If we don't want to always disable the highlight style for inline
PressableWithSecondaryInteractionwe can add an extra prop for this component to decide whether should disable the highlight styleResult
Screen.Recording.2023-11-15.at.23.28.58.mov
narefyev91 commentedon Nov 16, 2023
Proposal from @dukenv0307 looks good to me #31377 (comment)
In my view better to use alternative solution to have ability to re-use prop on any page - where it will be necessary
🎀 👀 🎀 C+ reviewed
melvin-bot commentedon Nov 16, 2023
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
4 remaining items
dukenv0307 commentedon Nov 17, 2023
@narefyev91 The PR is ready for review.
alexpensify commentedon Nov 27, 2023
Catching up from being OOO, it looks like this one merged but waiting for the automation to kick in here.
alexpensify commentedon Dec 1, 2023
@cristipaval any thoughts as to why automation hasn't ran here yet?
cristipaval commentedon Dec 1, 2023
Hm.. This is weird. It might be an one time error.
[-][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL[/-][+][Payment][$500] iOS - Chat - Black box surrounds URL when long pressing on the URL[/+]alexpensify commentedon Dec 1, 2023
Ok, here we go since yesterday marked 7 days since the PR was merged:
The payment summary:
Upwork Job: https://www.upwork.com/jobs/~01ce3a970cdd6c1a1d
Extra Notes regarding payment: There appears to be an automation issue and @cristipaval confirmed this one is ready. I'm going to continue the payment process.
alexpensify commentedon Dec 1, 2023
@narefyev91 when you get a chance, can you share if there is a regression test needed here and I'll reopen this one? Thanks!
alexpensify commentedon Dec 1, 2023
All set here, closing-- I've completed the payment process in Upwork.