Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

feat: Prev/Next and PrevInSection/NextInSection

Abierto
#27 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
58/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
backend

Línea de trabajo

Start with the Phase 1 cached sorted views and the page-variable implementation; the issue does not name specific source files. Inspect fixture sites in .TestSites/ and the xUnit tests in Fanstatic.Test/, then run ./build.sh test. Done means neighbours are correct across two sections, respect language and output format, return nil at the ends, and are documented on the page-variables docs.

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

Descripción

c:content p:medium size:S t:feature

Part of the Phase 2 epic (#23).

Current State

No previous/next navigation exists; themes must sort and search collections themselves (expensive, see Phase 1).

Tasks:
  • page.Prev / page.Next over the site's regular pages, page.PrevInSection / page.NextInSection within
    the section, in the same language and output format
  • Order: by date descending then title (Hugo default), reusing the cached sorted views from Phase 1
  • Nil at the ends
  • Document on the page-variables docs

Tests live in Fanstatic.Test/ (xUnit + NSubstitute); fixture sites in .TestSites/. Run ./build.sh test; new/changed methods need CRAP ≤ 15 and ≥ 75 % line coverage.

Acceptance Criteria:
  • Correct neighbours on a fixture site with two sections; nil at the ends.
Related:
  • #23 (Phase 2 epic, parent)
  • Depends on #17
Lenguaje dominante
C#
Estrellas
1
Forks
0
Merge medio
13 h 50 min
PR fusionados (30 d)
3

Preparar el entorno

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 MASS4ORG/Fanstatic

Todos los issues de MASS4ORG/Fanstatic

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.