Sidebar groups can't be collapsed without navigating away, and collapse resets on the next click

Abierto
#3,027 3 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo

Línea de trabajo

Start by reading the Tools navigation entries in docs.json and compare groups with landing pages to sub-groups that toggle normally. Reproduce the steps on the Tools section in a desktop browser, then determine whether the navigation declaration or Mintlify behavior controls the collapse state. Done means group headers collapse in place and that state persists while navigating within the section.

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

Descripción

bot:needs-decision

Problem

In the Tools section, clicking a sidebar group header navigates to that group's landing page instead of collapsing it. You can only collapse a group once you're already on its page, and clicking any other group re-expands it. It feels like minimizing one group maximizes another.

Repro

From https://developers.stellar.org/docs/tools on desktop:

  1. Click Cookbook. Navigates to the Cookbook index, stays expanded.
  2. Click Cookbook again. Collapses.
  3. Click Lab. Navigates to the Lab index. Cookbook re-expands.

Chevron and label are the same button, so there's no toggle-only target.

Expected

Any expanded group can be collapsed in place, and that state survives navigation within the section.

Notes

Only groups with their own landing page do this. Sub-groups without one, like "Stellar CLI for Agents", toggle normally. Likely either the way those groups are declared in docs.json or a Mintlify quirk with that pattern.

Possible fixes

  • Make each group's landing page a regular first child so the header becomes a pure toggle.
  • Or raise with Mintlify to split navigate (label) from toggle (chevron) and persist collapse state.

Reproduced 2026-11-03, Chromium, 1512×806.

Lenguaje dominante
MDX
Estrellas
145
Forks
326
Merge medio
2 d 18 h
PR fusionados (30 d)
109

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 stellar/stellar-docs

Todos los issues de stellar/stellar-docs

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.