Distinguish upcoming peer review from a closed evaluation window (CMP drift)

Abierto
#523 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
django, playwright, python
Área
backend, testing

Línea de trabajo

Read _docs/specs/04-courses-and-cohorts.md, _docs/specs/02-url-link-seo-compatibility.md, and _docs/specs/10-verification-strategy.md, then inspect courses/views/project_eval.py and courses/templates/projects/eval.html. Trace the existing state and cohort date presentation helpers before adjusting the upcoming, open, and completed branches. Done means the focused Django state/auth matrix and applicable Playwright checks pass while preserving the listed access, privacy, and route behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug courses frontend P2

Problem and provenance

The website describes every project outside PEER_REVIEWING as closed; learners see an incorrect closed-window message before review starts. CMP #290, commit 3256766, and #291, commit 89ea396, distinguish upcoming from completed review and show timing to anonymous visitors too. Intake 835873e9-5f63-4e5d-b0f9-0773e1d562b6 authorizes small PRs and candidate-only delivery.

Authority

  • _docs/specs/04-courses-and-cohorts.md: preserved project review behavior, cohort-specific assessment ownership, canonical cohort routes and private review responses.
  • _docs/specs/02-url-link-seo-compatibility.md: canonical course/cohort routes.
  • _docs/specs/10-verification-strategy.md; _docs/ci/change-selective-ci.md.

Scope

Adapt the two CMP changes to courses/views/project_eval.py and the website design-system template courses/templates/projects/eval.html. On /courses/<family>/<identifier>/projects/<project>/eval use an explicit not-open state for CLOSED and COLLECTING_SUBMISSIONS; PEER_REVIEWING remains open, COMPLETED remains closed. Display the available peer-review start/deadline using existing cohort dates and presentation helpers. Keep anonymous sign-in guidance while also showing upcoming timing. Never change grading, assignment, scoring or authorization state.

Acceptance criteria

  • CLOSED and COLLECTING_SUBMISSIONS projects show that peer review has not opened yet, for anonymous visitors and authenticated learners with or without a submission; do not incorrectly say the review form is closed.
  • Available review start/deadline timing is presented with the existing date/time conventions; missing timing renders safe readable copy without broken or invented dates.
  • PEER_REVIEWING preserves required and volunteer review navigation and learner-specific context. COMPLETED preserves closed-window behavior.
  • GET remains read-only; cohort isolation, login destinations and private/no-store response policy remain covered.
  • Focused Django state/auth matrix and applicable Playwright checks pass; independent tester captures and inspects desktop/mobile screenshots for upcoming anonymous and authenticated states and verifies existing open/completed branches.
  • Generate exact base/head verification plan; independent tester and PM acceptance; required checks green on the PR exact head before merge; candidate-only deployment verified at prod.datatalks.club.

Non-goals and boundaries

No new timeline/state machine, emails, schedules, migrations, shared-package changes or rollout to current datatalks.club. CMP is read-only; courses.datatalks.club, join.datatalks.club, signup emails and Slack settings stay unchanged. No real-user emails. No dependency on the other drift ports.

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
37 min
PR fusionados (30 d)
36

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DataTalksClub/website

Todos los issues de DataTalksClub/website

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.