Versions: read the releases a page at a time

Abierto
#1,007 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, frontend

Línea de trabajo

Start with versionsOperations.readAll and the /versions page that renders its notes, then compare with omegaquoteOperations.readPage and the shared helpers in src/lib/paging. Replace readAll with a paged readPage and render only the requested page's notes. Done when /versions loads further pages on scroll and the footer link /versions#<tag> still resolves to the newest version on the first page.

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

Descripción

versionsOperations.readAll (#1005) reads every version and renders the notes of all of them as markdown on each view of /versions. That is fine with the 12 releases we have now, but it grows with every release.

Turn it into readPage, paged the way the other lists are (src/lib/paging, as omegaquoteOperations.readPage does). Then render only the notes of the page asked for, and let /versions load more as the user scrolls. The link from the footer to /versions#<tag> must still find the current version, which is the newest, so it is on the first page.

Lenguaje dominante
TypeScript
Estrellas
11
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • 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 vevcom/project-next

Todos los issues de vevcom/project-next

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.