Skip to content

Mentions inadvertently reply to latest comment #101

@uamv

Description

@uamv

Bug description

When mentioning a user within the comment of a discussion, if that user has a previous comment on the discussion, then the comment is posted in reply to their latest comment rather than as a top-level reply to the discussion. I would expect when replying to the OP (even when mentioning a user), that my comment would remain in reply to the discussion rather than being re-assigned as a reply to the user's previous comment. In many cases, I am wanting to mention the user, opening a new thread of comments on the discussion not related to their most recent comment in the thread.

I have not tested how comment assignment is handled when mentioning multiple users that may have made a previous reply.

Steps to reproduce

  1. Create discussion with User A
  2. Comment on discussion with User B
  3. Comment on discussion with User A mentioning User B
  4. See that comment is posted as reply to User B's comment rather than to primary discussion post.

Logs

Environment

Environment .....................................................
  Application Name ............................... [redacted]
  Laravel Version ......................................... 11.48.0
  PHP Version .............................................. 8.4.16
  Composer Version .......................................... 2.9.2
  Environment .......................................... production
  Debug Mode .................................................. OFF
  URL ............................................ [redacted]
  Maintenance Mode ............................................ OFF
  Timezone .................................................... UTC
  Locale ....................................................... en
  Waterhole Version ........................................ v0.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions