Show problem difficulty in past attempt labels
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Motivation
Candidates reviewing Past attempts can see the date and time, problem title, programming language, and verdict, but each row does not show the problem difficulty. Displaying the saved difficulty beside the title would help candidates distinguish attempts across difficulty levels without changing the existing filter.
Initial analysis
Source inspection at revision 6972a92 shows that saveHistory() in web/interview.js already saves difficulty, and normalizeProgressEntry() in web/progress.js preserves recognized values. However, renderAttemptHistory() in web/app.js does not include difficulty in the row label. This proposal concerns individual attempt labels.
Proposed change and validation
I propose displaying the saved Easy, Medium, or Hard value beside the problem title, with "Difficulty not recorded" for entries whose difficulty is missing or unrecognized. The change would use existing history data without changing storage, filtering, sorting, report contents, or retry behavior.
I will extend tests/browser/lobby.test.js to cover account and device history, including missing and invalid difficulty values, confirm that the regression checks fail before the change, and run ./scripts/test.sh with any skipped checks reported.
I will work on this change and its regression tests. Please assign this issue to me.
- Lingua principale
- Rust
- Stelle
- 177
- Fork
- 100
- Merge medio
- 1g 9h
- PR unite (30g)
- 151
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sysprog21/codetrial
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Allow deselecting a chosen problem card by clicking it againForse già presa @woohsin l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
sysprog21/codetrial#392 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Audio output can be confirmed without playing a test soundForse già presa @ChenYingHan1121 l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
sysprog21/codetrial#359 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add a Copy code button to the final reportForse già presa @yansawu l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
sysprog21/codetrial#318 · 5 commenti · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Outline Snapshot Duplicator question accept a copied random list that loops back into itselfForse già presa @papaya0112 l’ha presa oggi. Aperta
sysprog21/codetrial#417 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sysprog21/codetrial
Issue simili
-
Update webpki-root-certsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
rustls/rustls-platform-verifier#262 · 2 commenti · 2 reazioni ·
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
bherbruck/solvecraft#4493 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
IngvarConsulting/unica#1911 ·
I maintainer di solito rispondono entro 1 giorno
-
priority: low
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
storytold/photocraft#8325 ·
I maintainer di solito rispondono entro 2 giorni