Jim's compact card covers the right side of Add a case and Test results
Maintainer antworten meist innerhalb von 1 Tag
@EnjouWang arbeitet bereits daran.
Seit 21.11.2026.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 72/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- css, javascript, playwright, rust
- Bereich
- accessibility, frontend
Rechercherichtung
Start with .jim-stage.compact in web/styles.css and #test-drawer in web/interview.html; compare how issue #512 reserves space for the editor. Reproduce at 1100x800 and inspect the drawer’s scrolling behavior. Done when all Add a case and Test results content can be read and reached without being covered by Jim’s card.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Observed behavior
When Jim's stage is the compact card, below 1200 px wide or beside a narrow editor panel, the card floats over the bottom-right corner of the editor panel, and that corner holds the test drawer. At a 1100x800 viewport after Run tests, the card spans x 816 to 1076 and y 607 to 776, while #test-drawer spans x 393 to 1083 and y 467 to 756, so the right 260 px of the lower part of the drawer are under the card: the right side of the failed cases and of their input, expected and got boxes. Before a run the drawer is shorter and the card covers the right side of the Add a case row instead. In a live interview the card is taller, since it also holds the self-view and the captions, and covers more of the drawer.
Expected behavior
Every part of Add a case and Test results can be read and reached without hiding Jim's card, as the editor can after the change for #512. The maintainer narrowed #512 to the editor and asked for the test drawer to be tracked separately; this issue is that follow-up.
Reproduction
- Open an interview with any problem, for example Chargeback Pair Match in Python, in a window 1100 px wide and 800 px tall, or set the Chrome DevTools device toolbar to 1100x800 at 100% zoom.
- Close the setup check and press Run tests.
- Look at the compact card in the bottom-right corner: it covers the right side of the test results.
CodeTrial version
codetrial 0.1.0 (d349a7e), also seen at e12e406
Environment
OS: Ubuntu 24.04 on WSL2, Windows host
Browser: headless Chromium through Playwright for d349a7e; Chrome on Windows with its fake camera and microphone for e12e406
Language: Python
Interview loop: Practice
Problem: Chargeback Pair Match (first screenshot), Orbital Energy Window (second screenshot)
REACTO or STAR step: any; the layout does not depend on it
Reconnect: none
Sanitized evidence
The first screenshot is the interview page of main at d349a7e, 1100x800, after Run tests. The second is the app at e12e406, 1100x800, where the card also holds the self-view (Chrome's fake camera).
Initial analysis: .jim-stage.compact (web/styles.css:1131 at d349a7e) fixes the card to the bottom-right corner of the window, and #test-drawer (web/interview.html:401) sits below .editor-stack in the same panel, so nothing keeps the drawer's content out from under the card. The change for #512 reserves the card's overlap inside the editor only.
Proposed change
The drawer reserves what the card covers of it, as the editor does after #791; the card stays where it is. reserveJimStageInEditor() already measures the compact card; it also writes the width beside the card, plus the same 6 px gap, as right padding on #candidate-case and #results-body whenever the card overlaps them. Both are ordinary block boxes, so unlike the editor's textarea their right padding narrows what they hold: each result's pre ends before the card, so a long input, which has no spaces to wrap at, scrolls inside it instead of running under the card, and the Expected JSON field moves below Input JSON when the two no longer fit side by side. The bottom is never the cheaper side at the sizes below (at 1100x800 the card covers 149 of the 224 px of #results-body, against 267 of its 690 px width), so only the width is reserved. A card over half the drawer's width, as on a phone, reserves nothing, since #791 already gives the page room to scroll the drawer above it.
Expected output
Measured in headless Chromium at #791's head (0c683f33), on Chargeback Pair Match in Python, with a case added whose input is 90 numbers long ([[0,7,14,...,623],623]) and Expected JSON [88,89], then Run tests and #results-body scrolled to its end. A box is clear when it ends at least 3 px left of the card or above its top. The "after" column is a prototype that pads both boxes by the width beside the card plus 6 px.
| Viewport | Card | Expected JSON field, now | Your case 1's pre, now |
After |
|---|---|---|---|---|
| 1100x800 | x 816-1076, y 607-776 | clear | to x 1058, under the card | field clear; pre to x 801 |
| 1100x800, self-view and a six-sentence caption | x 816-1076, y 433-776 | x 734-1022, y 547-583, under the card | to x 1058, under the card | field below Input JSON, x 409-697; pre to x 801 |
| 1100x600, self-view and caption | x 816-1076, y 233-576 | x 734-1022, y 347-383, under the card | to x 1058, under the card | field below Input JSON, x 409-697; pre to x 801 |
| 1000x700, sidebar stacked, page scrolled to its end | x 716-976, y 507-676 | clear | to x 958, under the card | pre to x 701 |
| 1199x900 | x 915-1175, y 707-876 | clear | to x 1157, under the card | pre to x 900 |
| 390x844, self-view and caption | spans the window | clear | clear, through #791's page room | unchanged |
The card's position and size, and the editor's reservation, do not change.
Validation plan
- A browser test in
tests/browser/interview-layout.test.js, one case per row above: add the long case, run the tests, scroll#results-bodyto its end, and assert that everyprein view there is clear of the card; with Add a case open, assert that#candidate-case-input,#candidate-case-expectedand the Add case button are clear of it. It fails on the five desktop rows without the change and passes on the phone row either way. - Mutants: removing the drawer's padding, the gap, or the half-width condition each fails at least one row.
- Before and after screenshots at 1100x800 with the long case, in the PR.
docs/avatar-contract.md("Placement and pose") extends the editor's paragraph to the drawer.
The change builds on reserveJimStageInEditor() from #791, so its branch starts after #791 is merged.
Public data confirmation
- I removed credentials, session tokens, candidate recordings, and personal interview content from this public report.
- Vorherrschende Sprache
- Rust
- Sterne
- 236
- Forks
- 153
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 187
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus sysprog21/codetrial
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
Unify Java harness validation error messagesEvtl. vergeben @weichieh0204 hat das heute übernommen. Offen
sysprog21/codetrial#872 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Inferred void class operations are never checked against the starter's return typeEvtl. vergeben @papaya0112 hat das heute übernommen. Offen
sysprog21/codetrial#871 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwriteEvtl. vergeben @BOBOGUAGUA428 hat das heute übernommen. Offen
sysprog21/codetrial#869 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in sysprog21/codetrial
Ähnliche Issues
-
BUG: WebGPU finds no adapter on Linux when a DRM card has no vendor file (ONNX Runtime 1.24.4)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
CyberTimon/RapidRAW#2303 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[bug] NSIS installer reads its flags from $CMDLINE, so an unquoted forward-slash path (e.g. C:/Projects/...) triggers passive mode and skips the licence pageEvtl. vergeben @YusufMntm hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
tauri-apps/tauri#16660 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
manaflow-ai/cmux#59692 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Retire stale Python-parity labels in Rust ingress and auth testsEvtl. vergeben @github-actions hat das heute übernommen. Offenfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
JoshCLWren/comic-pile#5874 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
status:ready unit
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
nonagenticai/conveyor#787 ·
Maintainer antworten meist innerhalb von 1 Tag