[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument page
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
/coach/strengthen-argument のページコンポーネントから始め、弱い冒頭文の見出しがレンダリングされている箇所を見つけてください — 文字列 "for" が stance 値の直前にハードコードされているので、それを削除するか作り直してください。次に、AI 応答をレンダリングする Feedback モーダルを見つけ、Strengths: と Area for Improvement: のセクションを、1 つの中央揃えブロックではなく、別々の左揃えの行に分割してください。完了条件は、両方の stance(For と Against)が正しく読め、モーダルが構造化されたセクションを表示することです。変更前と変更後に、レポートの手順で再現してください。
索引モデルが issue の本文から書いたものです。
説明
Bug Description
Description
While using the Coach > Strengthen Argument feature, there are two UI/UX issues that affect readability and grammar:
- Duplicate preposition in section heading: The heading renders as
"Weak Opening Statement for for the topic..."(when selecting For) or"Weak Opening Statement for against the topic..."(when selecting Against), because"for"is hardcoded right before the stance variable. - Unformatted feedback modal text: In the evaluation modal, the AI feedback (
Strengths:andArea for Improvement:/ numbered points) is rendered as a single center-aligned wall of text without line breaks or structured layout, making it difficult to read.
Steps to Reproduce
- Navigate to Coach > Strengthen Argument (
/coach/strengthen-argumentor via the Coach menu). - Select any debate topic and choose a stance (For or Against), then generate a weak opening statement.
- Observe the heading above the generated statement (
"Weak Opening Statement for for..."/"for against..."). - Enter an improved argument and click Submit Your Argument.
- Observe the unformatted, center-aligned text block inside the Feedback modal.
Expected Behavior
- The heading should read cleanly without duplicate prepositions (e.g.,
"Weak Opening Statement (For) on the topic..."or"Weak Opening Statement for the topic..."). - The feedback modal should parse and display
StrengthsandArea for Improvementas structured, left-aligned sections or bullet points.
Screenshots
I have reproduced this locally and would like to work on a PR to fix it. Could you please assign this issue to me? @Ri1tik @bhavik-mangla
Steps to Reproduce
No response
Logs and Screenshots
No response
Environment Details
No response
Impact
Low - Minor inconvenience
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- TypeScript
- スター
- 107
- フォーク
- 263
- 平均マージ
- 7時間 54分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/DebateAI のほかの issue
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failures対応中かも @mithunkc017-ship-it が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AOSSIE-Org/DebateAI#798 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Live Debate Rooms page overflows horizontally on mobile screens対応中かも @SYED-IRTEZA-HUSSAIN-RIZVI が 2 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AOSSIE-Org/DebateAI#797 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
AOSSIE-Org/DebateAI#784 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Coach Service Updates Non-Existent Field (total_points vs score)再び着手できるかも @Basharkhan7776 が 22 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
AOSSIE-Org/DebateAI#773 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: IDOR : Missing Ownership Check in ConcedeDebate再び着手できるかも @Basharkhan7776 が 22 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
AOSSIE-Org/DebateAI#772 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/DebateAI の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtag対応中かも @bardrop が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
nbd-wtf/nostr-tools#578 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
backnotprop/plannotator#3427 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信