[6.x]: New sections are not automatically organized under their corresponding headings
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- PHP
- Star
- 3.6k
- Fork
- 800
- Merge trung bình
- 15 giờ 20 phút
- Pull request đã merge (30 ngày)
- 715
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của craftcms/cms
-
bug repo:cms
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
craftcms/cms#21301 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug repo:cms
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
craftcms/cms#21306 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[6.x]: Duplicate key in .env crashes the app when config is cached ("Constant … already defined")Có thể đã có người làm @riasvdv đã nhận hôm nay. Đang mở
craftcms/cms#21305 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug repo:cms
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
craftcms/cms#21303 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug repo:cms
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
craftcms/cms#21298 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
recca0120/vscode-phpunit#620 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Validation rule generation for recursive Data objects is unbounded (O(payload depth))Có thể đã có người làm @irfanm96 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
spatie/laravel-data#1226 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày