Closed kavimuru closed 1 year ago
Triggered auto assignment to @mallenexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are โ
)Job added to Upwork: https://www.upwork.com/jobs/~0108397cd1af3372fb
Current assignee @mallenexpensify is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External
)
Triggered auto assignment to @marcochavezf (External
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Reckon this is a quick fix, unsure why it's not showing. I think we want for consistency but also to show people where the link will take them (I check links in similar situations/sites)
URL's are not showing on the left bottom of the browser for the social icons.
We have used Pressable
component for social icons which won't be treated as anchors, bcoz Text
is required for making a hyperlink with Linking
module.
We need to reuse TextLink
component which we are using for the other links and wrap it with the Hoverable
which is the same way we are doing for the other links on the page. This will show the URL in the browser bottom on the link hover.
There is no link address shown at the bottom left of the page when we hover over the social icons at the sign in footer.
We use Pressable
to show each icon which will be translated to a div
, but we need an anchor tag.
We can just add href={social.link}
to the Socials
's Pressable
component and it will become an anchor tag.
URL does not show on the bottom left on hovering the social media icons in sign in page
We need an anchor tag to Pressable
. Just using onPress
can't handle anchor tag.
Similar to what we implemented already in TextLink
, we can apply href
to Pressable
.
But we should also prevent default behavior on onPress
callback because if href
and onPress
both exist, both of them are triggered and redirect happens on both same tab and another tab.
So solution is to
href={social.link}
e.preventDefault()
on onPress
callbackImprovement:
We should avoid View
derived components inside Text
, which doesn't work well and might break style in native.
So avoid using TextLink
which is @Pujan92's proposal because it will have Icon
as a child component.
And this can be replaced with <View style={[styles.flexRow, styles.alignItemsCenter]}>
https://github.com/Expensify/App/blob/7e8e8a1d881914abe7c13768eb13e4930cb8546b/src/pages/signin/Socials.js#L36
We can simply use anchor tags to solve the problem. and pass the "href" property.
๐ฃ @Aadil-Shabir! ๐ฃ
Hey, it seems we donโt have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Contributor details Your Expensify account email: aadil.shabir13@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~010905b3ee1f1acb1d
โ Contributor details stored successfully. Thank you for contributing to Expensify!
Please re-state the problem that we are trying to solve in this issue. URL does not show on the bottom left on hovering the social media icons in sign in page
What is the root cause of that problem? The Root cause to this problem is using javascript to open a window in new tab.
What changes do you think we should make in order to solve the problem? Instead of using Javascript for redirecting the page we should use html5 anchor tag and set href and target for it. that will fix the issue.
๐ฃ @jaygangani! ๐ฃ
Hey, it seems we donโt have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Contributor details Your Expensify account email: ganganijay70@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~01d19649d41ad045f1
โ Contributor details stored successfully. Thank you for contributing to Expensify!
โ ๏ธ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.
โ ๏ธ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.
โ Contributor details stored successfully. Thank you for contributing to Expensify!
@sobitneupane , can you please review the above proposals?
๐ฃ @devmaxkyu! ๐ฃ
Hey, it seems we donโt have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
โ ๏ธ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.
โ Contributor details stored successfully. Thank you for contributing to Expensify!
Thanks for the proposal everyone.
The proposal from @Pujan92 looks good to me.
๐๐๐ C+ reviewed cc: @marcochavezf
@marcochavezf can you please review @Pujan92 's proposal above? Thx
LGTM too, assigning @Pujan92 ๐
๐ฃ @Pujan92 You have been assigned to this job by @marcochavezf! Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review ๐งโ๐ป Keep in mind: Code of Conduct | Contributing ๐
As I stated in proposal, if we use TextLink
, style will be broken on native.
TextLink:
Pressable:
PR is ready for review.
@marcochavezf, @Pujan92, @mallenexpensify, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick!
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.89-0 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-04-03. :confetti_ball:
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.
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:
This error didn't exist before are uncovered edge cases of the footer implementation. So checking off the checklist items. Also, I think the regression test steps to TR will be enough to prevent this bug in the future.
@marcochavezf, @Pujan92, @mallenexpensify, @sobitneupane Eep! 4 days overdue now. Issues have feelings too...
@sobitneupane @Pujan92 @gadhiyamanan can you please accept the job and reply here once you have? https://www.upwork.com/jobs/~01d818be187a45e3b9
I addressed the price increase between ๐ and hiring, since it was 'on us' to revert the price back to $1000 when it got increased (me) or to revert/address once @marcochavezf hired @Pujan92 , we're going to let the $2000 amount stand. This doesn't mean that, in the future, other instances will follow the same process/logic, they can be handled on a case-by-case basis, as needed
@mallenexpensify Thanks! Accepted. If this needs to be reverted to $1000 to avoid ambiguity for future instances, I am also fine with it.
@mallenexpensify accepted
Thanks @mallenexpensify. Accepted the offer.
If this needs to be reverted to $1000 to avoid ambiguity for future instances, I am also fine with it.
@Pujan92 , appreciate the offer. We stopped auto-doubling so it won't be an issue going forward. I/we should have caught and reverted. I'll blame me being sick the past two weeks :)
Bump @mallenexpensify for the payment.
Thanks @Pujan92 , sorry for the delay, you've been paid $2000, @sobitneupane too. @gadhiyamanan paid $250 for reporting. Adding this issue to 'Edge Cases' in the testing guidelines, so no regression test steps needed.
Thanks @mallenexpensify, just to confirm aren't we considering the time bonus here?
I was going back/forth on that, I feel like it's a bit excessive, as the job price was doubled when it maybe shouldn't have been. That said... I don't know if I can point to anything in the CONTRIBUTING.md to justify my thinking.
I was unsure and doubtful so just asked to confirm, but I am fine and don't want to point out anything from guideline as mutually understand and agree with you. :)
If you and @sobitneupane are cool with it @Pujan92 , I'd prefer to treat this as an edge case, issue the 2x pay for the auto-doubling and not also add the bonus (since the former part is now obsolete, this won't happen again. And, you would have received the 50% timeliness bonus if this happened now)
I think it makes sense @mallenexpensify. I am totally fine with it.
NOTE: the solution went in the wrong way. As I stated in my proposal, it's not recommended to put View inside Text in native unless there's no other solution. Though PR didn't cause regression, this issue would have been avoided if my solution is applied.
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:
Expected Result:
it should show URL on bottom left same as other links
Actual Result:
does not show URL on bottom left corner
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.80-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 Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/223547269-38566e19-e4fc-4a1c-9be3-1c8fdeedc050.mov
https://user-images.githubusercontent.com/43996225/223547326-1f78d43a-924a-4dfb-b2db-8e19da845bf3.mp4
Expensify/Expensify Issue URL: Issue reported by: @gadhiyamanan Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678168484655499
View all open jobs on GitHub
Upwork Automation - Do Not Edit