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

Aperta
#3,027 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
MDX
Stelle
145
Fork
326
Merge medio
2g 18h
PR unite (30g)
109

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stellar/stellar-docs

Tutte le issue di stellar/stellar-docs

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.