Themes: group a long settings list (sub-groups inside a fieldset)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- PHP
- Stars
- 1
- Forks
- 1
- Avg merge
- 1h 40m
- Merged PRs (30d)
- 143
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from temecms/teme
-
area/admin type/enhancement when/soon
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
area/media type/enhancement when/soon
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area/admin type/bug when/soon
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
area/import type/documentation when/soon
Difficulty 2/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area/admin area/import type/bug when/later
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
QuantConnect/Documentation#2940 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
e0ipso/simple_oauth_21#63 ·
Maintainers usually reply within 1 day