Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Navigation customization page does not immediately render the default nav items after reset

Aperta Adatta ai principianti
#15,634 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
laravel, php

Direzione di ricerca

Inizia dalla pagina di personalizzazione della navigazione del Control Panel e segui l’azione di ripristino descritta nei passaggi per riprodurre il problema. Confronta l’elenco di navigazione della pagina con la barra laterale dopo il ripristino. L’issue non indica file né test, quindi individua prima la pagina e il gestore del ripristino, poi verifica se ci sono test pertinenti. Il lavoro è terminato quando, dopo il ripristino, l’elenco della pagina mostra subito gli elementi predefiniti e corrisponde alla barra laterale senza ricaricare.

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

Descrizione

preferences
Bug description

In the Control Panel navigation customization page, after you reset navigation customizations, your last customized items are still shown on the page, only the sidebar navigation items are reset. The page shows the default navigation items after you reload or navigate away and return back to the page.

Expected behaviour: After reset, the default nav items shown in the side panel match what is rendered in the navigation page.
Actual behaviour: Navigation page shows your last customized items, while the sidebar shows the default navigation items.

How to reproduce
  1. Go to Settings → Preferences → CP Nav.
  2. Rename a section, e.g. “Content” → “Content 123”.
  3. Reorder an item within a section, e.g. move “Globals” to the top of the Content section.
  4. Click Save.
  5. Open the More actions (⋯) menu next to “Add” and click Reset Nav Customizations.

Compare the navigation items list on the page with the sidebar items list.

https://github.com/user-attachments/assets/3ff396dc-0540-483e-ba0d-581917767a8e

Logs

Environment
Environment
Laravel Version: 12.69.2
PHP Version: 8.3.10
Composer Version: 2.10.2
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
License Key: Not set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.x-dev Solo
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Lingua principale
PHP
Stelle
4.9k
Fork
647
Merge medio
1g 20h
PR unite (30g)
113

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 statamic/cms

Tutte le issue di statamic/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.