[6.x]: New sections are not automatically organized under their corresponding headings
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how newly created sections are added to the section navigation and how the default headings for Channels, Structures, and Singles are represented. Reproduce the issue by creating a Channel section and checking where it appears. Done means it appears under Channels when that heading exists, with a sensible fallback when no matching heading exists.
索引モデルが issue の本文から書いたものです。
説明
What happened?
Description
When creating a new Channel section, it is automatically placed under the Structure heading in the section navigation, even though a Channels heading already exists.
I understand that these headings are customizable, but I haven't created or modified any of the initial headings. They were present by default.
It would be helpful if Craft could determine the appropriate heading based on the section type (Channels, Structures, or Singles) and place the new section accordingly. If a matching heading doesn't exist, it could fall back to a "New" or "Uncategorized" heading to indicate that the section needs to be organized.
Also a consideration for V5.
Steps to reproduce
- Navigate to Settings → Sections.
- Create a new Channel section.
- Return to the section navigation.
- Observe where the new section is listed.
Expected behavior
A newly created Channel section should appear under the Channels heading, assuming that heading exists.
If no corresponding heading exists, the section should be placed under a default heading indicating that it needs to be organized
Actual behavior
The newly created Channel section appears under the Structure heading, rather than Channels.
Craft CMS version
6
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
- 主要言語
- PHP
- スター
- 3.6k
- フォーク
- 800
- 平均マージ
- 15時間 20分
- マージ済み PR(30日)
- 715
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
craftcms/cms のほかの issue
-
bug repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
craftcms/cms#21301 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
craftcms/cms#21306 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[6.x]: Duplicate key in .env crashes the app when config is cached ("Constant … already defined")対応中かも @riasvdv が今日担当しました。 オープン
craftcms/cms#21305 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
craftcms/cms#21303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
craftcms/cms#21298 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpオープンenhancement feature: settings good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nextcloud/integration_openai#480 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
omeka/plugin-Contribution#84 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
recca0120/vscode-phpunit#620 ·
メンテナーはふだん 1 日以内に返信