Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Conversation drawer shows the previous attack's conversations after switching attacks

Abierto Apto para principiantes
#3,575 2 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 2 días

@ManoharPaturi ya está trabajando en esto.

Desde el 27/10/2026.

  • #3576 de @ManoharPaturi — abierto
  • #3583 de @TrinityBerserker — cerrado sin fusionar

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
78/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
react, typescript
Área
frontend

Línea de trabajo

Empieza en ConversationPanel.tsx y sigue el restablecimiento durante la fase de renderizado y el estado de la solicitud de conversaciones cuando cambia attackResultId. Borra las conversaciones, el ID principal y el error del ataque anterior, y mantén visible el estado de carga hasta que se resuelva la nueva solicitud. Verifícalo cambiando entre ataques con conversaciones abiertas y confirmando que no aparezcan filas ni acciones anteriores durante la carga.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Description

The conversation panel keeps a single component instance across attack switches, and its state reset block only clears the loaded conversations when the new attack id is null. Switching from one attack to another therefore leaves the previous attack's conversation list rendered under the new attack's header until the new fetch resolves, with no loading indicator.

During that window a row click hands the old attack's conversation id to the new attack's context, and the star action can promote an old attack's conversation as the new attack's main conversation. The Chat route keeps the panel mounted across attack changes and forces the drawer open whenever related conversations exist, so the stale window is directly reachable by navigating between attacks.

Expected Behavior

Switching attacks should clear the previous attack's conversations, clear the main id and error, and show the loading state until the new attack's conversations resolve, mirroring the mount behavior.

Reproduction Steps

  1. Open an attack with conversations and the conversation drawer open.
  2. Navigate to a second attack.
  3. The drawer immediately shows the first attack's conversations under the second attack's header.

Minimal Reproduction

The render phase reset in ConversationPanel.tsx gates every setter behind if (!attackResultId).

Environment

PyRIT main.

Lenguaje dominante
Python
Estrellas
4.7k
Forks
980
Merge medio
2 d 9 h
PR fusionados (30 d)
422

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/PyRIT

Todos los issues de microsoft/PyRIT

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.