Transcript tab does not scroll to new turns
Les mainteneurs répondent en général sous 1 jour
Évaluation
Cette issue n'a pas encore été évaluée.
Description
When the transcript is longer than the Transcript tab, new turns are added below the visible area and the panel does not move. To read what Jim just said, the candidate has to scroll down by hand after every turn.
Step with release codetrial 0.1.0 (b2c2bc9), Chrome 156, Windows 11:
- Start an interview and open the Transcript tab.
- Talk with Jim until the transcript overflows the panel.
- Keep talking without touching the panel.
While the transcript grew from 6 to 14 entries, scrollHeight went from 997 to 2266, scrollTop stayed at 334, and no scroll event fired. The newest entry was never visible.
Cause: #transcript-panel scrolls because of the .side-panel and .interview-sidebar .side-panel rules in web/styles.css, which were written for the problem panel. createTranscriptView in web/render.js never sets scrollTop, and selectTab in web/interview.js only toggles visibility.
Proposal: follow new turns by default, stop when the candidate scrolls up, and resume when they scroll back to the bottom. A growing interim line also stays in view. While the tab is hidden the follow state does not change, and opening the tab shows the end if it was following. Only panel.scrollTop is set, so the page itself does not scroll.
Questions:
web/captions.jshasCAPTION_END_SLACK_PXfor the same at-end check, but it is not exported. Should I export it, or define a separate constant inweb/render.js?- Should this rule go in the Captions section of
docs/avatar-contract.md, or somewhere else?
Tests: unit tests in tests/browser/render.test.js, and a Playwright test at 1280x720 and 900x700.
If this scope is acceptable, please assign this issue to me.
- Langage dominant
- Rust
- Étoiles
- 223
- Forks
- 148
- Merge moyen
- 1 j 7 h
- PR mergées (30 j)
- 225
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de sysprog21/codetrial
-
Show recorded scores in past attempt rowsPeut-être pris @liehcheng l’a pris il y a 1 jour. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
sysprog21/codetrial#604 · 4 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Add keyboard shortcuts for whiteboard toolsPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Let candidates filter problems to their saved listPeut-être pris @hszzt l’a pris il y a 1 jour. Ouverte
sysprog21/codetrial#616 · 1 commentaire · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Report credits an inaccurate problem restatement as a strengthPeut-être pris @jserv l’a pris il y a 1 jour. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
sysprog21/codetrial#613 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de sysprog21/codetrial
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
n0-computer/iroh#4669 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
rubys/roundhouse#1950 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
cloudflare/workers-rs#1130 ·
Les mainteneurs répondent en général sous 11 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 69/100
vfarcic/dot-agent-deck#2160 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
RustCrypto/utils#1597 ·
Les mainteneurs répondent en général sous 1 jour