When creating a new panel, the wizard demand the user to choose a layout. It would be very practacly if the builder layout is selected by default. Also it would be nice, if youre selecting an other layout-group, the first layout of the selected group is checked by default.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Hydra’s picture

Status: Active » Needs review
FileSize
1.22 KB

Patch by dereine and me

merlinofchaos’s picture

Status: Needs review » Needs work

I don't think I like the auto select when changing categories -- that actually changes data without you specifically selecting a layout, and I think that is bad for users. Users will often be looking through categories to find what they want, and if you change data for them, maybe they can't remember what was previously selected and now have no way to return to the previous state.

dawehner’s picture

Status: Needs work » Needs review
FileSize
610 bytes

Let's keep it simple, and just use the first part of the patch.

merlinofchaos’s picture

Hm. What happens if the flexible layout isn't an allowed layout? I think that might actually cause a weird red error. I think we need to make sure that layout is an option before we set it to the default.

merlinofchaos’s picture

Status: Needs review » Needs work
Hydra’s picture

Status: Needs work » Needs review
FileSize
605 bytes

Okay, so what about using the first available layout and set it as default.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed, though I admit I'm not sure defaulting to a layout is really want I want. I've always liked that selecting a layout is a requirement, rather than just skipping though and getting what it gives you. Still, it's not a big deal.

Maksym Kozub’s picture

Would you mind changing the title a bit?
"Select automaticly a default Layout when guiding threw the wizard"
->
"Select automatically a default Layout when guiding through the wizard"
:)

dawehner’s picture

Title: Select automaticly a default Layout when guiding threw the wizard » Select automatically a default Layout when guiding through the wizard

Well you can do that for your own :)

Maksym Kozub’s picture

Oh, I somehow failed to notice that issue title can be edited with any reply :). However, this seems to be an example of drupal.org UX issue here. Look, I clicked "Edit" on top of the issue expecting things like title and description to be accessible there. When I only saw the description but not the title, I posted my comment. I did not even notice the "Issue title" field can be changed with any comment, and I would say it was quite logical: when I saw that it cannot be changed under "Edit", where the issue's general description can, I thought "Maybe just the person who posted this issue can now change its name"...

Status: Fixed » Closed (fixed)

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

  • Commit 81e0900 on 7.x-3.x, 7.x-3.x-i18n, 8.x-3.x authored by Hydra, committed by merlinofchaos:
    Issue #1288636 by Hydra, dawehner: Select automaticly a default Layout...