Skip to content

[HOLD #39432][$500] Report - Offline deleted message is not struck through #39307

Description

@lanitochka17

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.58-0
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/4467827
Email or phone of affected tester (no customers): natnael.expensify+3@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Navigate to any report
  2. Apply offline mode
  3. Delete a message

Expected Result:

Message should be grayed out, and struck through

Actual Result:

Message disappears

Workaround:

Unknown

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

Bug6431930_1711737045335.Screen_Recording_2024-03-29_at_9.22.11_at_night.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0123d5e156c38fe58b
  • Upwork Job ID: 1775662468195880960
  • Last Price Increase: 2024-04-03

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Mar 29, 2024
  2. melvin-bot commented on Mar 29, 2024

    @melvin-bot

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

  3. lanitochka17 commented on Mar 29, 2024

    @lanitochka17
    Author

    @strepanier03 FYI 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. nkdengineer commented on Apr 1, 2024

    @nkdengineer
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Message disappears

    What is the root cause of that problem?

    What changes do you think we should make in order to solve the problem?

    When we delete a message that isn't a thread parent message, the current request is included to handle conflicting request and then we merge the successData into Onyx after we merge the optimistic data of the request here. That is the root cause of the issue

    handleConflictingRequest: () => Onyx.update(successData),

    handleConflictingRequest?.(conflictingRequest);

    What alternative solutions did you explore? (Optional)

    We should handle merge the optimistic data of the request after we handle conflicting request

    if (optimisticData) {
    Onyx.update(optimisticData);
    }

    To do that we should move this block after we push the request here

  5. strepanier03 commented on Apr 3, 2024

    @strepanier03
    Contributor

    Raising this internally because I'm finding contradicting expected behavior.

    #17081

  6. strepanier03 commented on Apr 3, 2024

    @strepanier03
    Contributor

    Okay "greyed out and struck through" is the expected behavior.

  7. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Apr 3, 2024
  8. changed the title [-]Report - Offline deleted message is not struck through[/-] [+][$500] Report - Offline deleted message is not struck through[/+] on Apr 3, 2024
  9. melvin-bot commented on Apr 3, 2024

    @melvin-bot
  10. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Apr 3, 2024
  11. 39 remaining items

  12. strepanier03 commented on Jun 26, 2024

    @strepanier03
    Contributor

    VSB is on hold. Thinking of moving this to monthly.

  13. strepanier03 commented on Jul 17, 2024

    @strepanier03
    Contributor

    Moving to monthly for now.

  14. strepanier03 commented on Sep 3, 2024

    @strepanier03
    Contributor

    Going to retest this, it's been quite some time since it was created and tested.

  15. strepanier03 commented on Sep 3, 2024

    @strepanier03
    Contributor

    On v9.0.28-2, I am unable to repro. Going offline and deleting a message strikes the message through as expected.

    image

    I'm going to close this out as already fixed. Reopen if you disagree.

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions