RocketChat / RocketChat/Apps.QuickReplies

[Bug] : AI reply modal don't have last users message

Open
#40 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
7
Forks
21
PR merge metrics
No merged PRs in 30d

Description

What happened?

The bug relies in the /quick ai modal as when you open the modal, It has the last room message in the modal to create Ai based reply rather then Last message of the other user

Steps to reproduce
  1. use /quick ai command
  2. notice when the modal opens it has last room message in the modal to generate AI reply for
Relevant ScreenShots

https://github.com/user-attachments/assets/fa3469fa-555c-4158-9a6c-be956e254708

Here is a small demo i tried and tested this in more than two channels and faced the same issue

Version

v7.2.0

What browsers are you seeing the problem on?

Chrome

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the /quick ai command in Chrome on version v7.2.0 and inspect the modal's selected message. Trace where the modal gets the room message, then verify that it instead uses the last message from the other user. Done means the modal consistently shows that message across channels.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.