Problem/Motivation
The "Development settings" page has 2 checkboxes:
- Twig development mode
- Do not cache markup
However, clicking on the first one - Twig development mode - exposes a subset of checkboxes. This means when you check the first one, then go to check the second, the second one has moved. What I normally do now is click the second one first, then click the first one.
I think it would be better to swap both of these.
Before:

After:

Steps to reproduce
Visit admin/config/development/settings, click on 'Twig development mode', see how 'Do not cache markup' then jumps down the page.
Proposed resolution
Swap the order of both of these items.
Remaining tasks
Create patch
User interface changes
'Do not cache markup' will appear before 'Twig development mode'.
API changes
None
Data model changes
None
Release notes snippet
None
===
Thanks to Code Enigma for sponsoring my time to work on this.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2024-06-28 at 09.59.42.jpg | 233.98 KB | markconroy | |
| Screenshot 2024-06-28 at 10.00.09.jpg | 235.27 KB | markconroy |
Issue fork drupal-3457778
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
markconroy commentedUpdating to add credit to Code Enigma.
Comment #6
markconroy commentedMarking as "Needs review" to let the bots do their dance.
Comment #7
ressaThanks, great little improvement. I also do the "check the bottom checkbox first, then the top"-dance :-)
The order is reversed, and everything works as expected
Comment #12
nod_Committed and pushed b06bf11bfb to 11.x and 573404dd22 to 11.0.x and 84cebb07ea to 10.4.x and 7608e93ebc to 10.3.x. Thanks!