Skip to content

FEATURE REQUEST: Change [Comment deleted] display  #7646

Closed

Description

@mvtglobally

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:

  1. Navigate to any chat
  2. Delete the last comment
  3. Check LHN
  4. Observe that [Comment deleted] shows in place of the deleted comment

Expected Result:

Don't display [Comment deleted] - i.e. show the last message in thread that wasn't deleted

Actual Result:

[Comment deleted] displayed

Workaround:

N/A

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.37-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen Shot 2022-02-09 at 1 05 12 AM
Screen Shot 2022-02-09 at 1 04 52 AM

Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1644019468856869

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Feb 9, 2022

    @MelvinBot
    Contributor

    Triggered auto assignment to @sophiepintoraetz (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  2. removed
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Feb 9, 2022
  3. MelvinBot commented on Feb 10, 2022

    @MelvinBot
    Contributor

    Triggered auto assignment to @luacmartins (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. removed their assignment
    on Feb 10, 2022
  5. luacmartins commented on Feb 11, 2022

    @luacmartins
    Contributor

    We could do all the cleaning in the front-end, but I think it would be great if we also returned the correct data from the getSummaryList query. We could filter the deleted messages by including the condition below to the WHERE clause here:

    "AND JSON_EXTRACT(ra.message, '$.html') != ''"

    What are your thoughts @marcaaron (it seems that you implemented this query)?

  6. luacmartins commented on Feb 14, 2022

    @luacmartins
    Contributor

    Moving this to Weekly since it's a nice to have but not a top priority.

  7. marcaaron commented on Feb 14, 2022

    @marcaaron
    Contributor

    Ah I think there's not really any cleaning we can do in the front end. reportSummaryList only gives the last message and that's what we are using for the sidebar previews IIRC. Probably this should be Internal.

  8. added
    InternalRequires API changes or must be handled by Expensify staff
    on Feb 14, 2022
  9. MelvinBot commented on Feb 14, 2022

    @MelvinBot
    Contributor

    Triggered auto assignment to @dylanexpensify (Internal) because issue was reported by a contributor who needs to be compensated if this issue is fixed

  10. luacmartins commented on Feb 14, 2022

    @luacmartins
    Contributor

    Thanks for confirming @marcaaron!

  11. dylanexpensify commented on Feb 15, 2022

    @dylanexpensify
    Contributor

    @marcaaron I'm seeing this as reported by DB, so no upwork job needed until/if we apply external, right?

  12. luacmartins commented on Feb 15, 2022

    @luacmartins
    Contributor

    @dylanexpensify that makes sense! Thanks for checking on that.

  13. marcaaron commented on Feb 15, 2022

    @marcaaron
    Contributor

    @marcaaron I'm seeing this as reported by DB, so no upwork job needed until/if we apply external, right?

    If it has an Internal label then it doesn't go to Upwork

  14. Julesssss commented on Feb 16, 2022

    @Julesssss
    Contributor

    If anyone picks this up within the next couple of days and manages to make progress, please close out this external bugfix issue that would become redundant.

    I left it open for now as it is not obvious that A) Someone will find time to prioritize this change internally, and B) that it is a simple change to make

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

Metadata

Metadata

Labels

EngineeringImprovementItem broken or needs improvement.InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions