-
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
Chat - Content is not loading after network return if the App starts while offline #12574
Comments
Triggered auto assignment to @muttmuure ( |
@muttmuure This one has come up in a couple of contexts. Let's triage this and get the process started. |
we have to update Lines 162 to 180 in 0d653ca
function reconnectApp() {
API.write('ReconnectApp', {policyIDListExcludingWorkspacesCreatedOffline}, {
optimisticData: [
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: ONYXKEYS.IS_LOADING_REPORT_DATA,
value: true,
},
+ {
+ onyxMethod: CONST.ONYX.METHOD.MERGE,
+ key: ONYXKEYS.IS_LOADING_INITIAL_APP_DATA,
+ value: true,
+ },
],
successData: [
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: ONYXKEYS.IS_LOADING_REPORT_DATA,
value: false,
},
+ {
+ onyxMethod: CONST.ONYX.METHOD.MERGE,
+ key: ONYXKEYS.IS_LOADING_INITIAL_APP_DATA,
+ value: false,
+ },
],
failureData: [
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: ONYXKEYS.IS_LOADING_REPORT_DATA,
value: false,
},
+ {
+ onyxMethod: CONST.ONYX.METHOD.MERGE,
+ key: ONYXKEYS.IS_LOADING_INITIAL_APP_DATA,
+ value: false,
+ },
],
});
} |
@muttmuure Eep! 4 days overdue now. Issues have feelings too... |
I can reproduce so adding engineering |
Triggered auto assignment to @amyevans ( |
cc @marcaaron I think this is mentioning your PR, what do you think of the proposal, as you might have more insight into this. |
I think we should just revert my PR here. It's more important for the offline behavior to work than the new marker behavior to work. My solution to fix it was flawed and should be reverted. |
Yeah, agreed that the new marker behavior is less important, thanks @marcaaron! |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
I had reported an issue here as a regression related to skeleton ui and it got resolved by the PR(link) of this issue. so I believe I am eligible for the reporting bonus. |
@muttmuure sorry did most of the BZ checklist for you already 🥲 |
@Tushu17 the first report is here from Carlos - https://expensify.slack.com/archives/C01GTK53T8Q/p1667839756928309 - so this doesn't seem eligible for the reporting bonus this time. I'm going to close out. Let me know if you disagree! |
Hi, @muttmuure that wasn't a bug you can see the convo here, it was marked as "not a bug" because it was just a dev build problem. |
@muttmuure this is eligible for C+ review of internal PR. Can you please help with the same ? cc - @marcaaron |
@muttmuure Can you issue payment for @mananjadhav. Thanks! |
@muttmuure Quick bump on this, can you help with the payout? |
@mananjadhav can you apply here please? https://www.upwork.com/jobs/~011aef35eb61fef46b |
@JmillsExpensify, I'm also eligible for reporting bonus. |
@Tushu17 Same link above should work for you. |
@JmillsExpensify I deleted an incorrect comment earlier. The paid out comment was for another issue. I am unable to apply to this job. It says |
Just invited you. Upwork is being difficult 😄 |
Haha! Applied @JmillsExpensify |
Offers just sent to both C and C+ |
Everyone should be handled now. Regression test also already exists, so I think we're done here. Closing! |
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 user should see the content in chats (that he visited before) when starting offline
Actual Result:
Content is not loading after network return if the App starts while offline
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.25.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5812700_offline_content.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: