-
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][$500] Inconsistency of redirection after creating IOU and task #30883
Comments
Job added to Upwork: https://www.upwork.com/jobs/~016c50b7a867fe5efd |
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task creation redirects to the task report. Should redirect to the DM chat What is the root cause of that problem?We're redirecting to the task report after creating a task as you can see Line 216 in 7bd51eb
This is the root cause What changes do you think we should make in order to solve the problem?When creating a task, we have Updating Line 216 in 7bd51eb
to
would redirect user to share destination Result30883.mp4What alternative solutions did you explore? (Optional)In the case we still want to redirect to the DM, we can update the above code to
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency of redirection after creating IOU and task What is the root cause of that problem?We are using Line 216 in 7bd51eb
This is resulting to redirection to Task report instead of chat, perhaps this is the root cause. What changes do you think we should make in order to solve the problem?We should use We should update this, Line 216 in 7bd51eb
with this,
This will Navigate to the chat after IOU and creating a task. What alternative solutions did you explore? (Optional)NA Result: |
@s-alves10 I think Lines 43 to 47 in 7bd51eb
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency of redirection after creating IOU and task What is the root cause of that problem?The root cause of this issue is that after creating task, we open the task report, see Line 216 in 846a4b7
What changes do you think we should make in order to solve the problem?To redirect to chat room after creating task, we can change Line 216 in 846a4b7
to const parentReport = ReportUtils.getReport(parentReportID);
if (ReportUtils.isChatRoom(parentReport)) { // We can also consider group chat as chat room if necessary
// We want to redirect to the parent report if this task is going to be shared to a chat room.
Navigation.dismissModal(parentReportID);
} else {
Navigation.dismissModal(optimisticTaskReport.reportID);
} See demo 0-web.mp4What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency of redirection after creating IOU and task What is the root cause of that problem?When we create a task, we redirect to task report Line 216 in 925ff67
When we create an IOU, we redirect to chat report or expense report Lines 879 to 880 in 925ff67
What changes do you think we should make in order to solve the problem?Because both Instead, when we create a money request we should build optimistic data for the transaction thread which is the detail report of the request, and redirect to this report after creating a request to be consistent with the task behavior. Lines 879 to 880 in 925ff67
What alternative solutions did you explore? (Optional) |
The decision to redirect to the parent report (eg, the DM or the workspace
chat) when creating a money request is intentional and not up for
consideration here. Accordingly, please model task creation on this, and
also redirect to the parent chat room when creating the task.
(If the task is being created from within the chat itself, simply show the task preview and redirect nowhere.
|
@kevinksullivan, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
ProposalUpdated to redirect to the parent chat room after task creation. |
@kevinksullivan, @allroundexperts Eep! 4 days overdue now. Issues have feelings too... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@s-alves10 were the first to propose the use of 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @danieldoglas, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @s-alves10 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This comment was marked as resolved.
This comment was marked as resolved.
PR is ready for review #31307 |
Could you please check on the payment status? The PR was merged into production 2 weeks ago |
Hmm, I think we had an issue with the payment summary during the last 2 weeks, which is why this was not notified. @kevinksullivan can you please take care of the payment here? We're all good. |
Payment summary
Paid out @s-alves10 . @allroundexperts am I good to close this, assuming you'll request in newdot? Let me know if not and I can reopen! |
$500 payment to @allroundexperts based on comment above. |
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: 1.3.95.5
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: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1699054252287299
Action Performed:
Expected Result:
After creating IOU or task should be redirected to DM
Actual Result:
After creating task redirected to task itself
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.197.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kevinksullivanThe text was updated successfully, but these errors were encountered: