Add a “Jump to latest” button to the Transcript panel
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- accessibility, frontend, testing
Línea de trabajo
Start by reading the implementation and tests for transcript auto-following from issue #592 and PR #615, then locate the Transcript panel and its scroll position checks. Add the button visibility and interaction described here, and extend tests for keyboard use, preserved reading position, tab switching, and narrow viewports. Done means the button appears only when away from the bottom and returns the panel to the latest turn while resuming following.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem description
During a solo interview, users may open the Transcript tab and scroll up to review Jim’s earlier questions or their own answers.
The transcript currently pauses automatic following when the user scrolls up, preserving their reading position. This behavior is appropriate, but users must manually scroll to the bottom when they want to return to the latest conversation. There is no direct action for doing so.
As the interview continues and the transcript grows longer, returning to the latest conversation requires additional interaction. It is also less apparent that automatic following is currently paused.
Steps to reproduce
- Start a solo interview and open the Transcript tab.
- Continue the conversation until the transcript exceeds the panel height.
- Scroll up to read earlier turns.
- After new turns arrive, try to return to the latest conversation.
- The user must manually scroll to the bottom to see the latest turns and resume automatic following.
Current behavior
- The transcript follows the latest conversation by default.
- Scrolling up preserves the user’s reading position.
- Manually scrolling back to the bottom resumes automatic following.
- The panel has no Jump to latest button.
Expected behavior
- Show a Jump to latest button when the transcript is scrollable and the user is away from the bottom.
- Activating the button scrolls the Transcript panel to the bottom, resumes automatic following, and hides the button.
- Manually scrolling to the bottom also resumes automatic following and hides the button.
- New turns preserve the user’s position while they are reading earlier content, allowing them to choose when to return.
- The button supports keyboard interaction and remains usable at narrow viewport widths.
Proposed solution
Add a button near the Transcript panel that remains visible while the user is away from the bottom. Reuse the existing bottom-position checks and automatic-following mechanism to control its visibility.
Activating the button should scroll only the Transcript panel and resume following subsequent turns. Its placement should avoid covering conversation content, and it should have clear text and an accessible name.
Planned tests
New feature tests: button visibility and interaction
- The button is hidden when the transcript is empty, does not overflow, or is already at the bottom. Scrolling up away from the bottom shows the button.
- Activating the button reaches the bottom and hides it. The panel continues following subsequent turns.
- The button can be reached with Tab and activated with Enter or Space.
- At narrow viewport widths, the button remains visible and usable when needed, without covering conversation content.
Regression tests: reading position and automatic following
- New turns preserve the user’s position while they are reading earlier content.
- Manually scrolling to the bottom resumes automatic following and hides the button.
- Switching between the Problem and Transcript tabs preserves the existing reading position or automatic-following state, with button visibility matching the current position.
- Returning to the latest conversation scrolls only the Transcript panel, without scrolling the whole page.
Relationship to existing work
#592 and PR #615 already implemented automatic transcript following, pausing when the user scrolls up, and resuming when they return to the bottom.
This proposal builds on that behavior by adding an explicit Jump to latest action, allowing users to return directly and resume following.
If this scope is acceptable, I would like to take this issue and implement the interaction and tests described above.
- Lenguaje dominante
- Rust
- Estrellas
- 236
- Forks
- 153
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 187
Preparar el entorno
- 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 sysprog21/codetrial
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Unify Java harness validation error messagesPosiblemente ocupada @weichieh0204 la tomó hoy. Abierto
sysprog21/codetrial#872 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Inferred void class operations are never checked against the starter's return typePosiblemente ocupada @papaya0112 la tomó hoy. Abierto
sysprog21/codetrial#871 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwritePosiblemente ocupada @BOBOGUAGUA428 la tomó hoy. Abierto
sysprog21/codetrial#869 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Highway Billboard Leasing accepts a solution that greedily leases the largest offer firstPosiblemente ocupada @PeteChiang1211 la tomó hoy. Abierto
sysprog21/codetrial#868 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de sysprog21/codetrial
Issues similares
-
bug bugfix
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
storytold/photocraft#17140 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 70/100
-
bug command Java Edition protocol
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Pumpkin-MC/Pumpkin#4733 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
area:parity status:ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
neilsh/stunt-reel#1133 ·
Los mantenedores suelen responder en 1 día