-
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
Look into making report display name generation more efficient #11609
Comments
Triggered auto assignment to @michaelhaxhiu ( |
@tgolen would it be best to close this for and make an #expensify-open-source discussion/proposal? And then depending on what we discover there, we create a GH to handle next steps? Just asking because as a triager, I'm struggling to assess my next step until this is definitively framed as a |
An alternative is to un-assign triage until it's ready for being pushed through the assignment flow. I'll leave it assigned for a few days till you have a moment to consider. |
@tgolen report names can also be changed manually (in the case of user created rooms) so I'd add that case to the list I like the idea of sending this from the backend as a new Overall, I think it is reasonable to send an updated |
@michaelhaxhiu I think this is just a cleanup task that I'll work on internally. Sorry, I usually remember to omit the |
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
BugZero Checklist: The PR fixing this issue has been merged! The following checklist will need to be completed before the issue can be closed: The top for items here are N/A since this issue was not a bug and therefore would not have any regression linked to it.
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Yeah, I confirmed that the PR from this caused the regression. It was a spot I missed in the code when I changed a method signature. |
Triggered auto assignment to @NicMendonca ( |
I'm reassigning the bug label to have someone from the BZ team close this out. |
@tgolen is there a PR that would have introduced this GH? |
@tgolen, @NicMendonca Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Sorry @NicMendonca I missed the updates to this. I think this issue is a little confusing. For the purposes of closing this out, this issue was not a bug and so there could be no regression. It was just a code cleanup. I think for the BugZero checklist, the remaining checkboxes are all "N/A" and it's OK to close this. |
Coming from #11226 (comment)
Problem
There is code that generates the display name of a report. This code may be non-performant at scale and turn into a bottle neck.
Solution
Consider some solutions:
@marcaaron I'm particularly interested in your thoughts on solution
2
. The report name will only change when:Because of point
4
, maybe that's the best reason to keep the display name generation on the client and to use solution 1 or 3 above?The text was updated successfully, but these errors were encountered: