Closed kbecciv closed 3 days ago
Triggered auto assignment to @madmax330 (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open Staging deploy checklist to see the list of PRs included in this release, then work quickly on the following:
Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
We think that this bug might be related to #wave-collect - Release 1
Very likely App instead of web.
I also think this is not an App blocker as this only occurs while offline. Lets get this fixed at a lower priority
Triggered auto assignment to @JmillsExpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Looking into this as we speak since I authored PR https://github.com/Expensify/App/pull/41448. Will get back with a response regarding whether this was caused by my PR and if so I'll handle the follow-up.
I cannot reproduce this, it works for me with the given steps. I tried offline mode from Troubleshoot and also from browser Networking tab and both works for me on latest main (local dev) (see video below).
[!note] It doesn't make much sense that this would be related to my PR as long as the out-of-view message is correctly marked as unread by BE before going offline.
This is why I'm thinking that since this was tested on the staging server where we're currently experiencing BE issues with API's having delays, this could cause the new marker to not be set in the first place. See https://github.com/Expensify/App/issues/42063 for reference (which was also mistaken as a regression of my PR).
https://github.com/Expensify/App/assets/56457735/7e93aee4-470d-4f5f-86e7-4096210ceb98
cc @Julesssss
Regardless, we decided to revert the PR -> more context @ https://github.com/Expensify/App/issues/35011#issuecomment-2110989063.
Thanks for explaining. We'll retest once the site is stable.
After thinking about what happens when navigating to a report while online vs offline, I confirm that this was indeed caused by the now-reverted PR and here's why:
OpenReport
API call is triggered.sortedVisibleReportActions
in the useEffect dependency array, when OpenReport
succeeds -> sortedVisibleReportActions
is updated -> re-running the effect -> scrolling to the new unread marker.OpenReport
API call is NOT triggered -> scroll doesn't happen while offline.Thanks for explaining. We'll retest once the site is stable.
[!note] Given that the
NewFeature
PR was reverted, this issue should be closed since the chat won't scroll anymore because the new feature functionality was reverted.
This issue has not been updated in over 15 days. @JmillsExpensify, @Julesssss eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
I'm working on the 2nd PR's functionality, will update again once PR is ready for review.
This should be closed since it was reported as regression from PR https://github.com/Expensify/App/pull/41448 which was reverted. So this shouldn't be an issue anymore since the functionality doesn't exist.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.72-0 Reproducible in staging?: y Reproducible in production?: n Issue found when executing PR : https://github.com/Expensify/App/pull/41448 Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
App automatically scrolls to the first unread message
Actual Result:
App fails to scroll user to the first unread message while in offline mode
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/06e4c18b-260f-4895-a46e-c4e2643206c3
https://github.com/Expensify/App/assets/93399543/d9513293-65be-488c-bea8-65812198b127
View all open jobs on GitHub