You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD #37519][$250] LHN - Group chat created via Split Bill is missing in LHN while offline #39708
@mallenexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
changed the title [-]LHN - Group chat created via Split Bill is missing in LHN while offline[/-][+][$250] LHN - Group chat created via Split Bill is missing in LHN while offline[/+]on Apr 6, 2024
Please re-state the problem that we are trying to solve in this issue.
Created group chat via Split Bill is missing in LHN when user offline. When user returned online, the group chat will appear in LHN.
What is the root cause of that problem?
In here, we're incorrectly setting the notificationPreference of the optimistically created group chat to HIDDEN, which makes it hide from the LHN. This is also inconsistent with the back-end which will return notificationPreference as always for the group chat when coming online.
What changes do you think we should make in order to solve the problem?
In here, do not set the notificationPreference of the optimistically created group chat to HIDDEN, so it will fallback to alwayshere which is the correct value.
What alternative solutions did you explore? (Optional)
changed the title [-][$250] LHN - Group chat created via Split Bill is missing in LHN while offline[/-][+][HOLD #37519][$250] LHN - Group chat created via Split Bill is missing in LHN while offline[/+]on Apr 12, 2024
Activity
melvin-bot commentedon Apr 5, 2024
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.kbecciv commentedon Apr 5, 2024
@mallenexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
melvin-bot commentedon Apr 6, 2024
Job added to Upwork: https://www.upwork.com/jobs/~017c274d12ce7633c6
[-]LHN - Group chat created via Split Bill is missing in LHN while offline[/-][+][$250] LHN - Group chat created via Split Bill is missing in LHN while offline[/+]melvin-bot commentedon Apr 6, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (
External)mallenexpensify commentedon Apr 6, 2024
Added to the OP cuz my repro was a lil different
@mananjadhav , let me know if you don't think this can be external.
nkdengineer commentedon Apr 6, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Created group chat via Split Bill is missing in LHN when user offline. When user returned online, the group chat will appear in LHN.
What is the root cause of that problem?
In here, we're incorrectly setting the
notificationPreferenceof the optimistically created group chat toHIDDEN, which makes it hide from the LHN. This is also inconsistent with the back-end which will returnnotificationPreferenceasalwaysfor the group chat when coming online.What changes do you think we should make in order to solve the problem?
In here, do not set the
notificationPreferenceof the optimistically created group chat toHIDDEN, so it will fallback toalwayshere which is the correct value.What alternative solutions did you explore? (Optional)
NA
mananjadhav commentedon Apr 6, 2024
Thanks for updating the OP. I think this can be external because it's all offline but I'll check this on Monday.
4 remaining items
mananjadhav commentedon Apr 12, 2024
@mallenexpensify I think we should we should this one for #37519. I think fixing the linked issue should resolved this.
[-][$250] LHN - Group chat created via Split Bill is missing in LHN while offline[/-][+][HOLD #37519][$250] LHN - Group chat created via Split Bill is missing in LHN while offline[/+]mallenexpensify commentedon Apr 12, 2024
Thanks @mananjadhav , done. Removed
Help Wantedand bumped to weekly.mallenexpensify commentedon Apr 23, 2024
PR for what we're held on is moving along
mananjadhav commentedon May 7, 2024
I think we're good to close this one. The linked PR fixes this and has been deployed to production.
mananjadhav commentedon May 8, 2024
Quick bump @mallenexpensify
mallenexpensify commentedon May 9, 2024
Thanks @mananjadhav , I'm able to confirm the group chat shows in LHN on Web-Chrome-Staging
