[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument page
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Parti dal componente di pagina /coach/strengthen-argument e trova dove viene renderizzato il titolo dell'affermazione di apertura debole — la stringa "for" è codificata in modo fisso immediatamente prima del valore di stance, quindi rimuovila o rilavorala. Poi individua il modal Feedback che renderizza la risposta dell'IA e dividi le sezioni Strengths: e Area for Improvement: su righe separate e allineate a sinistra invece che in un unico blocco centrato. Fatto significa che entrambe le stance (For e Against) si leggono correttamente e il modal mostra sezioni strutturate; riproduci tramite i passaggi nel report prima e dopo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 107
- Fork
- 263
- Merge medio
- 7h 54m
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AOSSIE-Org/DebateAI
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failuresForse già presa @mithunkc017-ship-it l’ha presa 3 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
AOSSIE-Org/DebateAI#798 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Live Debate Rooms page overflows horizontally on mobile screensForse già presa @SYED-IRTEZA-HUSSAIN-RIZVI l’ha presa 2 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
AOSSIE-Org/DebateAI#797 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
AOSSIE-Org/DebateAI#784 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Coach Service Updates Non-Existent Field (total_points vs score)Forse di nuovo libera @Basharkhan7776 l’ha presa 22 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
AOSSIE-Org/DebateAI#773 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: IDOR : Missing Ownership Check in ConcedeDebateForse di nuovo libera @Basharkhan7776 l’ha presa 22 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
AOSSIE-Org/DebateAI#772 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di AOSSIE-Org/DebateAI
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagForse già presa @bardrop l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
nbd-wtf/nostr-tools#578 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
backnotprop/plannotator#3427 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 2 giorni