-
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-28] Web - Request money - "Select a currency" tooltip is shown even if user is unable to do so #24568
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Gonals ( |
Just a heads up I am working 50% today and have just finished for the day, if there's anything that needs to be done on this from my side please ask in bug-zero Slakc thanks |
On it! |
ProposalPlease re-state the problem that we are trying to solve in this issue."Select a currency" tooltip is shown even if user is unable to do so What is the root cause of that problem?We are wrapping the pressable in a App/src/components/CurrencySymbolButton.js Lines 25 to 38 in 56f0b0f
What changes do you think we should make in order to solve the problem?If Alternatively, a slightly more elegant way would be to change If text is omitted, only the children are rendered:
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tooltip displays for currency when it's disabled What is the root cause of that problem?We don't have any check while displaying tooltip for currency. App/src/components/CurrencySymbolButton.js Lines 28 to 37 in 4275741
What changes do you think we should make in order to solve the problem?There are few ways to handle this.
if (disabled) {
return (
<PressableWithoutFeedback
onPress={onCurrencyButtonPress}
accessibilityLabel={translate('iOUCurrencySelection.selectCurrency')}
accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
disabled={disabled}
>
<Text style={styles.iouAmountText}>{currencySymbol}</Text>
</PressableWithoutFeedback>
);
}
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01b0a3053455828bfb |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @fedirjh ( |
Marking this as internal, as I already have a fix in place and it is a deploy blocker |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.55-8 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-28. 🎊 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:
|
Payment Summary: bug reporter @Nathan-Mulugeta $250 - offer sent in Upwork |
Bump @laurenreidexpensify for payment to be processed. |
@Gonals, @laurenreidexpensify Huh... This is 4 days overdue. Who can take care of this? |
Filled checklist. This wasn't really a regression, just something introduced with the functionality itself, I'd say, so all good. |
Payment issued 👍 Closing |
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:
Since user is unable to change currency tooltip saying "Select a currency" should not be shown
Actual Result:
"Select a currency" tooltip is shown even if user is unable to do so
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.54-7
Reproducible in staging?: Y
Reproducible in production?: N
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
-26156794439242399052023-08-14_23_01_46.MP4
Recording.1196.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692043293482609
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: