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.

Issue fork drupal-3457778

Command icon 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

markconroy created an issue. See original summary.

markconroy’s picture

Updating to add credit to Code Enigma.

markconroy’s picture

Status: Active » Needs review

Marking as "Needs review" to let the bots do their dance.

ressa’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, 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

  • nod_ committed 84cebb07 on 10.4.x
    Issue #3457778 by markconroy, ressa: Reorder checkboxes on "Development...

  • nod_ committed 573404dd on 11.0.x
    Issue #3457778 by markconroy, ressa: Reorder checkboxes on "Development...

  • nod_ committed b06bf11b on 11.x
    Issue #3457778 by markconroy, ressa: Reorder checkboxes on "Development...
nod_’s picture

Version: 11.0.x-dev » 10.3.x-dev
Status: Reviewed & tested by the community » Fixed

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!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.