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

feat: menus

Abierto
#30 0 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
backend

Línea de trabajo

Start by reading the Phase 2 epic (#23) and the existing Params.MainMenu usage in ../Fanstatic-site/fanstatic.yaml; inspect the site configuration, front matter, and menu-related entry points in Fanstatic.Test/ and .TestSites/. Run ./build.sh test to understand the test setup. Done means config and front matter menus support nested, weight-ordered items, active-item helpers, and per-language menus, with the docs site migrated and documented and the stated coverage thresholds met.

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

Descripción

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

Part of the Phase 2 epic (#23).

Current State

Menus are hand-built from Params (the docs site uses Params.MainMenu in ../Fanstatic-site/fanstatic.yaml).

Tasks:
  • Site config Menus: { main: [{ Name, Url, Weight, Parent, Identifier }] }
  • Front matter Menu: main or Menu: { main: { Weight: 10, Parent: docs } } to add pages
  • site.Menus.main ordered by weight then name, with Children
  • page.IsMenuCurrent / page.HasMenuCurrent helpers (or filters) for active states
  • Multilingual: menus per language
  • Migrate the docs site menu and document it

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:
  • Nested menu from config + front matter renders in weight order with the active item marked.
Related:
  • #23 (Phase 2 epic, parent)
Lenguaje dominante
C#
Estrellas
1
Forks
0
Merge medio
8 h 19 min
PR fusionados (30 d)
5

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.