Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン 初心者向け
#15,634 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
laravel, php

調査の方向性

Control Panel のナビゲーションカスタマイズページから始め、再現手順で説明されているリセット操作を追ってください。リセット後に、ページのナビゲーションリストとサイドバーを比較してください。issue にはファイルやテストが記載されていないため、まずページとリセットハンドラーを見つけ、その後、関連するテストがあるか確認してください。リセット後すぐにページのリストにデフォルト項目が表示され、再読み込みなしでサイドバーと一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
PHP
スター
4.9k
フォーク
647
平均マージ
1日 7時間
マージ済み PR(30日)
103

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

statamic/cms のほかの issue

statamic/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。