Skip to content

[HOLD #37519][$250] LHN - Group chat created via Split Bill is missing in LHN while offline #39708

Closed

Description

@kbecciv

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.60.6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4477130&group_by=cases:section_id&group_order=asc&group_id=229063
Issue reported by: Applause - Internal Team

Action Performed:

  1. Open app
  2. Disable internet connection
  3. Tap on FAB > Request Money
  4. Select Manual tab
  5. Write any amount and tap on continue button
  6. Select two attendees or more
  7. Complete the split bill
  8. Navigate to LHN
  9. If split does show, navigate to another chat to see if the split disappears.

Expected Result:

Created group chat should be displayed in LHN while user offline

Actual Result:

Created group chat via Split Bill is missing in LHN when user offline. When user returned online, the group chat will appear in LHN.

Workaround:

n/a

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6438862_1712301881251.RPReplay_Final1712301794.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017c274d12ce7633c6
  • Upwork Job ID: 1776410861693710336
  • Last Price Increase: 2024-04-06

Activity

  1. added
    Daily
    Bug
    on Apr 5, 2024
  2. melvin-bot commented on Apr 5, 2024

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. kbecciv commented on Apr 5, 2024

    @kbecciv
    Author

    @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.

  4. added
    External
    on Apr 6, 2024
  5. melvin-bot commented on Apr 6, 2024

    @melvin-bot
  6. 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
  7. added
    Help Wanted
    on Apr 6, 2024
  8. melvin-bot commented on Apr 6, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

  9. mallenexpensify commented on Apr 6, 2024

    @mallenexpensify
    Contributor

    Added to the OP cuz my repro was a lil different

    1. If split does show, navigate to another chat to see if the split disappears.

    @mananjadhav , let me know if you don't think this can be external.

  10. nkdengineer commented on Apr 6, 2024

    @nkdengineer
    Contributor

    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 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 always here which is the correct value.

    What alternative solutions did you explore? (Optional)

    NA

  11. mananjadhav commented on Apr 6, 2024

    @mananjadhav
    Collaborator

    Thanks for updating the OP. I think this can be external because it's all offline but I'll check this on Monday.

  12. 4 remaining items

  13. mananjadhav commented on Apr 12, 2024

    @mananjadhav
    Collaborator

    @mallenexpensify I think we should we should this one for #37519. I think fixing the linked issue should resolved this.

  14. 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
  15. added
    Weekly
    and removed
    Help Wanted
    Daily
    on Apr 12, 2024
  16. mallenexpensify commented on Apr 12, 2024

    @mallenexpensify
    Contributor

    Thanks @mananjadhav , done. Removed Help Wanted and bumped to weekly.

  17. mallenexpensify commented on Apr 23, 2024

    @mallenexpensify
    Contributor
  18. mananjadhav commented on May 7, 2024

    @mananjadhav
    Collaborator

    I think we're good to close this one. The linked PR fixes this and has been deployed to production.

  19. mananjadhav commented on May 8, 2024

    @mananjadhav
    Collaborator

    Quick bump @mallenexpensify

  20. mallenexpensify commented on May 9, 2024

    @mallenexpensify
    Contributor

    Thanks @mananjadhav , I'm able to confirm the group chat shows in LHN on Web-Chrome-Staging
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions