feat: Prev/Next and PrevInSection/NextInSection
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 58/100
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
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.Nextover the site's regular pages,page.PrevInSection/page.NextInSectionwithin
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
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MASS4ORG/Fanstatic
-
c:templates p:low size:S t:task
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
-
c:content good first issue p:low size:S t:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
-
c:templates p:medium size:M t:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
c:content p:medium size:L t:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
c:templates p:medium size:S t:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 57/100
Todos los issues de MASS4ORG/Fanstatic
Issues similares
-
needs-area
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Azure/typespec-azure#5695 ·
Los mantenedores suelen responder en 1 día
-
bug gui macos priority:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenTabletDriver/OpenTabletDriver#5147 ·
Los mantenedores suelen responder en 1 día
-
:watch: Not Triaged async-task-programming/subsvc dotnet-csharp/svc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Python: Bug: AnnotationContent and StreamingAnnotationContent to_element writes CitationType.X, so annotations in a rendered chat history fail to parsePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertopython triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
microsoft/semantic-kernel#14590 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día