[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument page
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Comienza desde el componente de página /coach/strengthen-argument y encuentra dónde se renderiza el encabezado del enunciado de apertura débil — la cadena "for" está hardcodeada justo antes del valor de stance, así que elimínala o reestructúrala. Luego localiza el modal de Feedback que renderiza la respuesta de la IA y divide las secciones Strengths: y Area for Improvement: en líneas separadas y alineadas a la izquierda en lugar de un único bloque centrado. Hecho significa que ambas stances (For y Against) se lean correctamente y que el modal muestre secciones estructuradas; reproduce con los pasos del informe antes y después.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 107
- Forks
- 263
- Merge medio
- 7 h 54 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AOSSIE-Org/DebateAI
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failuresPosiblemente ocupada @mithunkc017-ship-it la tomó hace 3 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
AOSSIE-Org/DebateAI#798 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG]: Live Debate Rooms page overflows horizontally on mobile screensPosiblemente ocupada @SYED-IRTEZA-HUSSAIN-RIZVI la tomó hace 2 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
AOSSIE-Org/DebateAI#797 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
AOSSIE-Org/DebateAI#784 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG]: Coach Service Updates Non-Existent Field (total_points vs score)Quizá libre de nuevo @Basharkhan7776 la tomó hace 22 días y no hay ningún pull request abierto. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
AOSSIE-Org/DebateAI#773 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG]: IDOR : Missing Ownership Check in ConcedeDebateQuizá libre de nuevo @Basharkhan7776 la tomó hace 22 días y no hay ningún pull request abierto. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
AOSSIE-Org/DebateAI#772 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de AOSSIE-Org/DebateAI
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagPosiblemente ocupada @bardrop la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nbd-wtf/nostr-tools#578 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
backnotprop/plannotator#3427 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 2 días