-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$1000] The text "Chat report" is temporarily displayed in the Task title position #20063
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~018549030b7de49763 |
Current assignee @flaviadefaria is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Triggered auto assignment to @techievivek ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The text "Chat report" is temporarily displayed in the Task title position What is the root cause of that problem?I think there are two issues here
What changes do you think we should make in order to solve the problem?We should remove App/src/pages/home/ReportScreen.js Line 207 in fc30ddc
Since we might have What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The text "Chat report" is temporarily displayed in the Task title position. What is the root cause of that problem?We are creating a new task and navigating to report page. problem is that Lines 155 to 170 in f494977
We get report undefined in that case. we use fallback REPORT.DEFAULT_REPORT_NAME as title.https://github.com/Expensify/App/blob/65d9ceb6f5fd6d8b02b8ddc7a5071768d7dbe1c9/src/libs/actions/Report.js#LL327C15-L327C15 What changes do you think we should make in order to solve the problem?We can solve it by using Line 170 in f494977
we can move this into onyx callback. const connectionId = Onyx.connect({
key: `${ONYXKEYS.COLLECTION.REPORT}${optimisticTaskReport.reportID}`,
waitForCollectionCallback: true,
callback: () => {
Onyx.disconnect(connectionId);
Navigation.navigate(ROUTES.getReportRoute(optimisticTaskReport.reportID));
}
}); or we can move this into setTimeout. setTimeout(()=>{
Navigation.navigate(ROUTES.getReportRoute(optimisticTaskReport.reportID));
},10) I prefer onyx collection callback over setTImeout. VideoScreen.Recording.2023-06-03.at.1.10.56.AM.movWhat alternative solutions did you explore? (Optional)None |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
ProposalPlease re-state the problem that we are trying to solve in this issue.While user create a new task, the What is the root cause of that problem?The Once the Create Task api calls completed, the new data will be updated. What changes do you think we should make in order to solve the problem?Some small modification to the If we can modify the
Since we are setting the Please note, if needed, we can wrap the params of What alternative solutions did you explore? (Optional) |
@mananjadhav any thoughts on the proposals above? |
Please allow me a day to review. I am unwell and would be offline most of the day. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Reviewing the proposals. I need to verify the condition once, and then will decide which proposal to use. We definitely don’t want to use setTimeout, and I am sure removing the reportId === condition could cause regressions. |
@kavimuru @techievivek Are you folks able to reproduce this? I haven't been able to reproduce this. Infact I get some other error (probably because I am not added to BETAS). Screen.Recording.2023-06-09.at.11.31.04.PM.mov |
@mananjadhav I just investigated this case on my local machine again, I was also not able to reproduce it. While comparing to the proposal I made against the current source code, I can see thi issue has been fixed by the PR #20335 So, this is not an issue anymore. The other issue you mentioned is a different case. I guess, there are tickets opened for fixing the over height already in many places. Not sure completely. |
@mananjadhav, @techievivek, @flaviadefaria Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@mananjadhav, @techievivek, @flaviadefaria Eep! 4 days overdue now. Issues have feelings too... |
@kavimuru @techievivek did you get a chance to look at this comment? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@mananjadhav @techievivek @flaviadefaria this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Taking a look, sorry I missed the ping. |
I am unable to reproduce this, @kavimuru Can you please try reproducing this? |
It seems like this has been fixed as mentioned here so let's go ahead and close this. |
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:
The text "Chat report" should not be displayed in the Task title position
Actual Result:
After creating a task, the text "Chat report" is temporarily displayed in the Task title position
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.22
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
2023-05-27.01-52-36.mp4
Recording.847.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685134842254209
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: