[Bug] /qs preview selection loses the active thread
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
Start with QsCommand.executePreviewItem and the existing sendMessage helper, which the issue identifies as the relevant entry points. Check how the Apps Engine thread ID is obtained from the command context, then review the regression coverage for threaded and top-level contexts in the open pull request. Done means selected replies retain the supplied thread ID while top-level replies remain top-level.
索引モデルが issue の本文から書いたものです。
説明
What happened?
When the Apps Engine supplies a thread ID to /qs, selecting a saved reply sends it as a top-level room message. QsCommand.executePreviewItem does not pass the thread ID to sendMessage, although the helper already supports it.
Steps to reproduce
- Have a saved quick reply available.
- Run
/qsfrom an existing thread and select the reply preview. - Inspect the outgoing message. With a thread ID in the slash-command context, it should be addressed to that thread. Without one, it should remain a top-level message.
Verification
Reproduced on main at fa72dc4 using a Node test with Apps Engine accessors stubbed. The outgoing message had the correct room and text but no thread ID. The top-level control passed. No live Rocket.Chat session was used.
Proposed fix
Forward context.getThreadId() to the existing sendMessage helper. I plan to include regression coverage for both contexts.
AI assistance was used for the local reproduction and report.
- 主要言語
- TypeScript
- スター
- 7
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RocketChat/Apps.QuickReplies のほかの issue
-
[Bug] AI auto-suggest accepts non-text and blank suggestions対応中かも @MuhammadFaizan-prog が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
-
[Bug] Quick reply action buttons open before the room context is saved対応中かも @MuhammadFaizan-prog が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
[Bug] Saving a quick reply can overwrite saved replies after a storage read failure対応中かも @MuhammadFaizan-prog が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
[Bug] /quick grammar posts corrected text outside the active thread対応中かも @MuhammadFaizan-prog が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
-
[Bug] Quick replies leave [room] unresolved without a recipient対応中かも @MuhammadFaizan-prog が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
RocketChat/Apps.QuickReplies の issue をすべて見る
似ている issue
-
dependencies effort: small good first issue priority: low
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
TMHSDigital/screencast-mcp#509 ·
メンテナーはふだん 1 日以内に返信
-
from-review tech-debt testing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
blamechris/chroxy#9520 ·
メンテナーはふだん 1 日以内に返信
-
area:web complexity:S priority:P2 type:chore
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nahuelcostac/agent-hub#104 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
snaglet-org/snaglet#78 ·
メンテナーはふだん 1 日以内に返信
-
agent/guide documentation help wanted stage/010-actionable
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
kubestellar/console-marketplace#1101 ·
メンテナーはふだん 1 日以内に返信