-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Paid - HOLD for BE fix] Search bar - Another error message for a short time when opening archived chat from search bar #26657
Comments
Triggered auto assignment to @sakluger ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Search bar - Another error message for a short time when opening archived chat from search bar What is the root cause of that problem?This error is not happening just on the search it happens when the reportActions are not save in the browser Onyx IndexDB. The first call it will return null to inititialize and make the component is the dafault props in which in this case the default props brings the defailt message that we are seeing for a short time. THis is state in the Onyx Code: What changes do you think we should make in order to solve the problem?Change the defaultProps to a "charging value" mean while do nott render any message. What alternative solutions did you explore? (Optional)We wait to render if the value of |
Job added to Upwork: https://www.upwork.com/jobs/~01262419686265c297 |
Adding external label! |
Current assignee @sakluger is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search bar - Another error message for a short time when opening archived chat from search bar What is the root cause of that problem?In
if the reportAction is loading, we return the default value for What changes do you think we should make in order to solve the problem?We shouldn't wait to render if the value of archiveReason is "default", because if the archiveReason is actually default, the message can't be shown. I suggest to wait for the reportClosedAction is loaded.
we can return the empty tag (<></>) or the skeleton here |
@jscardona12's proposal doesn't feel so clear to me in the RCA and both solutions lack detail. Happy to go with @tienifr's proposal as it has the correct RCA and the solution looks good. I'd probably prefer the skeleton rather than just the empty tag. I'm not sure if we need some design input here? 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Thanks for the review, I also agree with @tienifr 's proposal 👍 Let's definitely go with the skeleton, and we can always make design improvements later. |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @MahmudjonToraqulov 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Added to vip-vsb project, since all open projects need to be associated with a wave or vip. |
Still on hold. |
Holing for backend |
still holding for BE |
@robertjchen any updates? |
@robertjchen bump. |
I'm going to move this to daily and test tomorrow to see if this is even still happening. It's been a long time and we've closed the #vip-vsb project that this was tied to, so we either need to move it to another project, or close the issue. |
@sakluger @robertjchen any updates on this issue? |
I was able to reproduce this, but the temporary error message appeared for less than a second. I honestly don't think this is worth fixing right now because most users won't be searching for archived chats, and even if they do and the wrong error message flashes briefly, it doesn't really negatively impact the user experience. Based on my reasoning above, I vote to close the issue. @jjcoffee @tienifr @robertjchen do any of you disagree? @jjcoffee I don't have a good sense of how much work was done on this issue. If we close the issue, is anyone due payment? |
@sakluger The original fix was reverted due to pending required BE changes (this comment has some context). Payment was already made on that basis, but the BE fix was never made. |
Oh yeah - I even updated the title to remind myself that this was already paid out 🤦♂️ . I'll post one more time in Slack to see if we want to finish the BE piece or if we should just close it. |
As recommended, I am moving this to |
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:
There should not appear another error message for a short time when opening archived chat from search bar
Actual Result:
Another error message for a short time when opening archived chat from search bar
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.62-4
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-capture.88.online-video-cutter.com.1.mp4
Screen-Capture.88.mp4
bandicam.2023-09-04.19-16-33-088.mp4
Expensify/Expensify Issue URL:
Issue reported by: @MahmudjonToraqulov
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692963972266199
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: