[Bug]: Settle shortcut keeps the settled thread open instead of moving to the next thread

Cerrado Apto para principiantes
#16,090 2 comentarios 0 reacciones 0 asignados Ver en GitHub

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
78/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Empieza por el controlador thread.settle en apps/web/src/components/ChatView.tsx y compáralo con el flujo de finalizar y navegar en apps/web/src/components/Sidebar.tsx, que llama a planForwardNavigation. Comprueba también la acción del menú del hilo en apps/web/src/hooks/useThreadActionMenu.ts. Se considera terminado cuando finalizar mediante el atajo lleva al siguiente hilo activo, o abre un nuevo borrador en el mismo proyecto si no queda ninguno.

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

Descripción

bug via-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Open a thread in the active list of the sidebar (web or desktop).
  2. Press the thread.settle shortcut (mod+shift+s by default).
Expected behavior

The app settles the thread and opens the next active thread, the same as the sidebar Settle button or a drag onto the Settled header. If no active thread remains, it opens a new draft in the same project.

Actual behavior

The app settles the thread but keeps it open. To continue, you must select the next thread by hand.

The sidebar paths call planForwardNavigation (apps/web/src/components/Sidebar.tsx) before they settle and navigate after the settle succeeds. The shortcut handler in apps/web/src/components/ChatView.tsx (command === "thread.settle") calls settleThread only. Settle thread in the thread menu (apps/web/src/hooks/useThreadActionMenu.ts) also does not navigate.

Impact

Minor bug or occasional failure

Version or commit

main @ 1604ccc9d7

Environment

macOS, T3 Code desktop

Workaround

Use the Settle button on the sidebar row instead of the shortcut.

Lenguaje dominante
TypeScript
Estrellas
24.8k
Forks
6.4k
Merge medio
14 h 12 min
PR fusionados (30 d)
194

Preparar el entorno

Abrir en Codespaces

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

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 pingdotgg/t3code

Todos los issues de pingdotgg/t3code

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.