Themes: group a long settings list (sub-groups inside a fieldset)
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
The issue names the theme settings declaration, the four fieldsets (site, latest, content, archive) and the existing visible_when option, but no source files or tests. Start by finding where theme settings and visible_when are parsed and rendered, then decide the shape of the group key with a maintainer before coding. Done means a grouped setting renders as a titled, collapsible section and a group collapses when its owning switch is off.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A theme's settings are one flat list under four fieldsets (site, latest, content, archive). visible_when can hide a setting until a switch is on, but it cannot group them. A skin that gives every block its own on/off switch ends up with a very long Settings › Design page: one theme port declares 128 settings, 35 of them in site, with nothing to tell the administrator which belong together.
What the theme did meanwhile: prefix every label with its area ("Home: top stories strip", "Share: WhatsApp", "Pattern: show on the rail") so related settings sort together, and use visible_when for sub-options.
Wanted, in order of need:
- Sub-groups inside a fieldset: a
groupkey on a setting (or a heading entry) that the page draws as a titled, collapsible section. - A way to collapse a whole group when the switch that owns it is off, so a switched-off block doesn't leave its sub-options on screen.
Related: #373 (more setting types and more fieldsets), #371 (a skin setting that switches template set and tokens: with several skins the list grows further).
- Ngôn ngữ chính
- PHP
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 giờ 40 phút
- Pull request đã merge (30 ngày)
- 143
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- 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 temecms/teme
-
area/admin type/enhancement when/soon
Độ 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
-
area/media type/enhancement when/soon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/admin type/bug when/soon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/import type/documentation when/soon
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/admin area/import type/bug when/later
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
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 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
P2 Team S Type: Infrastructure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
google/site-kit-wp#14271 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Display price Views field throws TypeError when the row has no productCó thể đã có người làm @albanycomputers đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
backdrop-contrib/ubercart#610 ·