-
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-06-13] [$1000] In the assign task flow, Value for description not changing #19460
Comments
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
I reproduced this. Applying Potentially related #19343 |
Job added to Upwork: https://www.upwork.com/jobs/~0159a2a911d29c5676 |
Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Triggered auto assignment to @tgolen ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.In the assign task flow, the value for description on in the initial page is not updated if it is changed on the details page and the user navigates back to the initial page. What is the root cause of that problem?The taskDescription input field in the form on the initial page is not being updated with the description value stored in Onyx. What changes do you think we should make in order to solve the problem?Update the NewTaskDetailsPage to retrieve the updated value from Onyx when the page loads. This can be achieved in a few steps:
What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.In the assign task flow, value for title and description not changing What is the root cause of that problem?In App/src/pages/tasks/NewTaskDetailsPage.js Lines 78 to 91 in 7a42755
What changes do you think we should make in order to solve the problem?In
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.25-05-2023.14.38.55.webm |
@abdulrahuman5196 thoughts on the proposals above? |
ProposalPlease re-state the problem that we are trying to solve in this issue.The title and description are not updated in AssignTask page What is the root cause of that problem?In https://github.com/Expensify/App/blob/main/src/pages/tasks/NewTaskPage.js We're using Form.js to render the form, it's data is only updated when user changes value manually. That why when we update title or description from other forms and go back, this form still shows stale data What changes do you think we should make in order to solve the problem?
ResultScreen.Recording.2023-05-26.at.17.11.31.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Title and Description value in What is the root cause of that problem?There are two possible reasons for these -
What changes do you think we should make in order to solve the problem?There are few changes that we need to make -
What alternative solutions did you explore? (Optional)To avoid any regressions, we can add two props to the
If we implement this approach, in future if such issue occurs this can be used. Looking forward to your feedbacks. Description.Error.Solving.-.Made.with.Clipchamp.mp4 |
🎀👀🎀 ~~cc: @tgolen ~~ |
@abdulrahuman5196 Can you check my proposal here? My proposal mentioned both description and title bug and @akinwale proposal it's unnecessary to use |
@dukenv0307 Thank you for the proposal and reaching out. Just to note I did go through all the proposal's at this time before approving. |
@abdulrahuman5196 can you please provide feedback and any improvements to my proposal. |
@BhuvaneshPatil Thank you reaching out. |
@abdulrahuman5196 What's about my proposal #19460 (comment). I don't think adding a new value and onChangeText is a good idea, we already have the logic to render value and handle onInputChange in Form.js, I also wonder if user's typing, the task is updated by pusher(update task from other devices), so the input will be changed (That is the reason we have to create the inputValues state in Form.js instead of using onyx value, and just only update inputValues when users change input). That why I just want to update the input value when setTitleValue or setDescriptionValue is executed. |
Hi @tienifr , Thank you for the proposal. But I am not aligned with the idea of adding a new field of
I don't think its forbidden to use value or onChangeText(onValueChange in Form) in Forms, infact Forms expose these params - https://github.com/Expensify/App/blob/main/contributingGuides/FORMS.md. But in most cases you won't need it since Form has a default behaviour and its handled internally by Form. But for our current issue we need more than the default behaviour.
I don't think we should worry more about this. These are just draft values stored in onyx. |
Current assignee @abdulrahuman5196 is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to @aldo-expensify ( |
Unfortunately, I need to reassign this one due to going on extended leave. |
@aldo-expensify thanks for stepping in for Tim! can you take a look at the C+ reviewed proposal here and let us know if we're good to proceed? |
I had a look at the issue + @akinwale 's proposal and it does look good to me. Thanks @abdulrahuman5196 for the good handling of the issue and answering all questions about other proposals :) |
📣 @akinwale You have been assigned to this job by @aldo-expensify! |
@aldo-expensify @abdulrahuman5196 I have applied to the Upwork job and the PR is ready for review. Thanks. |
Thanks! |
C+ review complete, looks like PR is waiting on @aldo-expensify for a final review |
Merged, awaiting deploy to prod |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.24-5 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-06-13. 🎊 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.
https://www.upwork.com/jobs/~0159a2a911d29c5676 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:
|
BugZero Checklist
Not a regression. It is a miss during the original tasks implementation.
yes
|
Offers sent to @BhuvaneshPatil @akinwale @abdulrahuman5196 |
Accepted @greg-schroeder |
Accepted, thanks! |
Accepted |
Paid, regression test update filed: https://github.com/Expensify/Expensify/issues/291643 |
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:
Description should be updated
Actual Result:
Description is not updated
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.17.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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-05-20.at.1.20.02.PM.mov
Recording.733.mp4
Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684554959081519
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: