Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#6 | 1288636-7-default-layout.patch | 605 bytes | Hydra |
#3 | 1288636-default-layout-flexible.patch | 610 bytes | dawehner |
#1 | default_layout-1288636-1.patch | 1.22 KB | Hydra |
Comments
Comment #1
Hydra CreditAttribution: Hydra commentedPatch by dereine and me
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedI 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.
Comment #3
dawehnerLet's keep it simple, and just use the first part of the patch.
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedHm. 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.
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedComment #6
Hydra CreditAttribution: Hydra commentedOkay, so what about using the first available layout and set it as default.
Comment #7
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted, 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.
Comment #8
Maksym Kozub CreditAttribution: Maksym Kozub commentedWould 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"
:)
Comment #9
dawehnerWell you can do that for your own :)
Comment #10
Maksym Kozub CreditAttribution: Maksym Kozub commentedOh, 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"...