[Bug]: Diff panel hides the current branch name and the arrow overlaps the base ref when the panel is narrow
Los mantenedores suelen responder en 1 dí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
Empieza en apps/web/src/components/DiffPanel.tsx, donde la referencia head y la flecha están dentro de un disparador de tooltip con min-w-0, y comprueba si ese contenedor puede encogerse hasta ancho cero. Reproduce el problema estrechando el panel Diff derecho con un contador +N −N ancho, y luego confirma que el span con truncate y la flecha con shrink-0 se comportan como describe el issue. Terminado cuando el nombre de la rama se trunque con puntos suspensivos y la flecha ya no se superponga con el botón de la referencia base.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Open a thread whose branch has a large diff against its base, so the
+N −Ncount is wide (mine showed+134k −104). - Open the right Diff panel with the Changes scope, comparing against
origin/main. - Keep the right panel fairly narrow.
Expected behavior
The toolbar reads main → origin/main. If space runs out, the branch name truncates with an ellipsis (ma… → origin/main).
Actual behavior
The current branch name disappears completely, and the arrow is drawn on top of the first letter of the base ref. The toolbar shows →origin/main with the arrow overlapping the "o".
Impact
Cosmetic issue
Version or commit
Desktop nightly; server 0.0.46-nightly.20261013.3053
Environment
macOS desktop app connected to a T3 Code server running on Linux
Logs or stack traces
Not a crash, no logs.
Possible cause, from reading the code (not tested): in apps/web/src/components/DiffPanel.tsx
the head ref and arrow sit inside a `min-w-0` tooltip trigger. When the row runs out of room,
that wrapper can shrink to zero width, so the head ref's `truncate` span collapses to nothing
and the `shrink-0` arrow overflows onto the base-ref button.
Screenshots, recordings, or supporting files
Workaround
None verified.
- Lenguaje dominante
- TypeScript
- Estrellas
- 24.8k
- Forks
- 6.4k
- Merge medio
- 7 h 9 min
- PR fusionados (30 d)
- 244
Preparar el entorno
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
- 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 pingdotgg/t3code
-
[Bug] Windows repository cloning fails while creating an existing drive rootPosiblemente ocupada @pujitha24 la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
[Bug]: iOS still shows "Failed to connect. Retrying" on every resume (follow-up to #5695)Posiblemente ocupada @otavio la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[Bug]: Server git tests sign fixture commits with the developer's key when run from the repo rootPosiblemente ocupada @Mnigos la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de pingdotgg/t3code
Issues similares
-
Contrib indemnité de départ à la retraite : faire le pont avec le simulateur sur la page génériqueAbiertoP1
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
SocialGouv/code-du-travail-numerique#7561 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
kubernetes-sigs/headlamp#7950 ·
Los mantenedores suelen responder en 3 días
-
README for cliPosiblemente ocupada @Janvi-kapoor la tomó hoy. AbiertoOSCI'26
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
GauravKarakoti/SecureFlow#1308 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
vitest-dev/vitest#11577 ·
Los mantenedores suelen responder en 1 día