Closed kavimuru closed 1 year ago
Triggered auto assignment to @arielgreen (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are ✅)I was able to reproduce using the described steps.
Job added to Upwork: https://www.upwork.com/jobs/~01fb9a225908cf716a
Current assignee @arielgreen is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External
)
Done button increases font size on click
The root cause is that the styles defined in react-native-picker-select
library for the done button in depressed state has different font size than the one in non depressed state. This can be seen here.
We need to add the following styles to our implementation of react-native-picker-select
here and here.
doneDepressed: {
fontSize: defaultPickerStyles.done.fontSize,
}
The defaultPickerStyles
can be imported using:
import {defaultStyles as defaultPickerStyles} from 'react-native-picker-select/src/styles';
This will fix the issue but if required, we can customise this further to use Expensify styles instead of the default ones defined in the library.
None
Triggered auto assignment to @luacmartins (External
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Issue is in the Defined style, Can be corrected through done.fontSize by using Expensify Style.
📣 @etechall! 📣
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: admin@snologies.com Upwork Profile Link: https://www.upwork.com/freelancers/~01edeb68c8157883fc
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
Done button increases font size on click
defaultStyles.done.fontSize = 17
but defaultStyles.doneDepressed.fontSize = 19
, the text is enlarged
We can clear defaultStyles.doneDepressed.fontSize
, It won't clear the defaultStyles.done.fontSize
, because it is not in the same style array
https://github.com/Expensify/App/blob/3abe7b2f9e38dba42edf406ca1b1e19087f5599d/src/styles/styles.js#L943-L945
+ doneDepressed: {
+ fontSize: undefined
+ },
Not Yet
@allroundexperts your proposal looks good and is consistent with how we set other picker styles. Assigning you to the job!
📣 @allroundexperts You have been assigned to this job by @luacmartins! 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 📖
Hi sir, I want to know if the done button is fixed or not. Please, Let me know.
📣 @MateenAla! 📣
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: muteen.alam40@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~011147135e48f9e95d
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
@MateenAla Thanks for the interest in this issue. I already assigned a contributor for this job. However, we have many others issues waiting for proposals
PR created https://github.com/Expensify/App/pull/17314
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.3.0-2 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-24. :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:
@eVoloshchak do you think we need to create a regression test for this?
Is it easy to test for this bug?
Yes
Is the bug related to an important user flow? (For example, adding a bank account)
This is purely a visual bug that doesn't prevent user from using the app
Is it an impactful bug?
No, it's a small visual bug that is present on a single platform. Additionally, we will be moving away from the native picker (not sure if that applies to this page, haven't seen the designs).
@arielgreen, all in all, I think the regression test isn't needed, this is a very low-impact bug
I'll finish the first 3 items of the BZ checklist tomorrow
@allroundexperts @eVoloshchak @DinalJivani please be sure to apply to the posting on Upwork so I can send payment: https://www.upwork.com/jobs/~01fb9a225908cf716a
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: there's already a discussion here
Continuing discussion here to catch and avoid this type of bug in the future: When we update code related to app theme, we should make sure to test all of these views throughout the app: scrollbar color default text color picker background and text colors locale picker background and text colors date picker input cursor color native alert |(i.e. when deny camera permission)
@arielgreen
Applied on Upwork!
@allroundexperts @eVoloshchak @DinalJivani please be sure to apply to the posting on Upwork so I can send payment: https://www.upwork.com/jobs/~01fb9a225908cf716a
@arielgreen Applied.
Offers sent, just waiting on acceptance and then ready to issue payments
@arielgreen I think you were supposed to send an offer of 1500 but instead sent 2000. Can you please check?
Just waiting on payment. @arielgreen can you check the previous comment please? Seems like the offer amount might be incorrect.
@allroundexperts thank you so much for catching that! You are correct. I modified and resent the offer.
@eVoloshchak I did the same thing for your contract as well 😅 Apologies.
just waiting on payments
Are we still waiting on payment here?
Payments have been issued, @luacmartins and @eVoloshchak this can be closed once the checklist is completed.
@eVoloshchak would you mind completing the checklist?
@arielgreen, the last 3 checklist items are here: https://github.com/Expensify/App/issues/17180#issuecomment-1521694473
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:
Done button text size should stay same when clicked
Actual Result:
Done button font size changes on click
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Reproducible in staging?: needs reproduction Reproducible in production?: needs reproduction 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
https://user-images.githubusercontent.com/43996225/230700569-dc01f1cb-5650-46da-af8e-52bd291bae82.MP4
Expensify/Expensify Issue URL: Issue reported by: @dinaljivani Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680905677209739
View all open jobs on GitHub
Upwork Automation - Do Not Edit