-
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-07-14] [$1000] Settings - On Share Code page number is not displayed in formatted as we displayed on other pages #20931
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
const formattedPhone = this.props.formatPhoneNumber(this.props.session.email)
<QRShareWithDownload subtitle={isReport ? subtitle : formattedPhone} /> |
This one is on my test list |
I'll be testing soon! |
I've reviewed the Slack convo and will be assigning it to |
Job added to Upwork: https://www.upwork.com/jobs/~01d6e5878ab0553a59 |
Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Phone number is not formatted on Share Code page as we does on other pages like (profile page ,account close page ) What is the root cause of that problem?It's here App/src/pages/ShareCodePage.js Line 68 in e6c4b4e
this.props.session.email without formatting it first by formatPhoneNumber .
What changes do you think we should make in order to solve the problem?I've noticed we have this kind of issue many times once in a while where we show the "unformatted" email in different places. It seems that we tend to forget that the
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.email isn't properly formatted in Share Code page as it does in Initial Settings page What is the root cause of that problem?
What changes do you think should make in order to solve the problem?Replace App/src/pages/ShareCodePage.js Line 68 in e6c4b4e
to
|
📣 @wysohn! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Settings - Share code barcode - phone number is not formatted with valid format (uses email formatting instead of the regular phone number formatting being used across the app) What is the root cause of that problem?The ShareCodePage component is trying to use the email available on the session without applying the formatting. What changes do you think we should make in order to solve the problem?It appears that we are currently encountering an issue where we missed to use the What alternative solutions did you explore? (Optional)NA |
📣 @nikhiln! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@fedirjh - when you get a chance, can you review the proposals to identify if they will work to resolve the problem? Thank you! |
@tienifr Thanks for the proposal. Can you elaborate more on which places we use the
Are you referring to hook or HOC ?
But won't that serve same as
we still can do the same to
Honestly I feel this solution is |
@tienifr Another thing to mention , we have a HOC |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dhairyasenjaliya 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @dhairyasenjaliya 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@dhairyasenjaliya feel free to open a PR |
Pr ready for review @fedirjh @MonilBhavsar |
Merged PR. Thanks all for the quick work! |
So fast! Nice work everyone. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-7 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-07-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.
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:
|
Alright, removing the other 🐛 team member. I'm back online and see that this is our current state: Prepare for payment |
Preparing for payment, I think there should be a bonus here. Can you help me confirm @MonilBhavsar? Also, @fedirjh can you please complete the checklist: #20931 (comment) Thanks! |
Regression Test Proposal
Do we agree 👍 or 👎 |
Alright, @dhairyasenjaliya and @fedirjh, I've prepared the payments via Upwork. Please confirm you received it and I can close this GH out after I create the regression test. Thank you! |
@alexpensify Thank you! received. |
@alexpensify received thank you |
Thank you and great work! I've closed the job in Upwork, created the regression test, and am going to close this GH now. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Phone number should be formatted as we can see on profile page
Actual Result:
Phone number is not formatted as we does on other pages like (profile page ,account close page )
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.16-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
Expensify/Expensify Issue URL:
Issue reported by: @dhairyasenjaliya
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684739607316259
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: