Closed kavimuru closed 1 year ago
Triggered auto assignment to @jliexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
@kavimuru I'm actually not seeing this behaviour on my side (I'm also in Staging):
Can this be reliably reproduced? Videos would be great. Assigning back to you for further investigation.
@jliexpensify I can repro with CAD and the video already attached in the bug is for the currency UAH
@kavimuru thanks for the video - your reproduction steps were in the wrong order in the original issue so i fixed that.
But I've tested again, multiple times - I still can't reproduce. I'm still getting the same currency symbol for both requests:
@kavimuru Eep! 4 days overdue now. Issues have feelings too...
@kavimuru 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
@kavimuru Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
@kavimuru 12 days overdue now... This issue's end is nigh!
This issue has not been updated in over 14 days. @kavimuru eroding to Weekly issue.
Hey guys, I can repro! @jliexpensify notice how the symbol changes from CA$
to C$
at roughly the 4 second mark on the money request report item in the background:
Triggered auto assignment to @strepanier03 (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Job added to Upwork: https://www.upwork.com/jobs/~01b26c2eca8bb1766c
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External
)
Current assignee @jasperhuangg is eligible for the External assigner, not assigning anyone new.
Will be looking into this one today myself, but feel free to submit proposals if I haven't submitted a PR yet!
Actually, this one might have to be internal, it looks like there's a mismatch between the optimistic report action we're building in the front-end and the one that's returned from OpenReport
. Looks like this only happens when you request money in a few of the currencies where the symbols and names differ.
html: "Requested CA$34.00 from 9@test.com"
isEdited: false
text: "Requested CA$34.00 from 9@test.com"
type: "COMMENT"
OpenReport
responsehtml: "Requested C$34.00 from 9@test.com"
isEdited: false
text: "Requested C$34.00 from 9@test.com"
type: "COMMENT"
I'll look more into this after lunch
Awesome stuff, thanks @jasperhuangg !
Actually after some further investigating it appears that this happens is because the Intl
built in library doesn't provide symbols for a number of the currencies we support, so it just returns its currency code instead as a default. In the back-end, we have an actual map of currency code to symbol, which is why we're able to get the symbols.
The currency picker is intended to show the ISO4217 standard currencies, which our back-end already uses.
Still pending discussion here, not overdue!
@jasperhuangg Whoops! This issue is 2 days overdue. Let's get this updated quick!
Good discussion happening in the Slack thread, this is not overdue!
Ionatan and I are more or less on the same page now, just working on ideating a solution
PR incoming...
Still working on that PR! Hope to have something tested up today!
PRs up and ready for review!
Realized the testing for https://github.com/Expensify/App/pull/13432 is actually a lot more involved than I had previously assumed so I'm putting the PR back on draft while I iron out the testing steps and screen captures.
PRs are both under review, I'm also in @iwiznia 's NewDot DMs to clarify a few things 👀
Just a quick update on this one, more great discussion is happening here in Slack about the best approach to solve this issue. We may have to HOLD this on a separate issue that @aldo-expensify is working on, but as for now I'm gonna put the Planning
label back on.
This is solved in Aldo's PR! https://github.com/Expensify/Web-Expensify/pull/35845
@aldo-expensify assigning ya so you can also get credit on this!
@jasperhuangg, @aldo-expensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Redoing the PHP API PR: https://github.com/Expensify/Web-Expensify/pull/35908
(Salt PR was salted adding the missing dependency)
@jasperhuangg, @aldo-expensify Huh... This is 4 days overdue. Who can take care of this?
@jasperhuangg, @aldo-expensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
No overdue, the https://github.com/Expensify/Web-Expensify/pull/35908 is in staging
https://github.com/Expensify/Web-Expensify/pull/35908 is on prod, closing!
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:
In offline, the currency sign should be displayed immediately
Actual Result:
Offline shows the name of the currency, after going online it shows the sign of the currency
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.25-0 Reproducible in staging?: y Reproducible in production?: y 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/200688413-94b68f66-5288-47a2-81ad-eb485dcd0a90.mp4
Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit