-
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 2024-09-06] [$250] There is no selected background after selecting Submission frequency as monthly #47574
Comments
Triggered auto assignment to @puneetlath ( |
@puneetlath |
Edited by proposal-police: This proposal was edited at 2024-08-20 21:37:23 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.There is no selected background after selecting Submission frequency as monthly What is the root cause of that problem?
App/src/pages/workspace/workflows/WorkspaceAutoReportingFrequencyPage.tsx Lines 105 to 106 in 4e01691
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Result for the visual glitch mention hereBeforefreq_before.mp4Afterfreq_after.mp4 |
Edited by proposal-police: This proposal was edited at 2024-08-16 16:18:58 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.There is no selected background after selecting Submission frequency as monthly What is the root cause of that problem?App/src/pages/workspace/workflows/WorkspaceAutoReportingFrequencyPage.tsx Lines 135 to 140 in a07cce4
We don't pass shouldUpdateFocusedIndex, shouldSingleExecuteRowSelect props What changes do you think we should make in order to solve the problem?For the main bug: We need to pass shouldUpdateFocusedIndex, shouldSingleExecuteRowSelect props For the new bug, I suggest creating a new state and using it instead of autoReportingFrequency.
We also need to call setIsSelected(item.keyForList) in the onSelectAutoReportingFrequency function. We can add a new Save button and only call the API when the user clicks this button. This pattern has been confirmed by the design team here and can also be applied to the WorkspaceAutoReportingFrequencyPage. What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-08-16 19:36:01 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.A check mark next to monthly, but there is no selected background What is the root cause of that problem?We just updated isSelected and not updated the focused index in here App/src/components/SelectionList/BaseSelectionList.tsx Lines 449 to 455 in 9812479
What changes do you think we should make in order to solve the problem?We should add 2 props App/src/pages/workspace/workflows/WorkspaceAutoReportingFrequencyPage.tsx Lines 135 to 140 in 9812479
OPTIONAL: We should pass
When we call and we'll disable options when What alternative solutions did you explore? (Optional) |
@daledah Your proposal is the same as my proposal 😄 |
Proposal Updated
|
@cretadn22 I see there is a difference in the OPTIONAL part. In the future when we pass props |
Job added to Upwork: https://www.upwork.com/jobs/~01010057c5f8be0ff8 |
Current assignee @ZhenjaHorbach is eligible for the External assigner, not assigning anyone new. |
@Krishna2323 @cretadn22 @daledah ![]() |
Updated proposal to address the new bug mentioned by @ZhenjaHorbach |
@ZhenjaHorbach The bug happened because when we were calling the API Screen.Recording.2024-08-17.at.02.29.12.mov |
@daledah |
But on the other hand
Or should we fix only the current issue described in the Action Performed? |
@puneetlath, @ZhenjaHorbach Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Hmm, I think if they all touch this same flow, then let's just fix them here. |
@Krishna2323 @cretadn22 @daledah |
@ZhenjaHorbach, I believe this is not related to our current issue, the current bug is related to the UI, so I guess we can solve the other 2 bugs. |
It makes sense to me ! |
@ZhenjaHorbach, I updated my proposal to fix the second visual glitch mentioned here. Please review and let me know when you have some time. Thanks |
@Krishna2323 🎀👀🎀 C+ reviewed |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ZhenjaHorbach, PR ready for review ^ |
Looks like production deploy automation failed: This should be on [HOLD for Payment 2024-09-06] according to prod deploy checklist, confirmed in slack |
Ah ok cool. @ZhenjaHorbach can you complete the checklist in that case? |
…nstead of page bottom. Signed-off-by: Krishna Gupta <[email protected]>
BugZero Checklist
https://github.com/Expensify/App/pull/42019/files#r1747587652
NA
Since it's a minor issue with a simple fix that we use in many places |
Done ! |
@puneetlath, bump for payments 🙏🏻 |
Great, thanks everyone. All paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.21-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
Expensify/Expensify Issue URL:
Issue reported by: @ZhenjaHorbach
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1723812299682989
Action Performed:
Expected Result:
There should be selected background
Actual Result:
Notice that there is a check mark next to monthly, but there is no selected background
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
2024-08-16.14.43.26.mov
Recording.2024.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: